[ci skip][AUTO]: updating luabinding & jsbinding automatically

This commit is contained in:
CocosRobot 2015-07-25 07:24:55 +00:00
parent a2a32ef58c
commit 2dedba4acf
7 changed files with 1774 additions and 177 deletions

View File

@ -4413,9 +4413,303 @@ ActionTimeline : function (
};
/**
* @class ObjectExtensionData
* @class BoneNode
*/
ccs.ObjectExtensionData = {
ccs.BoneNode = {
/**
* @method getDebugDrawWidth
* @return {float}
*/
getDebugDrawWidth : function (
)
{
return 0;
},
/**
* @method getChildBones
* @return {Array|Array}
*/
getChildBones : function(
)
{
return new Array();
},
/**
* @method getBlendFunc
* @return {cc.BlendFunc}
*/
getBlendFunc : function (
)
{
return cc.BlendFunc;
},
/**
* @method getAllSubBones
* @return {Array}
*/
getAllSubBones : function (
)
{
return new Array();
},
/**
* @method setBlendFunc
* @param {cc.BlendFunc} arg0
*/
setBlendFunc : function (
blendfunc
)
{
},
/**
* @method setDebugDrawEnabled
* @param {bool} arg0
*/
setDebugDrawEnabled : function (
bool
)
{
},
/**
* @method getVisibleSkinsRect
* @return {rect_object}
*/
getVisibleSkinsRect : function (
)
{
return cc.Rect;
},
/**
* @method getAllSubSkins
* @return {Array}
*/
getAllSubSkins : function (
)
{
return new Array();
},
/**
* @method displaySkin
* @param {String|cc.Node} str
* @param {bool|bool} bool
*/
displaySkin : function(
node,
bool
)
{
},
/**
* @method isDebugDrawEnabled
* @return {bool}
*/
isDebugDrawEnabled : function (
)
{
return false;
},
/**
* @method addSkin
* @param {cc.Node|cc.Node} node
* @param {bool|bool} bool
* @param {bool} bool
*/
addSkin : function(
node,
bool,
bool
)
{
},
/**
* @method getRootSkeletonNode
* @return {ccs.timeline::SkeletonNode}
*/
getRootSkeletonNode : function (
)
{
return ccs.timeline::SkeletonNode;
},
/**
* @method setDebugDrawLength
* @param {float} arg0
*/
setDebugDrawLength : function (
float
)
{
},
/**
* @method getSkins
* @return {Array|Array}
*/
getSkins : function(
)
{
return new Array();
},
/**
* @method getVisibleSkins
* @return {Array}
*/
getVisibleSkins : function (
)
{
return new Array();
},
/**
* @method setDebugDrawWidth
* @param {float} arg0
*/
setDebugDrawWidth : function (
float
)
{
},
/**
* @method getDebugDrawLength
* @return {float}
*/
getDebugDrawLength : function (
)
{
return 0;
},
/**
* @method setDebugDrawColor
* @param {color4f_object} arg0
*/
setDebugDrawColor : function (
color4f
)
{
},
/**
* @method getDebugDrawColor
* @return {color4f_object}
*/
getDebugDrawColor : function (
)
{
return cc.Color4F;
},
/**
* @method create
* @param {int} int
* @return {ccs.timeline::BoneNode|ccs.timeline::BoneNode}
*/
create : function(
int
)
{
return ccs.timeline::BoneNode;
},
/**
* @method BoneNode
* @constructor
*/
BoneNode : function (
)
{
},
};
/**
* @class SkeletonNode
*/
ccs.SkeletonNode = {
/**
* @method getBoneNode
* @param {String} arg0
* @return {ccs.timeline::BoneNode}
*/
getBoneNode : function (
str
)
{
return ccs.timeline::BoneNode;
},
/**
* @method changeSkins
* @param {String|map_object} str
*/
changeSkins : function(
map
)
{
},
/**
* @method addSkinGroup
* @param {String} arg0
* @param {map_object} arg1
*/
addSkinGroup : function (
str,
map
)
{
},
/**
* @method getAllSubBonesMap
* @return {map_object}
*/
getAllSubBonesMap : function (
)
{
return map_object;
},
/**
* @method create
* @return {ccs.timeline::SkeletonNode}
*/
create : function (
)
{
return ccs.timeline::SkeletonNode;
},
/**
* @method SkeletonNode
* @constructor
*/
SkeletonNode : function (
)
{
},
};
/**
* @class ComExtensionData
*/
ccs.ComExtensionData = {
/**
* @method setActionTag
@ -4427,26 +4721,6 @@ int
{
},
/**
* @method setCustomProperty
* @param {String} arg0
*/
setCustomProperty : function (
str
)
{
},
/**
* @method init
* @return {bool}
*/
init : function (
)
{
return false;
},
/**
* @method getCustomProperty
* @return {String}
@ -4467,21 +4741,31 @@ getActionTag : function (
return 0;
},
/**
* @method setCustomProperty
* @param {String} arg0
*/
setCustomProperty : function (
str
)
{
},
/**
* @method create
* @return {ccs.ObjectExtensionData}
* @return {ccs.ComExtensionData}
*/
create : function (
)
{
return ccs.ObjectExtensionData;
return ccs.ComExtensionData;
},
/**
* @method ObjectExtensionData
* @method ComExtensionData
* @constructor
*/
ObjectExtensionData : function (
ComExtensionData : function (
)
{
},

File diff suppressed because it is too large Load Diff

View File

@ -740,19 +740,61 @@ bool js_cocos2dx_studio_ActionTimeline_setCurrentFrame(JSContext *cx, uint32_t a
bool js_cocos2dx_studio_ActionTimeline_create(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ActionTimeline_ActionTimeline(JSContext *cx, uint32_t argc, jsval *vp);
extern JSClass *jsb_cocostudio_ObjectExtensionData_class;
extern JSObject *jsb_cocostudio_ObjectExtensionData_prototype;
extern JSClass *jsb_cocostudio_timeline_BoneNode_class;
extern JSObject *jsb_cocostudio_timeline_BoneNode_prototype;
bool js_cocos2dx_studio_ObjectExtensionData_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_studio_ObjectExtensionData_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_studio_ObjectExtensionData(JSContext *cx, JS::HandleObject global);
bool js_cocos2dx_studio_BoneNode_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_studio_BoneNode_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_studio_BoneNode(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx_studio(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_studio_ObjectExtensionData_setActionTag(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ObjectExtensionData_setCustomProperty(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ObjectExtensionData_init(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ObjectExtensionData_getCustomProperty(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ObjectExtensionData_getActionTag(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ObjectExtensionData_create(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ObjectExtensionData_ObjectExtensionData(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getDebugDrawWidth(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getChildBones(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getBlendFunc(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getAllSubBones(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_setBlendFunc(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_setDebugDrawEnabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getVisibleSkinsRect(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getAllSubSkins(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_displaySkin(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_isDebugDrawEnabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_addSkin(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getRootSkeletonNode(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_setDebugDrawLength(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getSkins(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getVisibleSkins(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_setDebugDrawWidth(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getDebugDrawLength(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_setDebugDrawColor(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_getDebugDrawColor(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_create(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_BoneNode_BoneNode(JSContext *cx, uint32_t argc, jsval *vp);
extern JSClass *jsb_cocostudio_timeline_SkeletonNode_class;
extern JSObject *jsb_cocostudio_timeline_SkeletonNode_prototype;
bool js_cocos2dx_studio_SkeletonNode_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_studio_SkeletonNode_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_studio_SkeletonNode(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx_studio(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_studio_SkeletonNode_getBoneNode(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_SkeletonNode_changeSkins(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_SkeletonNode_addSkinGroup(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_SkeletonNode_getAllSubBonesMap(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_SkeletonNode_create(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_SkeletonNode_SkeletonNode(JSContext *cx, uint32_t argc, jsval *vp);
extern JSClass *jsb_cocostudio_ComExtensionData_class;
extern JSObject *jsb_cocostudio_ComExtensionData_prototype;
bool js_cocos2dx_studio_ComExtensionData_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_studio_ComExtensionData_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_studio_ComExtensionData(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx_studio(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_studio_ComExtensionData_setActionTag(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ComExtensionData_getCustomProperty(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ComExtensionData_getActionTag(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ComExtensionData_setCustomProperty(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ComExtensionData_create(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_studio_ComExtensionData_ComExtensionData(JSContext *cx, uint32_t argc, jsval *vp);
#endif // __cocos2dx_studio_h__

View File

@ -0,0 +1,71 @@
--------------------------------
-- @module ComExtensionData
-- @extend Component
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ComExtensionData] setActionTag
-- @param self
-- @param #int actionTag
-- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData)
--------------------------------
--
-- @function [parent=#ComExtensionData] getCustomProperty
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ComExtensionData] getActionTag
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#ComExtensionData] setCustomProperty
-- @param self
-- @param #string customProperty
-- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData)
--------------------------------
--
-- @function [parent=#ComExtensionData] create
-- @param self
-- @return ComExtensionData#ComExtensionData ret (return value: ccs.ComExtensionData)
--------------------------------
--
-- @function [parent=#ComExtensionData] createInstance
-- @param self
-- @return Ref#Ref ret (return value: cc.Ref)
--------------------------------
--
-- @function [parent=#ComExtensionData] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#ComExtensionData] onRemove
-- @param self
-- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData)
--------------------------------
-- js NA<br>
-- lua NA
-- @function [parent=#ComExtensionData] onAdd
-- @param self
-- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData)
--------------------------------
--
-- @function [parent=#ComExtensionData] ComExtensionData
-- @param self
-- @return ComExtensionData#ComExtensionData self (return value: ccs.ComExtensionData)
return nil

View File

@ -276,4 +276,9 @@
-- @field [parent=#ccs] ActionTimelineNode#ActionTimelineNode ActionTimelineNode preloaded module
--------------------------------------------------------
-- the ccs ComExtensionData
-- @field [parent=#ccs] ComExtensionData#ComExtensionData ComExtensionData preloaded module
return nil

View File

@ -1,5 +1,6 @@
#include "lua_cocos2dx_studio_auto.hpp"
#include "CocoStudio.h"
#include "CCComExtensionData.h"
#include "lua-cocos-studio-conversions.h"
#include "tolua_fix.h"
#include "LuaBasicConversions.h"
@ -22699,6 +22700,331 @@ int lua_register_cocos2dx_studio_ActionTimelineNode(lua_State* tolua_S)
g_typeCast["ActionTimelineNode"] = "ccs.ActionTimelineNode";
return 1;
}
int lua_cocos2dx_studio_ComExtensionData_setActionTag(lua_State* tolua_S)
{
int argc = 0;
cocostudio::ComExtensionData* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"ccs.ComExtensionData",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocostudio::ComExtensionData*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_studio_ComExtensionData_setActionTag'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
int arg0;
ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ComExtensionData:setActionTag");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_studio_ComExtensionData_setActionTag'", nullptr);
return 0;
}
cobj->setActionTag(arg0);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComExtensionData:setActionTag",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_studio_ComExtensionData_setActionTag'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_studio_ComExtensionData_getCustomProperty(lua_State* tolua_S)
{
int argc = 0;
cocostudio::ComExtensionData* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"ccs.ComExtensionData",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocostudio::ComExtensionData*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_studio_ComExtensionData_getCustomProperty'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_studio_ComExtensionData_getCustomProperty'", nullptr);
return 0;
}
std::string ret = cobj->getCustomProperty();
tolua_pushcppstring(tolua_S,ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComExtensionData:getCustomProperty",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_studio_ComExtensionData_getCustomProperty'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_studio_ComExtensionData_getActionTag(lua_State* tolua_S)
{
int argc = 0;
cocostudio::ComExtensionData* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"ccs.ComExtensionData",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocostudio::ComExtensionData*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_studio_ComExtensionData_getActionTag'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_studio_ComExtensionData_getActionTag'", nullptr);
return 0;
}
const int ret = cobj->getActionTag();
tolua_pushnumber(tolua_S,(lua_Number)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComExtensionData:getActionTag",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_studio_ComExtensionData_getActionTag'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_studio_ComExtensionData_setCustomProperty(lua_State* tolua_S)
{
int argc = 0;
cocostudio::ComExtensionData* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"ccs.ComExtensionData",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocostudio::ComExtensionData*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_studio_ComExtensionData_setCustomProperty'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
std::string arg0;
ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComExtensionData:setCustomProperty");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_studio_ComExtensionData_setCustomProperty'", nullptr);
return 0;
}
cobj->setCustomProperty(arg0);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComExtensionData:setCustomProperty",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_studio_ComExtensionData_setCustomProperty'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_studio_ComExtensionData_create(lua_State* tolua_S)
{
int argc = 0;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertable(tolua_S,1,"ccs.ComExtensionData",0,&tolua_err)) goto tolua_lerror;
#endif
argc = lua_gettop(tolua_S) - 1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_studio_ComExtensionData_create'", nullptr);
return 0;
}
cocostudio::ComExtensionData* ret = cocostudio::ComExtensionData::create();
object_to_luaval<cocostudio::ComExtensionData>(tolua_S, "ccs.ComExtensionData",(cocostudio::ComExtensionData*)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ComExtensionData:create",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_studio_ComExtensionData_create'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_studio_ComExtensionData_createInstance(lua_State* tolua_S)
{
int argc = 0;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertable(tolua_S,1,"ccs.ComExtensionData",0,&tolua_err)) goto tolua_lerror;
#endif
argc = lua_gettop(tolua_S) - 1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_studio_ComExtensionData_createInstance'", nullptr);
return 0;
}
cocos2d::Ref* ret = cocostudio::ComExtensionData::createInstance();
object_to_luaval<cocos2d::Ref>(tolua_S, "cc.Ref",(cocos2d::Ref*)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ComExtensionData:createInstance",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_studio_ComExtensionData_createInstance'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_studio_ComExtensionData_constructor(lua_State* tolua_S)
{
int argc = 0;
cocostudio::ComExtensionData* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_studio_ComExtensionData_constructor'", nullptr);
return 0;
}
cobj = new cocostudio::ComExtensionData();
cobj->autorelease();
int ID = (int)cobj->_ID ;
int* luaID = &cobj->_luaID ;
toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ComExtensionData");
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComExtensionData:ComExtensionData",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_studio_ComExtensionData_constructor'.",&tolua_err);
#endif
return 0;
}
static int lua_cocos2dx_studio_ComExtensionData_finalize(lua_State* tolua_S)
{
printf("luabindings: finalizing LUA object (ComExtensionData)");
return 0;
}
int lua_register_cocos2dx_studio_ComExtensionData(lua_State* tolua_S)
{
tolua_usertype(tolua_S,"ccs.ComExtensionData");
tolua_cclass(tolua_S,"ComExtensionData","ccs.ComExtensionData","cc.Component",nullptr);
tolua_beginmodule(tolua_S,"ComExtensionData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_ComExtensionData_constructor);
tolua_function(tolua_S,"setActionTag",lua_cocos2dx_studio_ComExtensionData_setActionTag);
tolua_function(tolua_S,"getCustomProperty",lua_cocos2dx_studio_ComExtensionData_getCustomProperty);
tolua_function(tolua_S,"getActionTag",lua_cocos2dx_studio_ComExtensionData_getActionTag);
tolua_function(tolua_S,"setCustomProperty",lua_cocos2dx_studio_ComExtensionData_setCustomProperty);
tolua_function(tolua_S,"create", lua_cocos2dx_studio_ComExtensionData_create);
tolua_function(tolua_S,"createInstance", lua_cocos2dx_studio_ComExtensionData_createInstance);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocostudio::ComExtensionData).name();
g_luaType[typeName] = "ccs.ComExtensionData";
g_typeCast["ComExtensionData"] = "ccs.ComExtensionData";
return 1;
}
TOLUA_API int register_all_cocos2dx_studio(lua_State* tolua_S)
{
tolua_open(tolua_S);
@ -22756,6 +23082,7 @@ TOLUA_API int register_all_cocos2dx_studio(lua_State* tolua_S)
lua_register_cocos2dx_studio_SceneReader(tolua_S);
lua_register_cocos2dx_studio_ActionTimelineCache(tolua_S);
lua_register_cocos2dx_studio_AlphaFrame(tolua_S);
lua_register_cocos2dx_studio_ComExtensionData(tolua_S);
lua_register_cocos2dx_studio_AnimationData(tolua_S);
lua_register_cocos2dx_studio_AnchorPointFrame(tolua_S);
lua_register_cocos2dx_studio_ActionScaleFrame(tolua_S);

View File

@ -508,6 +508,14 @@ int register_all_cocos2dx_studio(lua_State* tolua_S);