Merge pull request #7207 from CocosRobot/update_lua_bindings_1403687738

[AUTO]: updating luabinding automatically
This commit is contained in:
minggo 2014-06-25 17:19:02 +08:00
commit 4253babe0a
13 changed files with 823 additions and 332 deletions

View File

@ -6,6 +6,11 @@
-- @function [parent=#Director] pause -- @function [parent=#Director] pause
-- @param self -- @param self
--------------------------------
-- @function [parent=#Director] setEventDispatcher
-- @param self
-- @param #cc.EventDispatcher eventdispatcher
-------------------------------- --------------------------------
-- @function [parent=#Director] pushScene -- @function [parent=#Director] pushScene
-- @param self -- @param self
@ -277,6 +282,11 @@
-- @param self -- @param self
-- @param #bool bool -- @param #bool bool
--------------------------------
-- @function [parent=#Director] getEventDispatcher
-- @param self
-- @return EventDispatcher#EventDispatcher ret (return value: cc.EventDispatcher)
-------------------------------- --------------------------------
-- @function [parent=#Director] replaceScene -- @function [parent=#Director] replaceScene
-- @param self -- @param self

View File

@ -0,0 +1,20 @@
--------------------------------
-- @module HBox
-- @extend Layout
--------------------------------
-- overload function: create(size_table)
--
-- overload function: create()
--
-- @function [parent=#HBox] create
-- @param self
-- @param #size_table size
-- @return HBox#HBox ret (retunr value: ccui.HBox)
--------------------------------
-- @function [parent=#HBox] HBox
-- @param self
return nil

View File

@ -0,0 +1,20 @@
--------------------------------
-- @module RelativeBox
-- @extend Layout
--------------------------------
-- overload function: create(size_table)
--
-- overload function: create()
--
-- @function [parent=#RelativeBox] create
-- @param self
-- @param #size_table size
-- @return RelativeBox#RelativeBox ret (retunr value: ccui.RelativeBox)
--------------------------------
-- @function [parent=#RelativeBox] RelativeBox
-- @param self
return nil

View File

@ -0,0 +1,20 @@
--------------------------------
-- @module VBox
-- @extend Layout
--------------------------------
-- overload function: create(size_table)
--
-- overload function: create()
--
-- @function [parent=#VBox] create
-- @param self
-- @param #size_table size
-- @return VBox#VBox ret (retunr value: ccui.VBox)
--------------------------------
-- @function [parent=#VBox] VBox
-- @param self
return nil

View File

@ -116,4 +116,19 @@
-- @field [parent=#ccui] RichText#RichText RichText preloaded module -- @field [parent=#ccui] RichText#RichText RichText preloaded module
--------------------------------------------------------
-- the ccui HBox
-- @field [parent=#ccui] HBox#HBox HBox preloaded module
--------------------------------------------------------
-- the ccui VBox
-- @field [parent=#ccui] VBox#VBox VBox preloaded module
--------------------------------------------------------
-- the ccui RelativeBox
-- @field [parent=#ccui] RelativeBox#RelativeBox RelativeBox preloaded module
return nil return nil

File diff suppressed because it is too large Load Diff

View File

@ -1559,6 +1559,8 @@ int register_all_cocos2dx(lua_State* tolua_S);

View File

@ -1312,7 +1312,7 @@ static int lua_cocos2dx_extension_Scale9Sprite_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_Scale9Sprite(lua_State* tolua_S) int lua_register_cocos2dx_extension_Scale9Sprite(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.Scale9Sprite"); tolua_usertype(tolua_S,"cc.Scale9Sprite");
tolua_cclass(tolua_S,"Scale9Sprite","cc.Scale9Sprite","cc.Node",nullptr); tolua_cclass(tolua_S,"Scale9Sprite","cc.Scale9Sprite","cc.Node",nullptr);
tolua_beginmodule(tolua_S,"Scale9Sprite"); tolua_beginmodule(tolua_S,"Scale9Sprite");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_Scale9Sprite_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_Scale9Sprite_constructor);
@ -2125,7 +2125,7 @@ static int lua_cocos2dx_extension_Control_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_Control(lua_State* tolua_S) int lua_register_cocos2dx_extension_Control(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.Control"); tolua_usertype(tolua_S,"cc.Control");
tolua_cclass(tolua_S,"Control","cc.Control","cc.Layer",nullptr); tolua_cclass(tolua_S,"Control","cc.Control","cc.Layer",nullptr);
tolua_beginmodule(tolua_S,"Control"); tolua_beginmodule(tolua_S,"Control");
tolua_function(tolua_S,"setEnabled",lua_cocos2dx_extension_Control_setEnabled); tolua_function(tolua_S,"setEnabled",lua_cocos2dx_extension_Control_setEnabled);
@ -4045,7 +4045,7 @@ static int lua_cocos2dx_extension_ControlButton_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_ControlButton(lua_State* tolua_S) int lua_register_cocos2dx_extension_ControlButton(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.ControlButton"); tolua_usertype(tolua_S,"cc.ControlButton");
tolua_cclass(tolua_S,"ControlButton","cc.ControlButton","cc.Control",nullptr); tolua_cclass(tolua_S,"ControlButton","cc.ControlButton","cc.Control",nullptr);
tolua_beginmodule(tolua_S,"ControlButton"); tolua_beginmodule(tolua_S,"ControlButton");
tolua_function(tolua_S,"isPushed",lua_cocos2dx_extension_ControlButton_isPushed); tolua_function(tolua_S,"isPushed",lua_cocos2dx_extension_ControlButton_isPushed);
@ -4673,7 +4673,7 @@ static int lua_cocos2dx_extension_ControlHuePicker_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_ControlHuePicker(lua_State* tolua_S) int lua_register_cocos2dx_extension_ControlHuePicker(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.ControlHuePicker"); tolua_usertype(tolua_S,"cc.ControlHuePicker");
tolua_cclass(tolua_S,"ControlHuePicker","cc.ControlHuePicker","cc.Control",nullptr); tolua_cclass(tolua_S,"ControlHuePicker","cc.ControlHuePicker","cc.Control",nullptr);
tolua_beginmodule(tolua_S,"ControlHuePicker"); tolua_beginmodule(tolua_S,"ControlHuePicker");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlHuePicker_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlHuePicker_constructor);
@ -5178,7 +5178,7 @@ static int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_finalize(lua
int lua_register_cocos2dx_extension_ControlSaturationBrightnessPicker(lua_State* tolua_S) int lua_register_cocos2dx_extension_ControlSaturationBrightnessPicker(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.ControlSaturationBrightnessPicker"); tolua_usertype(tolua_S,"cc.ControlSaturationBrightnessPicker");
tolua_cclass(tolua_S,"ControlSaturationBrightnessPicker","cc.ControlSaturationBrightnessPicker","cc.Control",nullptr); tolua_cclass(tolua_S,"ControlSaturationBrightnessPicker","cc.ControlSaturationBrightnessPicker","cc.Control",nullptr);
tolua_beginmodule(tolua_S,"ControlSaturationBrightnessPicker"); tolua_beginmodule(tolua_S,"ControlSaturationBrightnessPicker");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlSaturationBrightnessPicker_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlSaturationBrightnessPicker_constructor);
@ -5777,7 +5777,7 @@ static int lua_cocos2dx_extension_ControlColourPicker_finalize(lua_State* tolua_
int lua_register_cocos2dx_extension_ControlColourPicker(lua_State* tolua_S) int lua_register_cocos2dx_extension_ControlColourPicker(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.ControlColourPicker"); tolua_usertype(tolua_S,"cc.ControlColourPicker");
tolua_cclass(tolua_S,"ControlColourPicker","cc.ControlColourPicker","cc.Control",nullptr); tolua_cclass(tolua_S,"ControlColourPicker","cc.ControlColourPicker","cc.Control",nullptr);
tolua_beginmodule(tolua_S,"ControlColourPicker"); tolua_beginmodule(tolua_S,"ControlColourPicker");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlColourPicker_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlColourPicker_constructor);
@ -6717,7 +6717,7 @@ static int lua_cocos2dx_extension_ControlPotentiometer_finalize(lua_State* tolua
int lua_register_cocos2dx_extension_ControlPotentiometer(lua_State* tolua_S) int lua_register_cocos2dx_extension_ControlPotentiometer(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.ControlPotentiometer"); tolua_usertype(tolua_S,"cc.ControlPotentiometer");
tolua_cclass(tolua_S,"ControlPotentiometer","cc.ControlPotentiometer","cc.Control",nullptr); tolua_cclass(tolua_S,"ControlPotentiometer","cc.ControlPotentiometer","cc.Control",nullptr);
tolua_beginmodule(tolua_S,"ControlPotentiometer"); tolua_beginmodule(tolua_S,"ControlPotentiometer");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlPotentiometer_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlPotentiometer_constructor);
@ -7962,7 +7962,7 @@ static int lua_cocos2dx_extension_ControlSlider_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_ControlSlider(lua_State* tolua_S) int lua_register_cocos2dx_extension_ControlSlider(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.ControlSlider"); tolua_usertype(tolua_S,"cc.ControlSlider");
tolua_cclass(tolua_S,"ControlSlider","cc.ControlSlider","cc.Control",nullptr); tolua_cclass(tolua_S,"ControlSlider","cc.ControlSlider","cc.Control",nullptr);
tolua_beginmodule(tolua_S,"ControlSlider"); tolua_beginmodule(tolua_S,"ControlSlider");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlSlider_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlSlider_constructor);
@ -9030,7 +9030,7 @@ static int lua_cocos2dx_extension_ControlStepper_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_ControlStepper(lua_State* tolua_S) int lua_register_cocos2dx_extension_ControlStepper(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.ControlStepper"); tolua_usertype(tolua_S,"cc.ControlStepper");
tolua_cclass(tolua_S,"ControlStepper","cc.ControlStepper","cc.Control",nullptr); tolua_cclass(tolua_S,"ControlStepper","cc.ControlStepper","cc.Control",nullptr);
tolua_beginmodule(tolua_S,"ControlStepper"); tolua_beginmodule(tolua_S,"ControlStepper");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlStepper_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlStepper_constructor);
@ -9503,7 +9503,7 @@ static int lua_cocos2dx_extension_ControlSwitch_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_ControlSwitch(lua_State* tolua_S) int lua_register_cocos2dx_extension_ControlSwitch(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.ControlSwitch"); tolua_usertype(tolua_S,"cc.ControlSwitch");
tolua_cclass(tolua_S,"ControlSwitch","cc.ControlSwitch","cc.Control",nullptr); tolua_cclass(tolua_S,"ControlSwitch","cc.ControlSwitch","cc.Control",nullptr);
tolua_beginmodule(tolua_S,"ControlSwitch"); tolua_beginmodule(tolua_S,"ControlSwitch");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlSwitch_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_ControlSwitch_constructor);
@ -11176,7 +11176,7 @@ static int lua_cocos2dx_extension_ScrollView_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_ScrollView(lua_State* tolua_S) int lua_register_cocos2dx_extension_ScrollView(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.ScrollView"); tolua_usertype(tolua_S,"cc.ScrollView");
tolua_cclass(tolua_S,"ScrollView","cc.ScrollView","cc.Layer",nullptr); tolua_cclass(tolua_S,"ScrollView","cc.ScrollView","cc.Layer",nullptr);
tolua_beginmodule(tolua_S,"ScrollView"); tolua_beginmodule(tolua_S,"ScrollView");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_ScrollView_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_ScrollView_constructor);
@ -11428,7 +11428,7 @@ static int lua_cocos2dx_extension_TableViewCell_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_TableViewCell(lua_State* tolua_S) int lua_register_cocos2dx_extension_TableViewCell(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.TableViewCell"); tolua_usertype(tolua_S,"cc.TableViewCell");
tolua_cclass(tolua_S,"TableViewCell","cc.TableViewCell","cc.Node",nullptr); tolua_cclass(tolua_S,"TableViewCell","cc.TableViewCell","cc.Node",nullptr);
tolua_beginmodule(tolua_S,"TableViewCell"); tolua_beginmodule(tolua_S,"TableViewCell");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_TableViewCell_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_TableViewCell_constructor);
@ -12044,7 +12044,7 @@ static int lua_cocos2dx_extension_TableView_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_TableView(lua_State* tolua_S) int lua_register_cocos2dx_extension_TableView(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.TableView"); tolua_usertype(tolua_S,"cc.TableView");
tolua_cclass(tolua_S,"TableView","cc.TableView","cc.ScrollView",nullptr); tolua_cclass(tolua_S,"TableView","cc.TableView","cc.ScrollView",nullptr);
tolua_beginmodule(tolua_S,"TableView"); tolua_beginmodule(tolua_S,"TableView");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_TableView_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_TableView_constructor);
@ -13007,7 +13007,7 @@ static int lua_cocos2dx_extension_EditBox_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_EditBox(lua_State* tolua_S) int lua_register_cocos2dx_extension_EditBox(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.EditBox"); tolua_usertype(tolua_S,"cc.EditBox");
tolua_cclass(tolua_S,"EditBox","cc.EditBox","cc.ControlButton",nullptr); tolua_cclass(tolua_S,"EditBox","cc.EditBox","cc.ControlButton",nullptr);
tolua_beginmodule(tolua_S,"EditBox"); tolua_beginmodule(tolua_S,"EditBox");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_EditBox_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_EditBox_constructor);
@ -13720,7 +13720,7 @@ static int lua_cocos2dx_extension_AssetsManager_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_AssetsManager(lua_State* tolua_S) int lua_register_cocos2dx_extension_AssetsManager(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.AssetsManager"); tolua_usertype(tolua_S,"cc.AssetsManager");
tolua_cclass(tolua_S,"AssetsManager","cc.AssetsManager","cc.Node",nullptr); tolua_cclass(tolua_S,"AssetsManager","cc.AssetsManager","cc.Node",nullptr);
tolua_beginmodule(tolua_S,"AssetsManager"); tolua_beginmodule(tolua_S,"AssetsManager");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_AssetsManager_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_AssetsManager_constructor);
@ -15438,7 +15438,7 @@ static int lua_cocos2dx_extension_CCBAnimationManager_finalize(lua_State* tolua_
int lua_register_cocos2dx_extension_CCBAnimationManager(lua_State* tolua_S) int lua_register_cocos2dx_extension_CCBAnimationManager(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.CCBAnimationManager"); tolua_usertype(tolua_S,"cc.CCBAnimationManager");
tolua_cclass(tolua_S,"CCBAnimationManager","cc.CCBAnimationManager","cc.Ref",nullptr); tolua_cclass(tolua_S,"CCBAnimationManager","cc.CCBAnimationManager","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"CCBAnimationManager"); tolua_beginmodule(tolua_S,"CCBAnimationManager");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_CCBAnimationManager_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_CCBAnimationManager_constructor);
@ -16466,7 +16466,7 @@ static int lua_cocos2dx_extension_CCBReader_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_extension_CCBReader(lua_State* tolua_S) int lua_register_cocos2dx_extension_CCBReader(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.CCBReader"); tolua_usertype(tolua_S,"cc.CCBReader");
tolua_cclass(tolua_S,"CCBReader","cc.CCBReader","cc.Ref",nullptr); tolua_cclass(tolua_S,"CCBReader","cc.CCBReader","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"CCBReader"); tolua_beginmodule(tolua_S,"CCBReader");
tolua_function(tolua_S,"new",lua_cocos2dx_extension_CCBReader_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_extension_CCBReader_constructor);

View File

@ -2169,7 +2169,7 @@ static int lua_cocos2dx_physics_PhysicsShape_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsShape(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsShape(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsShape"); tolua_usertype(tolua_S,"cc.PhysicsShape");
tolua_cclass(tolua_S,"PhysicsShape","cc.PhysicsShape","cc.Ref",nullptr); tolua_cclass(tolua_S,"PhysicsShape","cc.PhysicsShape","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"PhysicsShape"); tolua_beginmodule(tolua_S,"PhysicsShape");
tolua_function(tolua_S,"getFriction",lua_cocos2dx_physics_PhysicsShape_getFriction); tolua_function(tolua_S,"getFriction",lua_cocos2dx_physics_PhysicsShape_getFriction);
@ -2402,7 +2402,7 @@ static int lua_cocos2dx_physics_PhysicsShapeCircle_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsShapeCircle(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsShapeCircle(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsShapeCircle"); tolua_usertype(tolua_S,"cc.PhysicsShapeCircle");
tolua_cclass(tolua_S,"PhysicsShapeCircle","cc.PhysicsShapeCircle","cc.PhysicsShape",nullptr); tolua_cclass(tolua_S,"PhysicsShapeCircle","cc.PhysicsShapeCircle","cc.PhysicsShape",nullptr);
tolua_beginmodule(tolua_S,"PhysicsShapeCircle"); tolua_beginmodule(tolua_S,"PhysicsShapeCircle");
tolua_function(tolua_S,"getRadius",lua_cocos2dx_physics_PhysicsShapeCircle_getRadius); tolua_function(tolua_S,"getRadius",lua_cocos2dx_physics_PhysicsShapeCircle_getRadius);
@ -2654,7 +2654,7 @@ static int lua_cocos2dx_physics_PhysicsShapeBox_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsShapeBox(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsShapeBox(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsShapeBox"); tolua_usertype(tolua_S,"cc.PhysicsShapeBox");
tolua_cclass(tolua_S,"PhysicsShapeBox","cc.PhysicsShapeBox","cc.PhysicsShape",nullptr); tolua_cclass(tolua_S,"PhysicsShapeBox","cc.PhysicsShapeBox","cc.PhysicsShape",nullptr);
tolua_beginmodule(tolua_S,"PhysicsShapeBox"); tolua_beginmodule(tolua_S,"PhysicsShapeBox");
tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapeBox_getPointsCount); tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapeBox_getPointsCount);
@ -2769,7 +2769,7 @@ static int lua_cocos2dx_physics_PhysicsShapePolygon_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsShapePolygon(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsShapePolygon(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsShapePolygon"); tolua_usertype(tolua_S,"cc.PhysicsShapePolygon");
tolua_cclass(tolua_S,"PhysicsShapePolygon","cc.PhysicsShapePolygon","cc.PhysicsShape",nullptr); tolua_cclass(tolua_S,"PhysicsShapePolygon","cc.PhysicsShapePolygon","cc.PhysicsShape",nullptr);
tolua_beginmodule(tolua_S,"PhysicsShapePolygon"); tolua_beginmodule(tolua_S,"PhysicsShapePolygon");
tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapePolygon_getPointsCount); tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapePolygon_getPointsCount);
@ -2943,7 +2943,7 @@ static int lua_cocos2dx_physics_PhysicsShapeEdgeSegment_finalize(lua_State* tolu
int lua_register_cocos2dx_physics_PhysicsShapeEdgeSegment(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsShapeEdgeSegment(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeSegment"); tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeSegment");
tolua_cclass(tolua_S,"PhysicsShapeEdgeSegment","cc.PhysicsShapeEdgeSegment","cc.PhysicsShape",nullptr); tolua_cclass(tolua_S,"PhysicsShapeEdgeSegment","cc.PhysicsShapeEdgeSegment","cc.PhysicsShape",nullptr);
tolua_beginmodule(tolua_S,"PhysicsShapeEdgeSegment"); tolua_beginmodule(tolua_S,"PhysicsShapeEdgeSegment");
tolua_function(tolua_S,"getPointB",lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointB); tolua_function(tolua_S,"getPointB",lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointB);
@ -3084,7 +3084,7 @@ static int lua_cocos2dx_physics_PhysicsShapeEdgeBox_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsShapeEdgeBox(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsShapeEdgeBox(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeBox"); tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeBox");
tolua_cclass(tolua_S,"PhysicsShapeEdgeBox","cc.PhysicsShapeEdgeBox","cc.PhysicsShape",nullptr); tolua_cclass(tolua_S,"PhysicsShapeEdgeBox","cc.PhysicsShapeEdgeBox","cc.PhysicsShape",nullptr);
tolua_beginmodule(tolua_S,"PhysicsShapeEdgeBox"); tolua_beginmodule(tolua_S,"PhysicsShapeEdgeBox");
tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapeEdgeBox_getPointsCount); tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapeEdgeBox_getPointsCount);
@ -3149,7 +3149,7 @@ static int lua_cocos2dx_physics_PhysicsShapeEdgePolygon_finalize(lua_State* tolu
int lua_register_cocos2dx_physics_PhysicsShapeEdgePolygon(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsShapeEdgePolygon(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsShapeEdgePolygon"); tolua_usertype(tolua_S,"cc.PhysicsShapeEdgePolygon");
tolua_cclass(tolua_S,"PhysicsShapeEdgePolygon","cc.PhysicsShapeEdgePolygon","cc.PhysicsShape",nullptr); tolua_cclass(tolua_S,"PhysicsShapeEdgePolygon","cc.PhysicsShapeEdgePolygon","cc.PhysicsShape",nullptr);
tolua_beginmodule(tolua_S,"PhysicsShapeEdgePolygon"); tolua_beginmodule(tolua_S,"PhysicsShapeEdgePolygon");
tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapeEdgePolygon_getPointsCount); tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapeEdgePolygon_getPointsCount);
@ -3213,7 +3213,7 @@ static int lua_cocos2dx_physics_PhysicsShapeEdgeChain_finalize(lua_State* tolua_
int lua_register_cocos2dx_physics_PhysicsShapeEdgeChain(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsShapeEdgeChain(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeChain"); tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeChain");
tolua_cclass(tolua_S,"PhysicsShapeEdgeChain","cc.PhysicsShapeEdgeChain","cc.PhysicsShape",nullptr); tolua_cclass(tolua_S,"PhysicsShapeEdgeChain","cc.PhysicsShapeEdgeChain","cc.PhysicsShape",nullptr);
tolua_beginmodule(tolua_S,"PhysicsShapeEdgeChain"); tolua_beginmodule(tolua_S,"PhysicsShapeEdgeChain");
tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapeEdgeChain_getPointsCount); tolua_function(tolua_S,"getPointsCount",lua_cocos2dx_physics_PhysicsShapeEdgeChain_getPointsCount);
@ -6386,7 +6386,7 @@ static int lua_cocos2dx_physics_PhysicsBody_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsBody(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsBody(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsBody"); tolua_usertype(tolua_S,"cc.PhysicsBody");
tolua_cclass(tolua_S,"PhysicsBody","cc.PhysicsBody","cc.Ref",nullptr); tolua_cclass(tolua_S,"PhysicsBody","cc.PhysicsBody","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"PhysicsBody"); tolua_beginmodule(tolua_S,"PhysicsBody");
tolua_function(tolua_S,"isGravityEnabled",lua_cocos2dx_physics_PhysicsBody_isGravityEnabled); tolua_function(tolua_S,"isGravityEnabled",lua_cocos2dx_physics_PhysicsBody_isGravityEnabled);
@ -6691,7 +6691,7 @@ static int lua_cocos2dx_physics_PhysicsContact_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsContact(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsContact(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsContact"); tolua_usertype(tolua_S,"cc.PhysicsContact");
tolua_cclass(tolua_S,"PhysicsContact","cc.PhysicsContact","cc.EventCustom",nullptr); tolua_cclass(tolua_S,"PhysicsContact","cc.PhysicsContact","cc.EventCustom",nullptr);
tolua_beginmodule(tolua_S,"PhysicsContact"); tolua_beginmodule(tolua_S,"PhysicsContact");
tolua_function(tolua_S,"getContactData",lua_cocos2dx_physics_PhysicsContact_getContactData); tolua_function(tolua_S,"getContactData",lua_cocos2dx_physics_PhysicsContact_getContactData);
@ -7239,7 +7239,7 @@ static int lua_cocos2dx_physics_EventListenerPhysicsContact_finalize(lua_State*
int lua_register_cocos2dx_physics_EventListenerPhysicsContact(lua_State* tolua_S) int lua_register_cocos2dx_physics_EventListenerPhysicsContact(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.EventListenerPhysicsContact"); tolua_usertype(tolua_S,"cc.EventListenerPhysicsContact");
tolua_cclass(tolua_S,"EventListenerPhysicsContact","cc.EventListenerPhysicsContact","cc.EventListenerCustom",nullptr); tolua_cclass(tolua_S,"EventListenerPhysicsContact","cc.EventListenerPhysicsContact","cc.EventListenerCustom",nullptr);
tolua_beginmodule(tolua_S,"EventListenerPhysicsContact"); tolua_beginmodule(tolua_S,"EventListenerPhysicsContact");
tolua_function(tolua_S,"create", lua_cocos2dx_physics_EventListenerPhysicsContact_create); tolua_function(tolua_S,"create", lua_cocos2dx_physics_EventListenerPhysicsContact_create);
@ -7344,7 +7344,7 @@ static int lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_finalize(l
int lua_register_cocos2dx_physics_EventListenerPhysicsContactWithBodies(lua_State* tolua_S) int lua_register_cocos2dx_physics_EventListenerPhysicsContactWithBodies(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithBodies"); tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithBodies");
tolua_cclass(tolua_S,"EventListenerPhysicsContactWithBodies","cc.EventListenerPhysicsContactWithBodies","cc.EventListenerPhysicsContact",nullptr); tolua_cclass(tolua_S,"EventListenerPhysicsContactWithBodies","cc.EventListenerPhysicsContactWithBodies","cc.EventListenerPhysicsContact",nullptr);
tolua_beginmodule(tolua_S,"EventListenerPhysicsContactWithBodies"); tolua_beginmodule(tolua_S,"EventListenerPhysicsContactWithBodies");
tolua_function(tolua_S,"hitTest",lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_hitTest); tolua_function(tolua_S,"hitTest",lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_hitTest);
@ -7450,7 +7450,7 @@ static int lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_finalize(l
int lua_register_cocos2dx_physics_EventListenerPhysicsContactWithShapes(lua_State* tolua_S) int lua_register_cocos2dx_physics_EventListenerPhysicsContactWithShapes(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithShapes"); tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithShapes");
tolua_cclass(tolua_S,"EventListenerPhysicsContactWithShapes","cc.EventListenerPhysicsContactWithShapes","cc.EventListenerPhysicsContact",nullptr); tolua_cclass(tolua_S,"EventListenerPhysicsContactWithShapes","cc.EventListenerPhysicsContactWithShapes","cc.EventListenerPhysicsContact",nullptr);
tolua_beginmodule(tolua_S,"EventListenerPhysicsContactWithShapes"); tolua_beginmodule(tolua_S,"EventListenerPhysicsContactWithShapes");
tolua_function(tolua_S,"hitTest",lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_hitTest); tolua_function(tolua_S,"hitTest",lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_hitTest);
@ -7554,7 +7554,7 @@ static int lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_finalize(lu
int lua_register_cocos2dx_physics_EventListenerPhysicsContactWithGroup(lua_State* tolua_S) int lua_register_cocos2dx_physics_EventListenerPhysicsContactWithGroup(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithGroup"); tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithGroup");
tolua_cclass(tolua_S,"EventListenerPhysicsContactWithGroup","cc.EventListenerPhysicsContactWithGroup","cc.EventListenerPhysicsContact",nullptr); tolua_cclass(tolua_S,"EventListenerPhysicsContactWithGroup","cc.EventListenerPhysicsContactWithGroup","cc.EventListenerPhysicsContact",nullptr);
tolua_beginmodule(tolua_S,"EventListenerPhysicsContactWithGroup"); tolua_beginmodule(tolua_S,"EventListenerPhysicsContactWithGroup");
tolua_function(tolua_S,"hitTest",lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_hitTest); tolua_function(tolua_S,"hitTest",lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_hitTest);
@ -8211,7 +8211,7 @@ static int lua_cocos2dx_physics_PhysicsJointFixed_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsJointFixed(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointFixed(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointFixed"); tolua_usertype(tolua_S,"cc.PhysicsJointFixed");
tolua_cclass(tolua_S,"PhysicsJointFixed","cc.PhysicsJointFixed","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointFixed","cc.PhysicsJointFixed","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointFixed"); tolua_beginmodule(tolua_S,"PhysicsJointFixed");
tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointFixed_construct); tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointFixed_construct);
@ -8663,7 +8663,7 @@ static int lua_cocos2dx_physics_PhysicsJointLimit_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsJointLimit(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointLimit(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointLimit"); tolua_usertype(tolua_S,"cc.PhysicsJointLimit");
tolua_cclass(tolua_S,"PhysicsJointLimit","cc.PhysicsJointLimit","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointLimit","cc.PhysicsJointLimit","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointLimit"); tolua_beginmodule(tolua_S,"PhysicsJointLimit");
tolua_function(tolua_S,"setAnchr2",lua_cocos2dx_physics_PhysicsJointLimit_setAnchr2); tolua_function(tolua_S,"setAnchr2",lua_cocos2dx_physics_PhysicsJointLimit_setAnchr2);
@ -8728,7 +8728,7 @@ static int lua_cocos2dx_physics_PhysicsJointPin_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsJointPin(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointPin(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointPin"); tolua_usertype(tolua_S,"cc.PhysicsJointPin");
tolua_cclass(tolua_S,"PhysicsJointPin","cc.PhysicsJointPin","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointPin","cc.PhysicsJointPin","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointPin"); tolua_beginmodule(tolua_S,"PhysicsJointPin");
tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointPin_construct); tolua_function(tolua_S,"construct", lua_cocos2dx_physics_PhysicsJointPin_construct);
@ -8877,7 +8877,7 @@ static int lua_cocos2dx_physics_PhysicsJointDistance_finalize(lua_State* tolua_S
int lua_register_cocos2dx_physics_PhysicsJointDistance(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointDistance(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointDistance"); tolua_usertype(tolua_S,"cc.PhysicsJointDistance");
tolua_cclass(tolua_S,"PhysicsJointDistance","cc.PhysicsJointDistance","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointDistance","cc.PhysicsJointDistance","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointDistance"); tolua_beginmodule(tolua_S,"PhysicsJointDistance");
tolua_function(tolua_S,"setDistance",lua_cocos2dx_physics_PhysicsJointDistance_setDistance); tolua_function(tolua_S,"setDistance",lua_cocos2dx_physics_PhysicsJointDistance_setDistance);
@ -9392,7 +9392,7 @@ static int lua_cocos2dx_physics_PhysicsJointSpring_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsJointSpring(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointSpring(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointSpring"); tolua_usertype(tolua_S,"cc.PhysicsJointSpring");
tolua_cclass(tolua_S,"PhysicsJointSpring","cc.PhysicsJointSpring","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointSpring","cc.PhysicsJointSpring","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointSpring"); tolua_beginmodule(tolua_S,"PhysicsJointSpring");
tolua_function(tolua_S,"setAnchr2",lua_cocos2dx_physics_PhysicsJointSpring_setAnchr2); tolua_function(tolua_S,"setAnchr2",lua_cocos2dx_physics_PhysicsJointSpring_setAnchr2);
@ -9733,7 +9733,7 @@ static int lua_cocos2dx_physics_PhysicsJointGroove_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsJointGroove(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointGroove(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointGroove"); tolua_usertype(tolua_S,"cc.PhysicsJointGroove");
tolua_cclass(tolua_S,"PhysicsJointGroove","cc.PhysicsJointGroove","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointGroove","cc.PhysicsJointGroove","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointGroove"); tolua_beginmodule(tolua_S,"PhysicsJointGroove");
tolua_function(tolua_S,"setAnchr2",lua_cocos2dx_physics_PhysicsJointGroove_setAnchr2); tolua_function(tolua_S,"setAnchr2",lua_cocos2dx_physics_PhysicsJointGroove_setAnchr2);
@ -10068,7 +10068,7 @@ static int lua_cocos2dx_physics_PhysicsJointRotarySpring_finalize(lua_State* tol
int lua_register_cocos2dx_physics_PhysicsJointRotarySpring(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointRotarySpring(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointRotarySpring"); tolua_usertype(tolua_S,"cc.PhysicsJointRotarySpring");
tolua_cclass(tolua_S,"PhysicsJointRotarySpring","cc.PhysicsJointRotarySpring","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointRotarySpring","cc.PhysicsJointRotarySpring","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointRotarySpring"); tolua_beginmodule(tolua_S,"PhysicsJointRotarySpring");
tolua_function(tolua_S,"getDamping",lua_cocos2dx_physics_PhysicsJointRotarySpring_getDamping); tolua_function(tolua_S,"getDamping",lua_cocos2dx_physics_PhysicsJointRotarySpring_getDamping);
@ -10334,7 +10334,7 @@ static int lua_cocos2dx_physics_PhysicsJointRotaryLimit_finalize(lua_State* tolu
int lua_register_cocos2dx_physics_PhysicsJointRotaryLimit(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointRotaryLimit(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointRotaryLimit"); tolua_usertype(tolua_S,"cc.PhysicsJointRotaryLimit");
tolua_cclass(tolua_S,"PhysicsJointRotaryLimit","cc.PhysicsJointRotaryLimit","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointRotaryLimit","cc.PhysicsJointRotaryLimit","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointRotaryLimit"); tolua_beginmodule(tolua_S,"PhysicsJointRotaryLimit");
tolua_function(tolua_S,"getMax",lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMax); tolua_function(tolua_S,"getMax",lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMax);
@ -10667,7 +10667,7 @@ static int lua_cocos2dx_physics_PhysicsJointRatchet_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsJointRatchet(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointRatchet(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointRatchet"); tolua_usertype(tolua_S,"cc.PhysicsJointRatchet");
tolua_cclass(tolua_S,"PhysicsJointRatchet","cc.PhysicsJointRatchet","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointRatchet","cc.PhysicsJointRatchet","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointRatchet"); tolua_beginmodule(tolua_S,"PhysicsJointRatchet");
tolua_function(tolua_S,"getAngle",lua_cocos2dx_physics_PhysicsJointRatchet_getAngle); tolua_function(tolua_S,"getAngle",lua_cocos2dx_physics_PhysicsJointRatchet_getAngle);
@ -10912,7 +10912,7 @@ static int lua_cocos2dx_physics_PhysicsJointGear_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsJointGear(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointGear(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointGear"); tolua_usertype(tolua_S,"cc.PhysicsJointGear");
tolua_cclass(tolua_S,"PhysicsJointGear","cc.PhysicsJointGear","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointGear","cc.PhysicsJointGear","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointGear"); tolua_beginmodule(tolua_S,"PhysicsJointGear");
tolua_function(tolua_S,"setRatio",lua_cocos2dx_physics_PhysicsJointGear_setRatio); tolua_function(tolua_S,"setRatio",lua_cocos2dx_physics_PhysicsJointGear_setRatio);
@ -11063,7 +11063,7 @@ static int lua_cocos2dx_physics_PhysicsJointMotor_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_physics_PhysicsJointMotor(lua_State* tolua_S) int lua_register_cocos2dx_physics_PhysicsJointMotor(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"cc.PhysicsJointMotor"); tolua_usertype(tolua_S,"cc.PhysicsJointMotor");
tolua_cclass(tolua_S,"PhysicsJointMotor","cc.PhysicsJointMotor","cc.PhysicsJoint",nullptr); tolua_cclass(tolua_S,"PhysicsJointMotor","cc.PhysicsJointMotor","cc.PhysicsJoint",nullptr);
tolua_beginmodule(tolua_S,"PhysicsJointMotor"); tolua_beginmodule(tolua_S,"PhysicsJointMotor");
tolua_function(tolua_S,"setRate",lua_cocos2dx_physics_PhysicsJointMotor_setRate); tolua_function(tolua_S,"setRate",lua_cocos2dx_physics_PhysicsJointMotor_setRate);

View File

@ -329,7 +329,7 @@ static int lua_cocos2dx_spine_Skeleton_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_spine_Skeleton(lua_State* tolua_S) int lua_register_cocos2dx_spine_Skeleton(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"sp.Skeleton"); tolua_usertype(tolua_S,"sp.Skeleton");
tolua_cclass(tolua_S,"Skeleton","sp.Skeleton","cc.Node",nullptr); tolua_cclass(tolua_S,"Skeleton","sp.Skeleton","cc.Node",nullptr);
tolua_beginmodule(tolua_S,"Skeleton"); tolua_beginmodule(tolua_S,"Skeleton");
tolua_function(tolua_S,"setToSetupPose",lua_cocos2dx_spine_Skeleton_setToSetupPose); tolua_function(tolua_S,"setToSetupPose",lua_cocos2dx_spine_Skeleton_setToSetupPose);
@ -558,7 +558,7 @@ static int lua_cocos2dx_spine_SkeletonAnimation_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_spine_SkeletonAnimation(lua_State* tolua_S) int lua_register_cocos2dx_spine_SkeletonAnimation(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"sp.SkeletonAnimation"); tolua_usertype(tolua_S,"sp.SkeletonAnimation");
tolua_cclass(tolua_S,"SkeletonAnimation","sp.SkeletonAnimation","sp.Skeleton",nullptr); tolua_cclass(tolua_S,"SkeletonAnimation","sp.SkeletonAnimation","sp.Skeleton",nullptr);
tolua_beginmodule(tolua_S,"SkeletonAnimation"); tolua_beginmodule(tolua_S,"SkeletonAnimation");
tolua_function(tolua_S,"setMix",lua_cocos2dx_spine_SkeletonAnimation_setMix); tolua_function(tolua_S,"setMix",lua_cocos2dx_spine_SkeletonAnimation_setMix);

View File

@ -867,7 +867,7 @@ static int lua_cocos2dx_studio_ActionObject_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ActionObject(lua_State* tolua_S) int lua_register_cocos2dx_studio_ActionObject(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ActionObject"); tolua_usertype(tolua_S,"ccs.ActionObject");
tolua_cclass(tolua_S,"ActionObject","ccs.ActionObject","cc.Ref",nullptr); tolua_cclass(tolua_S,"ActionObject","ccs.ActionObject","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"ActionObject"); tolua_beginmodule(tolua_S,"ActionObject");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_ActionObject_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_ActionObject_constructor);
@ -1181,7 +1181,7 @@ static int lua_cocos2dx_studio_ActionManagerEx_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ActionManagerEx(lua_State* tolua_S) int lua_register_cocos2dx_studio_ActionManagerEx(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ActionManagerEx"); tolua_usertype(tolua_S,"ccs.ActionManagerEx");
tolua_cclass(tolua_S,"ActionManagerEx","ccs.ActionManagerEx","cc.Ref",nullptr); tolua_cclass(tolua_S,"ActionManagerEx","ccs.ActionManagerEx","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"ActionManagerEx"); tolua_beginmodule(tolua_S,"ActionManagerEx");
tolua_function(tolua_S,"playActionByName",lua_cocos2dx_studio_ActionManagerEx_playActionByName); tolua_function(tolua_S,"playActionByName",lua_cocos2dx_studio_ActionManagerEx_playActionByName);
@ -1361,7 +1361,7 @@ static int lua_cocos2dx_studio_BaseData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_BaseData(lua_State* tolua_S) int lua_register_cocos2dx_studio_BaseData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.BaseData"); tolua_usertype(tolua_S,"ccs.BaseData");
tolua_cclass(tolua_S,"BaseData","ccs.BaseData","cc.Ref",nullptr); tolua_cclass(tolua_S,"BaseData","ccs.BaseData","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"BaseData"); tolua_beginmodule(tolua_S,"BaseData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_BaseData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_BaseData_constructor);
@ -1528,7 +1528,7 @@ static int lua_cocos2dx_studio_DisplayData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_DisplayData(lua_State* tolua_S) int lua_register_cocos2dx_studio_DisplayData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.DisplayData"); tolua_usertype(tolua_S,"ccs.DisplayData");
tolua_cclass(tolua_S,"DisplayData","ccs.DisplayData","cc.Ref",nullptr); tolua_cclass(tolua_S,"DisplayData","ccs.DisplayData","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"DisplayData"); tolua_beginmodule(tolua_S,"DisplayData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_DisplayData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_DisplayData_constructor);
@ -1662,7 +1662,7 @@ static int lua_cocos2dx_studio_SpriteDisplayData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_SpriteDisplayData(lua_State* tolua_S) int lua_register_cocos2dx_studio_SpriteDisplayData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.SpriteDisplayData"); tolua_usertype(tolua_S,"ccs.SpriteDisplayData");
tolua_cclass(tolua_S,"SpriteDisplayData","ccs.SpriteDisplayData","ccs.DisplayData",nullptr); tolua_cclass(tolua_S,"SpriteDisplayData","ccs.SpriteDisplayData","ccs.DisplayData",nullptr);
tolua_beginmodule(tolua_S,"SpriteDisplayData"); tolua_beginmodule(tolua_S,"SpriteDisplayData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_SpriteDisplayData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_SpriteDisplayData_constructor);
@ -1749,7 +1749,7 @@ static int lua_cocos2dx_studio_ArmatureDisplayData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ArmatureDisplayData(lua_State* tolua_S) int lua_register_cocos2dx_studio_ArmatureDisplayData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ArmatureDisplayData"); tolua_usertype(tolua_S,"ccs.ArmatureDisplayData");
tolua_cclass(tolua_S,"ArmatureDisplayData","ccs.ArmatureDisplayData","ccs.DisplayData",nullptr); tolua_cclass(tolua_S,"ArmatureDisplayData","ccs.ArmatureDisplayData","ccs.DisplayData",nullptr);
tolua_beginmodule(tolua_S,"ArmatureDisplayData"); tolua_beginmodule(tolua_S,"ArmatureDisplayData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_ArmatureDisplayData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_ArmatureDisplayData_constructor);
@ -1835,7 +1835,7 @@ static int lua_cocos2dx_studio_ParticleDisplayData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ParticleDisplayData(lua_State* tolua_S) int lua_register_cocos2dx_studio_ParticleDisplayData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ParticleDisplayData"); tolua_usertype(tolua_S,"ccs.ParticleDisplayData");
tolua_cclass(tolua_S,"ParticleDisplayData","ccs.ParticleDisplayData","ccs.DisplayData",nullptr); tolua_cclass(tolua_S,"ParticleDisplayData","ccs.ParticleDisplayData","ccs.DisplayData",nullptr);
tolua_beginmodule(tolua_S,"ParticleDisplayData"); tolua_beginmodule(tolua_S,"ParticleDisplayData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_ParticleDisplayData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_ParticleDisplayData_constructor);
@ -2058,7 +2058,7 @@ static int lua_cocos2dx_studio_BoneData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_BoneData(lua_State* tolua_S) int lua_register_cocos2dx_studio_BoneData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.BoneData"); tolua_usertype(tolua_S,"ccs.BoneData");
tolua_cclass(tolua_S,"BoneData","ccs.BoneData","ccs.BaseData",nullptr); tolua_cclass(tolua_S,"BoneData","ccs.BoneData","ccs.BaseData",nullptr);
tolua_beginmodule(tolua_S,"BoneData"); tolua_beginmodule(tolua_S,"BoneData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_BoneData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_BoneData_constructor);
@ -2284,7 +2284,7 @@ static int lua_cocos2dx_studio_ArmatureData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ArmatureData(lua_State* tolua_S) int lua_register_cocos2dx_studio_ArmatureData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ArmatureData"); tolua_usertype(tolua_S,"ccs.ArmatureData");
tolua_cclass(tolua_S,"ArmatureData","ccs.ArmatureData","cc.Ref",nullptr); tolua_cclass(tolua_S,"ArmatureData","ccs.ArmatureData","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"ArmatureData"); tolua_beginmodule(tolua_S,"ArmatureData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_ArmatureData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_ArmatureData_constructor);
@ -2419,7 +2419,7 @@ static int lua_cocos2dx_studio_FrameData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_FrameData(lua_State* tolua_S) int lua_register_cocos2dx_studio_FrameData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.FrameData"); tolua_usertype(tolua_S,"ccs.FrameData");
tolua_cclass(tolua_S,"FrameData","ccs.FrameData","ccs.BaseData",nullptr); tolua_cclass(tolua_S,"FrameData","ccs.FrameData","ccs.BaseData",nullptr);
tolua_beginmodule(tolua_S,"FrameData"); tolua_beginmodule(tolua_S,"FrameData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_FrameData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_FrameData_constructor);
@ -2643,7 +2643,7 @@ static int lua_cocos2dx_studio_MovementBoneData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_MovementBoneData(lua_State* tolua_S) int lua_register_cocos2dx_studio_MovementBoneData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.MovementBoneData"); tolua_usertype(tolua_S,"ccs.MovementBoneData");
tolua_cclass(tolua_S,"MovementBoneData","ccs.MovementBoneData","cc.Ref",nullptr); tolua_cclass(tolua_S,"MovementBoneData","ccs.MovementBoneData","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"MovementBoneData"); tolua_beginmodule(tolua_S,"MovementBoneData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_MovementBoneData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_MovementBoneData_constructor);
@ -2825,7 +2825,7 @@ static int lua_cocos2dx_studio_MovementData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_MovementData(lua_State* tolua_S) int lua_register_cocos2dx_studio_MovementData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.MovementData"); tolua_usertype(tolua_S,"ccs.MovementData");
tolua_cclass(tolua_S,"MovementData","ccs.MovementData","cc.Ref",nullptr); tolua_cclass(tolua_S,"MovementData","ccs.MovementData","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"MovementData"); tolua_beginmodule(tolua_S,"MovementData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_MovementData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_MovementData_constructor);
@ -3050,7 +3050,7 @@ static int lua_cocos2dx_studio_AnimationData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_AnimationData(lua_State* tolua_S) int lua_register_cocos2dx_studio_AnimationData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.AnimationData"); tolua_usertype(tolua_S,"ccs.AnimationData");
tolua_cclass(tolua_S,"AnimationData","ccs.AnimationData","cc.Ref",nullptr); tolua_cclass(tolua_S,"AnimationData","ccs.AnimationData","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"AnimationData"); tolua_beginmodule(tolua_S,"AnimationData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_AnimationData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_AnimationData_constructor);
@ -3229,7 +3229,7 @@ static int lua_cocos2dx_studio_ContourData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ContourData(lua_State* tolua_S) int lua_register_cocos2dx_studio_ContourData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ContourData"); tolua_usertype(tolua_S,"ccs.ContourData");
tolua_cclass(tolua_S,"ContourData","ccs.ContourData","cc.Ref",nullptr); tolua_cclass(tolua_S,"ContourData","ccs.ContourData","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"ContourData"); tolua_beginmodule(tolua_S,"ContourData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_ContourData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_ContourData_constructor);
@ -3454,7 +3454,7 @@ static int lua_cocos2dx_studio_TextureData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_TextureData(lua_State* tolua_S) int lua_register_cocos2dx_studio_TextureData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.TextureData"); tolua_usertype(tolua_S,"ccs.TextureData");
tolua_cclass(tolua_S,"TextureData","ccs.TextureData","cc.Ref",nullptr); tolua_cclass(tolua_S,"TextureData","ccs.TextureData","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"TextureData"); tolua_beginmodule(tolua_S,"TextureData");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_TextureData_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_TextureData_constructor);
@ -3832,7 +3832,7 @@ static int lua_cocos2dx_studio_Tween_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_Tween(lua_State* tolua_S) int lua_register_cocos2dx_studio_Tween(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.Tween"); tolua_usertype(tolua_S,"ccs.Tween");
tolua_cclass(tolua_S,"Tween","ccs.Tween","ccs.ProcessBase",nullptr); tolua_cclass(tolua_S,"Tween","ccs.Tween","ccs.ProcessBase",nullptr);
tolua_beginmodule(tolua_S,"Tween"); tolua_beginmodule(tolua_S,"Tween");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_Tween_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_Tween_constructor);
@ -4769,7 +4769,7 @@ static int lua_cocos2dx_studio_DisplayManager_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_DisplayManager(lua_State* tolua_S) int lua_register_cocos2dx_studio_DisplayManager(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.DisplayManager"); tolua_usertype(tolua_S,"ccs.DisplayManager");
tolua_cclass(tolua_S,"DisplayManager","ccs.DisplayManager","cc.Ref",nullptr); tolua_cclass(tolua_S,"DisplayManager","ccs.DisplayManager","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"DisplayManager"); tolua_beginmodule(tolua_S,"DisplayManager");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_DisplayManager_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_DisplayManager_constructor);
@ -6306,7 +6306,7 @@ static int lua_cocos2dx_studio_Bone_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_Bone(lua_State* tolua_S) int lua_register_cocos2dx_studio_Bone(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.Bone"); tolua_usertype(tolua_S,"ccs.Bone");
tolua_cclass(tolua_S,"Bone","ccs.Bone","cc.Node",nullptr); tolua_cclass(tolua_S,"Bone","ccs.Bone","cc.Node",nullptr);
tolua_beginmodule(tolua_S,"Bone"); tolua_beginmodule(tolua_S,"Bone");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_Bone_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_Bone_constructor);
@ -6433,7 +6433,7 @@ static int lua_cocos2dx_studio_BatchNode_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_BatchNode(lua_State* tolua_S) int lua_register_cocos2dx_studio_BatchNode(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.BatchNode"); tolua_usertype(tolua_S,"ccs.BatchNode");
tolua_cclass(tolua_S,"BatchNode","ccs.BatchNode","cc.Node",nullptr); tolua_cclass(tolua_S,"BatchNode","ccs.BatchNode","cc.Node",nullptr);
tolua_beginmodule(tolua_S,"BatchNode"); tolua_beginmodule(tolua_S,"BatchNode");
tolua_function(tolua_S,"init",lua_cocos2dx_studio_BatchNode_init); tolua_function(tolua_S,"init",lua_cocos2dx_studio_BatchNode_init);
@ -7403,7 +7403,7 @@ static int lua_cocos2dx_studio_ArmatureAnimation_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ArmatureAnimation(lua_State* tolua_S) int lua_register_cocos2dx_studio_ArmatureAnimation(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ArmatureAnimation"); tolua_usertype(tolua_S,"ccs.ArmatureAnimation");
tolua_cclass(tolua_S,"ArmatureAnimation","ccs.ArmatureAnimation","ccs.ProcessBase",nullptr); tolua_cclass(tolua_S,"ArmatureAnimation","ccs.ArmatureAnimation","ccs.ProcessBase",nullptr);
tolua_beginmodule(tolua_S,"ArmatureAnimation"); tolua_beginmodule(tolua_S,"ArmatureAnimation");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_ArmatureAnimation_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_ArmatureAnimation_constructor);
@ -8368,7 +8368,7 @@ static int lua_cocos2dx_studio_ArmatureDataManager_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ArmatureDataManager(lua_State* tolua_S) int lua_register_cocos2dx_studio_ArmatureDataManager(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ArmatureDataManager"); tolua_usertype(tolua_S,"ccs.ArmatureDataManager");
tolua_cclass(tolua_S,"ArmatureDataManager","ccs.ArmatureDataManager","cc.Ref",nullptr); tolua_cclass(tolua_S,"ArmatureDataManager","ccs.ArmatureDataManager","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"ArmatureDataManager"); tolua_beginmodule(tolua_S,"ArmatureDataManager");
tolua_function(tolua_S,"getAnimationDatas",lua_cocos2dx_studio_ArmatureDataManager_getAnimationDatas); tolua_function(tolua_S,"getAnimationDatas",lua_cocos2dx_studio_ArmatureDataManager_getAnimationDatas);
@ -9436,7 +9436,7 @@ static int lua_cocos2dx_studio_Armature_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_Armature(lua_State* tolua_S) int lua_register_cocos2dx_studio_Armature(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.Armature"); tolua_usertype(tolua_S,"ccs.Armature");
tolua_cclass(tolua_S,"Armature","ccs.Armature","cc.Node",nullptr); tolua_cclass(tolua_S,"Armature","ccs.Armature","cc.Node",nullptr);
tolua_beginmodule(tolua_S,"Armature"); tolua_beginmodule(tolua_S,"Armature");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_Armature_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_Armature_constructor);
@ -9904,7 +9904,7 @@ static int lua_cocos2dx_studio_Skin_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_Skin(lua_State* tolua_S) int lua_register_cocos2dx_studio_Skin(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.Skin"); tolua_usertype(tolua_S,"ccs.Skin");
tolua_cclass(tolua_S,"Skin","ccs.Skin","cc.Sprite",nullptr); tolua_cclass(tolua_S,"Skin","ccs.Skin","cc.Sprite",nullptr);
tolua_beginmodule(tolua_S,"Skin"); tolua_beginmodule(tolua_S,"Skin");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_Skin_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_Skin_constructor);
@ -10482,7 +10482,7 @@ static int lua_cocos2dx_studio_ComAttribute_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ComAttribute(lua_State* tolua_S) int lua_register_cocos2dx_studio_ComAttribute(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ComAttribute"); tolua_usertype(tolua_S,"ccs.ComAttribute");
tolua_cclass(tolua_S,"ComAttribute","ccs.ComAttribute","cc.Component",nullptr); tolua_cclass(tolua_S,"ComAttribute","ccs.ComAttribute","cc.Component",nullptr);
tolua_beginmodule(tolua_S,"ComAttribute"); tolua_beginmodule(tolua_S,"ComAttribute");
tolua_function(tolua_S,"getFloat",lua_cocos2dx_studio_ComAttribute_getFloat); tolua_function(tolua_S,"getFloat",lua_cocos2dx_studio_ComAttribute_getFloat);
@ -11779,7 +11779,7 @@ static int lua_cocos2dx_studio_ComAudio_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ComAudio(lua_State* tolua_S) int lua_register_cocos2dx_studio_ComAudio(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ComAudio"); tolua_usertype(tolua_S,"ccs.ComAudio");
tolua_cclass(tolua_S,"ComAudio","ccs.ComAudio","cc.Component",nullptr); tolua_cclass(tolua_S,"ComAudio","ccs.ComAudio","cc.Component",nullptr);
tolua_beginmodule(tolua_S,"ComAudio"); tolua_beginmodule(tolua_S,"ComAudio");
tolua_function(tolua_S,"stopAllEffects",lua_cocos2dx_studio_ComAudio_stopAllEffects); tolua_function(tolua_S,"stopAllEffects",lua_cocos2dx_studio_ComAudio_stopAllEffects);
@ -11922,7 +11922,7 @@ static int lua_cocos2dx_studio_ComController_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ComController(lua_State* tolua_S) int lua_register_cocos2dx_studio_ComController(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ComController"); tolua_usertype(tolua_S,"ccs.ComController");
tolua_cclass(tolua_S,"ComController","ccs.ComController","cc.Component",nullptr); tolua_cclass(tolua_S,"ComController","ccs.ComController","cc.Component",nullptr);
tolua_beginmodule(tolua_S,"ComController"); tolua_beginmodule(tolua_S,"ComController");
tolua_function(tolua_S,"new",lua_cocos2dx_studio_ComController_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_studio_ComController_constructor);
@ -12113,7 +12113,7 @@ static int lua_cocos2dx_studio_ComRender_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ComRender(lua_State* tolua_S) int lua_register_cocos2dx_studio_ComRender(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.ComRender"); tolua_usertype(tolua_S,"ccs.ComRender");
tolua_cclass(tolua_S,"ComRender","ccs.ComRender","cc.Component",nullptr); tolua_cclass(tolua_S,"ComRender","ccs.ComRender","cc.Component",nullptr);
tolua_beginmodule(tolua_S,"ComRender"); tolua_beginmodule(tolua_S,"ComRender");
tolua_function(tolua_S,"setNode",lua_cocos2dx_studio_ComRender_setNode); tolua_function(tolua_S,"setNode",lua_cocos2dx_studio_ComRender_setNode);
@ -12428,7 +12428,7 @@ static int lua_cocos2dx_studio_GUIReader_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_GUIReader(lua_State* tolua_S) int lua_register_cocos2dx_studio_GUIReader(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.GUIReader"); tolua_usertype(tolua_S,"ccs.GUIReader");
tolua_cclass(tolua_S,"GUIReader","ccs.GUIReader","cc.Ref",nullptr); tolua_cclass(tolua_S,"GUIReader","ccs.GUIReader","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"GUIReader"); tolua_beginmodule(tolua_S,"GUIReader");
tolua_function(tolua_S,"setFilePath",lua_cocos2dx_studio_GUIReader_setFilePath); tolua_function(tolua_S,"setFilePath",lua_cocos2dx_studio_GUIReader_setFilePath);
@ -12897,7 +12897,7 @@ static int lua_cocos2dx_studio_ActionTimelineData_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_studio_ActionTimelineData(lua_State* tolua_S) int lua_register_cocos2dx_studio_ActionTimelineData(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccs.timeline::ActionTimelineData"); tolua_usertype(tolua_S,"ccs.timeline::ActionTimelineData");
tolua_cclass(tolua_S,"ActionTimelineData","ccs.timeline::ActionTimelineData","cc.Ref",nullptr); tolua_cclass(tolua_S,"ActionTimelineData","ccs.timeline::ActionTimelineData","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"ActionTimelineData"); tolua_beginmodule(tolua_S,"ActionTimelineData");
tolua_function(tolua_S,"setActionTag",lua_cocos2dx_studio_ActionTimelineData_setActionTag); tolua_function(tolua_S,"setActionTag",lua_cocos2dx_studio_ActionTimelineData_setActionTag);

View File

@ -257,7 +257,7 @@ static int lua_cocos2dx_ui_LayoutParameter_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_LayoutParameter(lua_State* tolua_S) int lua_register_cocos2dx_ui_LayoutParameter(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.LayoutParameter"); tolua_usertype(tolua_S,"ccui.LayoutParameter");
tolua_cclass(tolua_S,"LayoutParameter","ccui.LayoutParameter","cc.Ref",nullptr); tolua_cclass(tolua_S,"LayoutParameter","ccui.LayoutParameter","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"LayoutParameter"); tolua_beginmodule(tolua_S,"LayoutParameter");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_LayoutParameter_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_LayoutParameter_constructor);
@ -437,7 +437,7 @@ static int lua_cocos2dx_ui_LinearLayoutParameter_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_LinearLayoutParameter(lua_State* tolua_S) int lua_register_cocos2dx_ui_LinearLayoutParameter(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.LinearLayoutParameter"); tolua_usertype(tolua_S,"ccui.LinearLayoutParameter");
tolua_cclass(tolua_S,"LinearLayoutParameter","ccui.LinearLayoutParameter","ccui.LayoutParameter",nullptr); tolua_cclass(tolua_S,"LinearLayoutParameter","ccui.LinearLayoutParameter","ccui.LayoutParameter",nullptr);
tolua_beginmodule(tolua_S,"LinearLayoutParameter"); tolua_beginmodule(tolua_S,"LinearLayoutParameter");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_LinearLayoutParameter_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_LinearLayoutParameter_constructor);
@ -795,7 +795,7 @@ static int lua_cocos2dx_ui_RelativeLayoutParameter_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_RelativeLayoutParameter(lua_State* tolua_S) int lua_register_cocos2dx_ui_RelativeLayoutParameter(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.RelativeLayoutParameter"); tolua_usertype(tolua_S,"ccui.RelativeLayoutParameter");
tolua_cclass(tolua_S,"RelativeLayoutParameter","ccui.RelativeLayoutParameter","ccui.LayoutParameter",nullptr); tolua_cclass(tolua_S,"RelativeLayoutParameter","ccui.RelativeLayoutParameter","ccui.LayoutParameter",nullptr);
tolua_beginmodule(tolua_S,"RelativeLayoutParameter"); tolua_beginmodule(tolua_S,"RelativeLayoutParameter");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_RelativeLayoutParameter_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_RelativeLayoutParameter_constructor);
@ -3217,7 +3217,7 @@ static int lua_cocos2dx_ui_Widget_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_Widget(lua_State* tolua_S) int lua_register_cocos2dx_ui_Widget(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.Widget"); tolua_usertype(tolua_S,"ccui.Widget");
tolua_cclass(tolua_S,"Widget","ccui.Widget","cc.ProtectedNode",nullptr); tolua_cclass(tolua_S,"Widget","ccui.Widget","cc.ProtectedNode",nullptr);
tolua_beginmodule(tolua_S,"Widget"); tolua_beginmodule(tolua_S,"Widget");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_Widget_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_Widget_constructor);
@ -4844,7 +4844,7 @@ static int lua_cocos2dx_ui_Layout_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_Layout(lua_State* tolua_S) int lua_register_cocos2dx_ui_Layout(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.Layout"); tolua_usertype(tolua_S,"ccui.Layout");
tolua_cclass(tolua_S,"Layout","ccui.Layout","ccui.Widget",nullptr); tolua_cclass(tolua_S,"Layout","ccui.Layout","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"Layout"); tolua_beginmodule(tolua_S,"Layout");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_Layout_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_Layout_constructor);
@ -6138,7 +6138,7 @@ static int lua_cocos2dx_ui_Button_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_Button(lua_State* tolua_S) int lua_register_cocos2dx_ui_Button(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.Button"); tolua_usertype(tolua_S,"ccui.Button");
tolua_cclass(tolua_S,"Button","ccui.Button","ccui.Widget",nullptr); tolua_cclass(tolua_S,"Button","ccui.Button","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"Button"); tolua_beginmodule(tolua_S,"Button");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_Button_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_Button_constructor);
@ -6850,7 +6850,7 @@ static int lua_cocos2dx_ui_CheckBox_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_CheckBox(lua_State* tolua_S) int lua_register_cocos2dx_ui_CheckBox(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.CheckBox"); tolua_usertype(tolua_S,"ccui.CheckBox");
tolua_cclass(tolua_S,"CheckBox","ccui.CheckBox","ccui.Widget",nullptr); tolua_cclass(tolua_S,"CheckBox","ccui.CheckBox","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"CheckBox"); tolua_beginmodule(tolua_S,"CheckBox");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_CheckBox_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_CheckBox_constructor);
@ -7292,7 +7292,7 @@ static int lua_cocos2dx_ui_ImageView_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_ImageView(lua_State* tolua_S) int lua_register_cocos2dx_ui_ImageView(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.ImageView"); tolua_usertype(tolua_S,"ccui.ImageView");
tolua_cclass(tolua_S,"ImageView","ccui.ImageView","ccui.Widget",nullptr); tolua_cclass(tolua_S,"ImageView","ccui.ImageView","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"ImageView"); tolua_beginmodule(tolua_S,"ImageView");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_ImageView_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_ImageView_constructor);
@ -8384,7 +8384,7 @@ static int lua_cocos2dx_ui_Text_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_Text(lua_State* tolua_S) int lua_register_cocos2dx_ui_Text(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.Text"); tolua_usertype(tolua_S,"ccui.Text");
tolua_cclass(tolua_S,"Text","ccui.Text","ccui.Widget",nullptr); tolua_cclass(tolua_S,"Text","ccui.Text","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"Text"); tolua_beginmodule(tolua_S,"Text");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_Text_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_Text_constructor);
@ -8783,7 +8783,7 @@ static int lua_cocos2dx_ui_TextAtlas_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_TextAtlas(lua_State* tolua_S) int lua_register_cocos2dx_ui_TextAtlas(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.TextAtlas"); tolua_usertype(tolua_S,"ccui.TextAtlas");
tolua_cclass(tolua_S,"TextAtlas","ccui.TextAtlas","ccui.Widget",nullptr); tolua_cclass(tolua_S,"TextAtlas","ccui.TextAtlas","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"TextAtlas"); tolua_beginmodule(tolua_S,"TextAtlas");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_TextAtlas_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_TextAtlas_constructor);
@ -9355,7 +9355,7 @@ static int lua_cocos2dx_ui_LoadingBar_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_LoadingBar(lua_State* tolua_S) int lua_register_cocos2dx_ui_LoadingBar(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.LoadingBar"); tolua_usertype(tolua_S,"ccui.LoadingBar");
tolua_cclass(tolua_S,"LoadingBar","ccui.LoadingBar","ccui.Widget",nullptr); tolua_cclass(tolua_S,"LoadingBar","ccui.LoadingBar","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"LoadingBar"); tolua_beginmodule(tolua_S,"LoadingBar");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_LoadingBar_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_LoadingBar_constructor);
@ -10966,7 +10966,7 @@ static int lua_cocos2dx_ui_ScrollView_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_ScrollView(lua_State* tolua_S) int lua_register_cocos2dx_ui_ScrollView(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.ScrollView"); tolua_usertype(tolua_S,"ccui.ScrollView");
tolua_cclass(tolua_S,"ScrollView","ccui.ScrollView","ccui.Layout",nullptr); tolua_cclass(tolua_S,"ScrollView","ccui.ScrollView","ccui.Layout",nullptr);
tolua_beginmodule(tolua_S,"ScrollView"); tolua_beginmodule(tolua_S,"ScrollView");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_ScrollView_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_ScrollView_constructor);
@ -11975,7 +11975,7 @@ static int lua_cocos2dx_ui_ListView_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_ListView(lua_State* tolua_S) int lua_register_cocos2dx_ui_ListView(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.ListView"); tolua_usertype(tolua_S,"ccui.ListView");
tolua_cclass(tolua_S,"ListView","ccui.ListView","ccui.ScrollView",nullptr); tolua_cclass(tolua_S,"ListView","ccui.ListView","ccui.ScrollView",nullptr);
tolua_beginmodule(tolua_S,"ListView"); tolua_beginmodule(tolua_S,"ListView");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_ListView_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_ListView_constructor);
@ -12934,7 +12934,7 @@ static int lua_cocos2dx_ui_Slider_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_Slider(lua_State* tolua_S) int lua_register_cocos2dx_ui_Slider(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.Slider"); tolua_usertype(tolua_S,"ccui.Slider");
tolua_cclass(tolua_S,"Slider","ccui.Slider","ccui.Widget",nullptr); tolua_cclass(tolua_S,"Slider","ccui.Slider","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"Slider"); tolua_beginmodule(tolua_S,"Slider");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_Slider_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_Slider_constructor);
@ -14669,7 +14669,7 @@ static int lua_cocos2dx_ui_TextField_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_TextField(lua_State* tolua_S) int lua_register_cocos2dx_ui_TextField(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.TextField"); tolua_usertype(tolua_S,"ccui.TextField");
tolua_cclass(tolua_S,"TextField","ccui.TextField","ccui.Widget",nullptr); tolua_cclass(tolua_S,"TextField","ccui.TextField","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"TextField"); tolua_beginmodule(tolua_S,"TextField");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_TextField_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_TextField_constructor);
@ -15019,7 +15019,7 @@ static int lua_cocos2dx_ui_TextBMFont_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_TextBMFont(lua_State* tolua_S) int lua_register_cocos2dx_ui_TextBMFont(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.TextBMFont"); tolua_usertype(tolua_S,"ccui.TextBMFont");
tolua_cclass(tolua_S,"TextBMFont","ccui.TextBMFont","ccui.Widget",nullptr); tolua_cclass(tolua_S,"TextBMFont","ccui.TextBMFont","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"TextBMFont"); tolua_beginmodule(tolua_S,"TextBMFont");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_TextBMFont_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_TextBMFont_constructor);
@ -15654,7 +15654,7 @@ static int lua_cocos2dx_ui_PageView_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_PageView(lua_State* tolua_S) int lua_register_cocos2dx_ui_PageView(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.PageView"); tolua_usertype(tolua_S,"ccui.PageView");
tolua_cclass(tolua_S,"PageView","ccui.PageView","ccui.Layout",nullptr); tolua_cclass(tolua_S,"PageView","ccui.PageView","ccui.Layout",nullptr);
tolua_beginmodule(tolua_S,"PageView"); tolua_beginmodule(tolua_S,"PageView");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_PageView_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_PageView_constructor);
@ -15901,7 +15901,7 @@ static int lua_cocos2dx_ui_RichElement_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_RichElement(lua_State* tolua_S) int lua_register_cocos2dx_ui_RichElement(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.RichElement"); tolua_usertype(tolua_S,"ccui.RichElement");
tolua_cclass(tolua_S,"RichElement","ccui.RichElement","cc.Ref",nullptr); tolua_cclass(tolua_S,"RichElement","ccui.RichElement","cc.Ref",nullptr);
tolua_beginmodule(tolua_S,"RichElement"); tolua_beginmodule(tolua_S,"RichElement");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichElement_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichElement_constructor);
@ -16061,7 +16061,7 @@ static int lua_cocos2dx_ui_RichElementText_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_RichElementText(lua_State* tolua_S) int lua_register_cocos2dx_ui_RichElementText(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.RichElementText"); tolua_usertype(tolua_S,"ccui.RichElementText");
tolua_cclass(tolua_S,"RichElementText","ccui.RichElementText","ccui.RichElement",nullptr); tolua_cclass(tolua_S,"RichElementText","ccui.RichElementText","ccui.RichElement",nullptr);
tolua_beginmodule(tolua_S,"RichElementText"); tolua_beginmodule(tolua_S,"RichElementText");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichElementText_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichElementText_constructor);
@ -16212,7 +16212,7 @@ static int lua_cocos2dx_ui_RichElementImage_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_RichElementImage(lua_State* tolua_S) int lua_register_cocos2dx_ui_RichElementImage(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.RichElementImage"); tolua_usertype(tolua_S,"ccui.RichElementImage");
tolua_cclass(tolua_S,"RichElementImage","ccui.RichElementImage","ccui.RichElement",nullptr); tolua_cclass(tolua_S,"RichElementImage","ccui.RichElementImage","ccui.RichElement",nullptr);
tolua_beginmodule(tolua_S,"RichElementImage"); tolua_beginmodule(tolua_S,"RichElementImage");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichElementImage_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichElementImage_constructor);
@ -16363,7 +16363,7 @@ static int lua_cocos2dx_ui_RichElementCustomNode_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_RichElementCustomNode(lua_State* tolua_S) int lua_register_cocos2dx_ui_RichElementCustomNode(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.RichElementCustomNode"); tolua_usertype(tolua_S,"ccui.RichElementCustomNode");
tolua_cclass(tolua_S,"RichElementCustomNode","ccui.RichElementCustomNode","ccui.RichElement",nullptr); tolua_cclass(tolua_S,"RichElementCustomNode","ccui.RichElementCustomNode","ccui.RichElement",nullptr);
tolua_beginmodule(tolua_S,"RichElementCustomNode"); tolua_beginmodule(tolua_S,"RichElementCustomNode");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichElementCustomNode_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichElementCustomNode_constructor);
@ -16779,7 +16779,7 @@ static int lua_cocos2dx_ui_RichText_finalize(lua_State* tolua_S)
int lua_register_cocos2dx_ui_RichText(lua_State* tolua_S) int lua_register_cocos2dx_ui_RichText(lua_State* tolua_S)
{ {
tolua_usertype(tolua_S,"ccui.RichText"); tolua_usertype(tolua_S,"ccui.RichText");
tolua_cclass(tolua_S,"RichText","ccui.RichText","ccui.Widget",nullptr); tolua_cclass(tolua_S,"RichText","ccui.RichText","ccui.Widget",nullptr);
tolua_beginmodule(tolua_S,"RichText"); tolua_beginmodule(tolua_S,"RichText");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichText_constructor); tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichText_constructor);
@ -16797,6 +16797,306 @@ int lua_register_cocos2dx_ui_RichText(lua_State* tolua_S)
g_typeCast["RichText"] = "ccui.RichText"; g_typeCast["RichText"] = "ccui.RichText";
return 1; return 1;
} }
int lua_cocos2dx_ui_HBox_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,"ccui.HBox",0,&tolua_err)) goto tolua_lerror;
#endif
argc = lua_gettop(tolua_S)-1;
do
{
if (argc == 1)
{
cocos2d::Size arg0;
ok &= luaval_to_size(tolua_S, 2, &arg0);
if (!ok) { break; }
cocos2d::ui::HBox* ret = cocos2d::ui::HBox::create(arg0);
object_to_luaval<cocos2d::ui::HBox>(tolua_S, "ccui.HBox",(cocos2d::ui::HBox*)ret);
return 1;
}
} while (0);
ok = true;
do
{
if (argc == 0)
{
cocos2d::ui::HBox* ret = cocos2d::ui::HBox::create();
object_to_luaval<cocos2d::ui::HBox>(tolua_S, "ccui.HBox",(cocos2d::ui::HBox*)ret);
return 1;
}
} while (0);
ok = true;
CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_HBox_create'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ui_HBox_constructor(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ui::HBox* 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)
return 0;
cobj = new cocos2d::ui::HBox();
cobj->autorelease();
int ID = (int)cobj->_ID ;
int* luaID = &cobj->_luaID ;
toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.HBox");
return 1;
}
CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "HBox",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_HBox_constructor'.",&tolua_err);
#endif
return 0;
}
static int lua_cocos2dx_ui_HBox_finalize(lua_State* tolua_S)
{
printf("luabindings: finalizing LUA object (HBox)");
return 0;
}
int lua_register_cocos2dx_ui_HBox(lua_State* tolua_S)
{
tolua_usertype(tolua_S,"ccui.HBox");
tolua_cclass(tolua_S,"HBox","ccui.HBox","ccui.Layout",nullptr);
tolua_beginmodule(tolua_S,"HBox");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_HBox_constructor);
tolua_function(tolua_S,"create", lua_cocos2dx_ui_HBox_create);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::ui::HBox).name();
g_luaType[typeName] = "ccui.HBox";
g_typeCast["HBox"] = "ccui.HBox";
return 1;
}
int lua_cocos2dx_ui_VBox_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,"ccui.VBox",0,&tolua_err)) goto tolua_lerror;
#endif
argc = lua_gettop(tolua_S)-1;
do
{
if (argc == 1)
{
cocos2d::Size arg0;
ok &= luaval_to_size(tolua_S, 2, &arg0);
if (!ok) { break; }
cocos2d::ui::VBox* ret = cocos2d::ui::VBox::create(arg0);
object_to_luaval<cocos2d::ui::VBox>(tolua_S, "ccui.VBox",(cocos2d::ui::VBox*)ret);
return 1;
}
} while (0);
ok = true;
do
{
if (argc == 0)
{
cocos2d::ui::VBox* ret = cocos2d::ui::VBox::create();
object_to_luaval<cocos2d::ui::VBox>(tolua_S, "ccui.VBox",(cocos2d::ui::VBox*)ret);
return 1;
}
} while (0);
ok = true;
CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_VBox_create'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ui_VBox_constructor(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ui::VBox* 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)
return 0;
cobj = new cocos2d::ui::VBox();
cobj->autorelease();
int ID = (int)cobj->_ID ;
int* luaID = &cobj->_luaID ;
toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.VBox");
return 1;
}
CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "VBox",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_VBox_constructor'.",&tolua_err);
#endif
return 0;
}
static int lua_cocos2dx_ui_VBox_finalize(lua_State* tolua_S)
{
printf("luabindings: finalizing LUA object (VBox)");
return 0;
}
int lua_register_cocos2dx_ui_VBox(lua_State* tolua_S)
{
tolua_usertype(tolua_S,"ccui.VBox");
tolua_cclass(tolua_S,"VBox","ccui.VBox","ccui.Layout",nullptr);
tolua_beginmodule(tolua_S,"VBox");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_VBox_constructor);
tolua_function(tolua_S,"create", lua_cocos2dx_ui_VBox_create);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::ui::VBox).name();
g_luaType[typeName] = "ccui.VBox";
g_typeCast["VBox"] = "ccui.VBox";
return 1;
}
int lua_cocos2dx_ui_RelativeBox_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,"ccui.RelativeBox",0,&tolua_err)) goto tolua_lerror;
#endif
argc = lua_gettop(tolua_S)-1;
do
{
if (argc == 1)
{
cocos2d::Size arg0;
ok &= luaval_to_size(tolua_S, 2, &arg0);
if (!ok) { break; }
cocos2d::ui::RelativeBox* ret = cocos2d::ui::RelativeBox::create(arg0);
object_to_luaval<cocos2d::ui::RelativeBox>(tolua_S, "ccui.RelativeBox",(cocos2d::ui::RelativeBox*)ret);
return 1;
}
} while (0);
ok = true;
do
{
if (argc == 0)
{
cocos2d::ui::RelativeBox* ret = cocos2d::ui::RelativeBox::create();
object_to_luaval<cocos2d::ui::RelativeBox>(tolua_S, "ccui.RelativeBox",(cocos2d::ui::RelativeBox*)ret);
return 1;
}
} while (0);
ok = true;
CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_RelativeBox_create'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ui_RelativeBox_constructor(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ui::RelativeBox* 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)
return 0;
cobj = new cocos2d::ui::RelativeBox();
cobj->autorelease();
int ID = (int)cobj->_ID ;
int* luaID = &cobj->_luaID ;
toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.RelativeBox");
return 1;
}
CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RelativeBox",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_RelativeBox_constructor'.",&tolua_err);
#endif
return 0;
}
static int lua_cocos2dx_ui_RelativeBox_finalize(lua_State* tolua_S)
{
printf("luabindings: finalizing LUA object (RelativeBox)");
return 0;
}
int lua_register_cocos2dx_ui_RelativeBox(lua_State* tolua_S)
{
tolua_usertype(tolua_S,"ccui.RelativeBox");
tolua_cclass(tolua_S,"RelativeBox","ccui.RelativeBox","ccui.Layout",nullptr);
tolua_beginmodule(tolua_S,"RelativeBox");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_RelativeBox_constructor);
tolua_function(tolua_S,"create", lua_cocos2dx_ui_RelativeBox_create);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::ui::RelativeBox).name();
g_luaType[typeName] = "ccui.RelativeBox";
g_typeCast["RelativeBox"] = "ccui.RelativeBox";
return 1;
}
TOLUA_API int register_all_cocos2dx_ui(lua_State* tolua_S) TOLUA_API int register_all_cocos2dx_ui(lua_State* tolua_S)
{ {
tolua_open(tolua_S); tolua_open(tolua_S);
@ -16805,12 +17105,14 @@ TOLUA_API int register_all_cocos2dx_ui(lua_State* tolua_S)
tolua_beginmodule(tolua_S,"ccui"); tolua_beginmodule(tolua_S,"ccui");
lua_register_cocos2dx_ui_Widget(tolua_S); lua_register_cocos2dx_ui_Widget(tolua_S);
lua_register_cocos2dx_ui_CheckBox(tolua_S);
lua_register_cocos2dx_ui_Layout(tolua_S); lua_register_cocos2dx_ui_Layout(tolua_S);
lua_register_cocos2dx_ui_RelativeBox(tolua_S);
lua_register_cocos2dx_ui_CheckBox(tolua_S);
lua_register_cocos2dx_ui_TextAtlas(tolua_S); lua_register_cocos2dx_ui_TextAtlas(tolua_S);
lua_register_cocos2dx_ui_TextBMFont(tolua_S); lua_register_cocos2dx_ui_TextBMFont(tolua_S);
lua_register_cocos2dx_ui_LoadingBar(tolua_S); lua_register_cocos2dx_ui_LoadingBar(tolua_S);
lua_register_cocos2dx_ui_TextField(tolua_S); lua_register_cocos2dx_ui_TextField(tolua_S);
lua_register_cocos2dx_ui_VBox(tolua_S);
lua_register_cocos2dx_ui_RichElement(tolua_S); lua_register_cocos2dx_ui_RichElement(tolua_S);
lua_register_cocos2dx_ui_RichElementCustomNode(tolua_S); lua_register_cocos2dx_ui_RichElementCustomNode(tolua_S);
lua_register_cocos2dx_ui_Slider(tolua_S); lua_register_cocos2dx_ui_Slider(tolua_S);
@ -16820,6 +17122,7 @@ TOLUA_API int register_all_cocos2dx_ui(lua_State* tolua_S)
lua_register_cocos2dx_ui_LayoutParameter(tolua_S); lua_register_cocos2dx_ui_LayoutParameter(tolua_S);
lua_register_cocos2dx_ui_LinearLayoutParameter(tolua_S); lua_register_cocos2dx_ui_LinearLayoutParameter(tolua_S);
lua_register_cocos2dx_ui_ImageView(tolua_S); lua_register_cocos2dx_ui_ImageView(tolua_S);
lua_register_cocos2dx_ui_HBox(tolua_S);
lua_register_cocos2dx_ui_RichElementText(tolua_S); lua_register_cocos2dx_ui_RichElementText(tolua_S);
lua_register_cocos2dx_ui_PageView(tolua_S); lua_register_cocos2dx_ui_PageView(tolua_S);
lua_register_cocos2dx_ui_Helper(tolua_S); lua_register_cocos2dx_ui_Helper(tolua_S);

View File

@ -377,6 +377,15 @@ int register_all_cocos2dx_ui(lua_State* tolua_S);