diff --git a/cocos/scripting/lua-bindings/auto/api/ActionFrame.lua b/cocos/scripting/lua-bindings/auto/api/ActionFrame.lua index 0a2637cb6c..7f90dfebe1 100644 --- a/cocos/scripting/lua-bindings/auto/api/ActionFrame.lua +++ b/cocos/scripting/lua-bindings/auto/api/ActionFrame.lua @@ -11,7 +11,7 @@ -- @param self -- @param #float duration -- @param #ccs.ActionFrame srcFrame --- @return ActionInterval#ActionInterval ret (retunr value: cc.ActionInterval) +-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) -------------------------------- -- Gets the type of action frame
diff --git a/cocos/scripting/lua-bindings/auto/api/ActionManagerEx.lua b/cocos/scripting/lua-bindings/auto/api/ActionManagerEx.lua index 0be42e90d1..df0e25a32b 100644 --- a/cocos/scripting/lua-bindings/auto/api/ActionManagerEx.lua +++ b/cocos/scripting/lua-bindings/auto/api/ActionManagerEx.lua @@ -12,7 +12,7 @@ -- @param #char jsonName -- @param #char actionName -- @param #cc.CallFunc func --- @return ActionObject#ActionObject ret (retunr value: ccs.ActionObject) +-- @return ActionObject#ActionObject ret (return value: ccs.ActionObject) -------------------------------- -- Gets an ActionObject with a name.
diff --git a/cocos/scripting/lua-bindings/auto/api/ActionRotationFrame.lua b/cocos/scripting/lua-bindings/auto/api/ActionRotationFrame.lua index 3e1cf8fb83..47d6952749 100644 --- a/cocos/scripting/lua-bindings/auto/api/ActionRotationFrame.lua +++ b/cocos/scripting/lua-bindings/auto/api/ActionRotationFrame.lua @@ -18,7 +18,7 @@ -- @param self -- @param #float duration -- @param #ccs.ActionFrame srcFrame --- @return ActionInterval#ActionInterval ret (retunr value: cc.ActionInterval) +-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval) -------------------------------- -- Gets the rotate action rotation.
diff --git a/cocos/scripting/lua-bindings/auto/api/Animate.lua b/cocos/scripting/lua-bindings/auto/api/Animate.lua index f3bf16dc52..c654909182 100644 --- a/cocos/scripting/lua-bindings/auto/api/Animate.lua +++ b/cocos/scripting/lua-bindings/auto/api/Animate.lua @@ -9,7 +9,7 @@ -- @overload self -- @function [parent=#Animate] getAnimation -- @param self --- @return Animation#Animation ret (retunr value: cc.Animation) +-- @return Animation#Animation ret (return value: cc.Animation) -------------------------------- -- sets the Animation object to be animated diff --git a/cocos/scripting/lua-bindings/auto/api/Animate3D.lua b/cocos/scripting/lua-bindings/auto/api/Animate3D.lua index 799140a2d5..20860e774f 100644 --- a/cocos/scripting/lua-bindings/auto/api/Animate3D.lua +++ b/cocos/scripting/lua-bindings/auto/api/Animate3D.lua @@ -36,7 +36,7 @@ -- @param #cc.Animation3D animation -- @param #float fromTime -- @param #float duration --- @return Animate3D#Animate3D ret (retunr value: cc.Animate3D) +-- @return Animate3D#Animate3D ret (return value: cc.Animate3D) -------------------------------- -- animate transistion time diff --git a/cocos/scripting/lua-bindings/auto/api/Animation.lua b/cocos/scripting/lua-bindings/auto/api/Animation.lua index 4dc9976680..1f6c3e4adb 100644 --- a/cocos/scripting/lua-bindings/auto/api/Animation.lua +++ b/cocos/scripting/lua-bindings/auto/api/Animation.lua @@ -102,7 +102,7 @@ -- @param #array_table arrayOfAnimationFrameNames -- @param #float delayPerUnit -- @param #unsigned int loops --- @return Animation#Animation ret (retunr value: cc.Animation) +-- @return Animation#Animation ret (return value: cc.Animation) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/AnimationFrame.lua b/cocos/scripting/lua-bindings/auto/api/AnimationFrame.lua index 8a6609349b..509bc35945 100644 --- a/cocos/scripting/lua-bindings/auto/api/AnimationFrame.lua +++ b/cocos/scripting/lua-bindings/auto/api/AnimationFrame.lua @@ -15,7 +15,7 @@ -- @overload self -- @function [parent=#AnimationFrame] getUserInfo -- @param self --- @return map_table#map_table ret (retunr value: map_table) +-- @return map_table#map_table ret (return value: map_table) -------------------------------- -- Sets the units of time the frame takes diff --git a/cocos/scripting/lua-bindings/auto/api/Armature.lua b/cocos/scripting/lua-bindings/auto/api/Armature.lua index bed47ac8bf..9962e6e868 100644 --- a/cocos/scripting/lua-bindings/auto/api/Armature.lua +++ b/cocos/scripting/lua-bindings/auto/api/Armature.lua @@ -81,7 +81,7 @@ -- @param self -- @param #string name -- @param #ccs.Bone parentBone --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -154,7 +154,7 @@ -- @param self -- @param #string name -- @param #ccs.Bone parentBone --- @return Armature#Armature ret (retunr value: ccs.Armature) +-- @return Armature#Armature ret (return value: ccs.Armature) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/AudioEngine.lua b/cocos/scripting/lua-bindings/auto/api/AudioEngine.lua index 1f0afa6876..228bbf0d61 100644 --- a/cocos/scripting/lua-bindings/auto/api/AudioEngine.lua +++ b/cocos/scripting/lua-bindings/auto/api/AudioEngine.lua @@ -181,6 +181,6 @@ -- @function [parent=#AudioEngine] getProfile -- @param self -- @param #int audioID --- @return experimental::AudioProfile#experimental::AudioProfile ret (retunr value: cc.experimental::AudioProfile) +-- @return experimental::AudioProfile#experimental::AudioProfile ret (return value: cc.experimental::AudioProfile) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/BillBoard.lua b/cocos/scripting/lua-bindings/auto/api/BillBoard.lua index 1b759c2f86..0b94022bb2 100644 --- a/cocos/scripting/lua-bindings/auto/api/BillBoard.lua +++ b/cocos/scripting/lua-bindings/auto/api/BillBoard.lua @@ -25,7 +25,7 @@ -- @param #string filename -- @param #rect_table rect -- @param #int mode --- @return BillBoard#BillBoard ret (retunr value: cc.BillBoard) +-- @return BillBoard#BillBoard ret (return value: cc.BillBoard) -------------------------------- -- Creates a BillBoard with a Texture2D object.
diff --git a/cocos/scripting/lua-bindings/auto/api/Bone.lua b/cocos/scripting/lua-bindings/auto/api/Bone.lua index 99606c4270..1085cb87ac 100644 --- a/cocos/scripting/lua-bindings/auto/api/Bone.lua +++ b/cocos/scripting/lua-bindings/auto/api/Bone.lua @@ -94,7 +94,7 @@ -- @function [parent=#Bone] init -- @param self -- @param #string name --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- Set parent bone.
@@ -209,7 +209,7 @@ -- @function [parent=#Bone] create -- @param self -- @param #string name --- @return Bone#Bone ret (retunr value: ccs.Bone) +-- @return Bone#Bone ret (return value: ccs.Bone) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/Button.lua b/cocos/scripting/lua-bindings/auto/api/Button.lua index 9ca71a4f9c..ef942e8fa4 100644 --- a/cocos/scripting/lua-bindings/auto/api/Button.lua +++ b/cocos/scripting/lua-bindings/auto/api/Button.lua @@ -189,7 +189,7 @@ -- @param #string selectedImage -- @param #string disableImage -- @param #int texType --- @return Button#Button ret (retunr value: ccui.Button) +-- @return Button#Button ret (return value: ccui.Button) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/CheckBox.lua b/cocos/scripting/lua-bindings/auto/api/CheckBox.lua index 3ef7cf5013..0ca3ebc62c 100644 --- a/cocos/scripting/lua-bindings/auto/api/CheckBox.lua +++ b/cocos/scripting/lua-bindings/auto/api/CheckBox.lua @@ -94,7 +94,7 @@ -- @param #string backGroundDisabled -- @param #string frontCrossDisabled -- @param #int texType --- @return CheckBox#CheckBox ret (retunr value: ccui.CheckBox) +-- @return CheckBox#CheckBox ret (return value: ccui.CheckBox) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/ClippingNode.lua b/cocos/scripting/lua-bindings/auto/api/ClippingNode.lua index a8ac20c195..6f7f27e934 100644 --- a/cocos/scripting/lua-bindings/auto/api/ClippingNode.lua +++ b/cocos/scripting/lua-bindings/auto/api/ClippingNode.lua @@ -53,7 +53,7 @@ -- @function [parent=#ClippingNode] create -- @param self -- @param #cc.Node stencil --- @return ClippingNode#ClippingNode ret (retunr value: cc.ClippingNode) +-- @return ClippingNode#ClippingNode ret (return value: cc.ClippingNode) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/ClippingRectangleNode.lua b/cocos/scripting/lua-bindings/auto/api/ClippingRectangleNode.lua index 3678abe33c..fc88ed44a0 100644 --- a/cocos/scripting/lua-bindings/auto/api/ClippingRectangleNode.lua +++ b/cocos/scripting/lua-bindings/auto/api/ClippingRectangleNode.lua @@ -34,7 +34,7 @@ -- @function [parent=#ClippingRectangleNode] create -- @param self -- @param #rect_table clippingRegion --- @return ClippingRectangleNode#ClippingRectangleNode ret (retunr value: cc.ClippingRectangleNode) +-- @return ClippingRectangleNode#ClippingRectangleNode ret (return value: cc.ClippingRectangleNode) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/ComAudio.lua b/cocos/scripting/lua-bindings/auto/api/ComAudio.lua index a79ab68966..4ac0e0b157 100644 --- a/cocos/scripting/lua-bindings/auto/api/ComAudio.lua +++ b/cocos/scripting/lua-bindings/auto/api/ComAudio.lua @@ -101,7 +101,7 @@ -- @param self -- @param #char pszFilePath -- @param #bool bLoop --- @return unsigned int#unsigned int ret (retunr value: unsigned int) +-- @return unsigned int#unsigned int ret (return value: unsigned int) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/ComRender.lua b/cocos/scripting/lua-bindings/auto/api/ComRender.lua index afc835a203..bcb87c8f0e 100644 --- a/cocos/scripting/lua-bindings/auto/api/ComRender.lua +++ b/cocos/scripting/lua-bindings/auto/api/ComRender.lua @@ -23,7 +23,7 @@ -- @param self -- @param #cc.Node node -- @param #char comName --- @return ComRender#ComRender ret (retunr value: ccs.ComRender) +-- @return ComRender#ComRender ret (return value: ccs.ComRender) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/ControlButton.lua b/cocos/scripting/lua-bindings/auto/api/ControlButton.lua index 5d757d9b16..617ce07ef0 100644 --- a/cocos/scripting/lua-bindings/auto/api/ControlButton.lua +++ b/cocos/scripting/lua-bindings/auto/api/ControlButton.lua @@ -140,7 +140,7 @@ -- @overload self -- @function [parent=#ControlButton] getCurrentTitle -- @param self --- @return string#string ret (retunr value: string) +-- @return string#string ret (return value: string) -------------------------------- -- @@ -297,7 +297,7 @@ -- @param #string title -- @param #string fontName -- @param #float fontSize --- @return ControlButton#ControlButton ret (retunr value: cc.ControlButton) +-- @return ControlButton#ControlButton ret (return value: cc.ControlButton) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/ControlSlider.lua b/cocos/scripting/lua-bindings/auto/api/ControlSlider.lua index 33e66b6ccf..8a1521a1ef 100644 --- a/cocos/scripting/lua-bindings/auto/api/ControlSlider.lua +++ b/cocos/scripting/lua-bindings/auto/api/ControlSlider.lua @@ -103,7 +103,7 @@ -- @param #cc.Sprite progressSprite -- @param #cc.Sprite thumbSprite -- @param #cc.Sprite selectedThumbSprite --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -159,7 +159,7 @@ -- @param #cc.Sprite pogressSprite -- @param #cc.Sprite thumbSprite -- @param #cc.Sprite selectedThumbSprite --- @return ControlSlider#ControlSlider ret (retunr value: cc.ControlSlider) +-- @return ControlSlider#ControlSlider ret (return value: cc.ControlSlider) -------------------------------- -- js ctor diff --git a/cocos/scripting/lua-bindings/auto/api/ControlSwitch.lua b/cocos/scripting/lua-bindings/auto/api/ControlSwitch.lua index e7841e64f2..11f24f8ed9 100644 --- a/cocos/scripting/lua-bindings/auto/api/ControlSwitch.lua +++ b/cocos/scripting/lua-bindings/auto/api/ControlSwitch.lua @@ -35,7 +35,7 @@ -- @param #cc.Sprite thumbSprite -- @param #cc.Label onLabel -- @param #cc.Label offLabel --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -61,7 +61,7 @@ -- @param #cc.Sprite thumbSprite -- @param #cc.Label onLabel -- @param #cc.Label offLabel --- @return ControlSwitch#ControlSwitch ret (retunr value: cc.ControlSwitch) +-- @return ControlSwitch#ControlSwitch ret (return value: cc.ControlSwitch) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/DisplayManager.lua b/cocos/scripting/lua-bindings/auto/api/DisplayManager.lua index efbcde86af..e20d0834e9 100644 --- a/cocos/scripting/lua-bindings/auto/api/DisplayManager.lua +++ b/cocos/scripting/lua-bindings/auto/api/DisplayManager.lua @@ -68,7 +68,7 @@ -- @param self -- @param #float x -- @param #float y --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- Change display by index. You can just use this method to change display in the display list.
diff --git a/cocos/scripting/lua-bindings/auto/api/EaseElasticIn.lua b/cocos/scripting/lua-bindings/auto/api/EaseElasticIn.lua index be975202b7..4fc1c9bc5f 100644 --- a/cocos/scripting/lua-bindings/auto/api/EaseElasticIn.lua +++ b/cocos/scripting/lua-bindings/auto/api/EaseElasticIn.lua @@ -11,7 +11,7 @@ -- @param self -- @param #cc.ActionInterval action -- @param #float period --- @return EaseElasticIn#EaseElasticIn ret (retunr value: cc.EaseElasticIn) +-- @return EaseElasticIn#EaseElasticIn ret (return value: cc.EaseElasticIn) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/EaseElasticInOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseElasticInOut.lua index cae6e19b10..cd5b7c50d0 100644 --- a/cocos/scripting/lua-bindings/auto/api/EaseElasticInOut.lua +++ b/cocos/scripting/lua-bindings/auto/api/EaseElasticInOut.lua @@ -11,7 +11,7 @@ -- @param self -- @param #cc.ActionInterval action -- @param #float period --- @return EaseElasticInOut#EaseElasticInOut ret (retunr value: cc.EaseElasticInOut) +-- @return EaseElasticInOut#EaseElasticInOut ret (return value: cc.EaseElasticInOut) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua b/cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua index 2b825cc636..18565fbf43 100644 --- a/cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua +++ b/cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua @@ -11,7 +11,7 @@ -- @param self -- @param #cc.ActionInterval action -- @param #float period --- @return EaseElasticOut#EaseElasticOut ret (retunr value: cc.EaseElasticOut) +-- @return EaseElasticOut#EaseElasticOut ret (return value: cc.EaseElasticOut) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/EditBox.lua b/cocos/scripting/lua-bindings/auto/api/EditBox.lua index 787fa937d7..05201dc10e 100644 --- a/cocos/scripting/lua-bindings/auto/api/EditBox.lua +++ b/cocos/scripting/lua-bindings/auto/api/EditBox.lua @@ -159,7 +159,7 @@ -- @param #size_table size -- @param #string pNormal9SpriteBg -- @param #int texType --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- Set a text in the edit box that acts as a placeholder when an
@@ -224,7 +224,7 @@ -- @param #ccui.Scale9Sprite normalSprite -- @param #ccui.Scale9Sprite pressedSprite -- @param #ccui.Scale9Sprite disabledSprite --- @return EditBox#EditBox ret (retunr value: ccui.EditBox) +-- @return EditBox#EditBox ret (return value: ccui.EditBox) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/Grid3D.lua b/cocos/scripting/lua-bindings/auto/api/Grid3D.lua index c3a9acd189..84cd3deebd 100644 --- a/cocos/scripting/lua-bindings/auto/api/Grid3D.lua +++ b/cocos/scripting/lua-bindings/auto/api/Grid3D.lua @@ -24,7 +24,7 @@ -- @param #size_table gridSize -- @param #cc.Texture2D texture -- @param #bool flipped --- @return Grid3D#Grid3D ret (retunr value: cc.Grid3D) +-- @return Grid3D#Grid3D ret (return value: cc.Grid3D) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/GridBase.lua b/cocos/scripting/lua-bindings/auto/api/GridBase.lua index bf139480dd..635e3682ac 100644 --- a/cocos/scripting/lua-bindings/auto/api/GridBase.lua +++ b/cocos/scripting/lua-bindings/auto/api/GridBase.lua @@ -91,7 +91,7 @@ -- @param #size_table gridSize -- @param #cc.Texture2D texture -- @param #bool flipped --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -123,6 +123,6 @@ -- @param #size_table gridSize -- @param #cc.Texture2D texture -- @param #bool flipped --- @return GridBase#GridBase ret (retunr value: cc.GridBase) +-- @return GridBase#GridBase ret (return value: cc.GridBase) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/HBox.lua b/cocos/scripting/lua-bindings/auto/api/HBox.lua index cec73b279a..a1157c78fd 100644 --- a/cocos/scripting/lua-bindings/auto/api/HBox.lua +++ b/cocos/scripting/lua-bindings/auto/api/HBox.lua @@ -10,7 +10,7 @@ -- @function [parent=#HBox] create -- @param self -- @param #size_table size --- @return HBox#HBox ret (retunr value: ccui.HBox) +-- @return HBox#HBox ret (return value: ccui.HBox) -------------------------------- -- Default constructor diff --git a/cocos/scripting/lua-bindings/auto/api/Helper.lua b/cocos/scripting/lua-bindings/auto/api/Helper.lua index 1a48291492..02860c10d9 100644 --- a/cocos/scripting/lua-bindings/auto/api/Helper.lua +++ b/cocos/scripting/lua-bindings/auto/api/Helper.lua @@ -18,20 +18,9 @@ -------------------------------- -- --- @function [parent=#Helper] doLayout +-- @function [parent=#Helper] changeLayoutSystemActiveState -- @param self --- @param #cc.Node rootNode - --------------------------------- --- Finds a widget whose tag equals to param tag from root widget.
--- param root widget which will be seeked.
--- tag tag value.
--- return finded result. --- @function [parent=#Helper] seekWidgetByTag --- @param self --- @param #ccui.Widget root --- @param #int tag --- @return Widget#Widget ret (return value: ccui.Widget) +-- @param #bool bActive -------------------------------- -- @@ -52,4 +41,21 @@ -- @param #string name -- @return Widget#Widget ret (return value: ccui.Widget) +-------------------------------- +-- Finds a widget whose tag equals to param tag from root widget.
+-- param root widget which will be seeked.
+-- tag tag value.
+-- return finded result. +-- @function [parent=#Helper] seekWidgetByTag +-- @param self +-- @param #ccui.Widget root +-- @param #int tag +-- @return Widget#Widget ret (return value: ccui.Widget) + +-------------------------------- +-- +-- @function [parent=#Helper] doLayout +-- @param self +-- @param #cc.Node rootNode + return nil diff --git a/cocos/scripting/lua-bindings/auto/api/ImageView.lua b/cocos/scripting/lua-bindings/auto/api/ImageView.lua index 6bfec98e56..6e61eb667c 100644 --- a/cocos/scripting/lua-bindings/auto/api/ImageView.lua +++ b/cocos/scripting/lua-bindings/auto/api/ImageView.lua @@ -53,7 +53,7 @@ -- @param self -- @param #string imageFileName -- @param #int texType --- @return ImageView#ImageView ret (retunr value: ccui.ImageView) +-- @return ImageView#ImageView ret (return value: ccui.ImageView) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/Label.lua b/cocos/scripting/lua-bindings/auto/api/Label.lua index 41505c7399..30999eeab0 100644 --- a/cocos/scripting/lua-bindings/auto/api/Label.lua +++ b/cocos/scripting/lua-bindings/auto/api/Label.lua @@ -170,7 +170,7 @@ -- @param #int itemWidth -- @param #int itemHeight -- @param #int startCharMap --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -324,7 +324,7 @@ -- @param #int itemWidth -- @param #int itemHeight -- @param #int startCharMap --- @return Label#Label ret (retunr value: cc.Label) +-- @return Label#Label ret (return value: cc.Label) -------------------------------- -- Creates a label with an initial string,font[font name or font file],font size, dimension in points, horizontal alignment and vertical alignment.
diff --git a/cocos/scripting/lua-bindings/auto/api/LabelAtlas.lua b/cocos/scripting/lua-bindings/auto/api/LabelAtlas.lua index 53d042dc5f..55e74dfd82 100644 --- a/cocos/scripting/lua-bindings/auto/api/LabelAtlas.lua +++ b/cocos/scripting/lua-bindings/auto/api/LabelAtlas.lua @@ -21,7 +21,7 @@ -- @param #int itemWidth -- @param #int itemHeight -- @param #int startCharMap --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -45,7 +45,7 @@ -- @param #int itemWidth -- @param #int itemHeight -- @param #int startCharMap --- @return LabelAtlas#LabelAtlas ret (retunr value: cc.LabelAtlas) +-- @return LabelAtlas#LabelAtlas ret (return value: cc.LabelAtlas) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/LayerColor.lua b/cocos/scripting/lua-bindings/auto/api/LayerColor.lua index c4cdc21e89..ecd145983e 100644 --- a/cocos/scripting/lua-bindings/auto/api/LayerColor.lua +++ b/cocos/scripting/lua-bindings/auto/api/LayerColor.lua @@ -33,7 +33,7 @@ -- @param #color4b_table color -- @param #float width -- @param #float height --- @return LayerColor#LayerColor ret (retunr value: cc.LayerColor) +-- @return LayerColor#LayerColor ret (return value: cc.LayerColor) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/LayerGradient.lua b/cocos/scripting/lua-bindings/auto/api/LayerGradient.lua index fda8a00876..041c4d9d40 100644 --- a/cocos/scripting/lua-bindings/auto/api/LayerGradient.lua +++ b/cocos/scripting/lua-bindings/auto/api/LayerGradient.lua @@ -87,7 +87,7 @@ -- @param #color4b_table start -- @param #color4b_table end -- @param #vec2_table v --- @return LayerGradient#LayerGradient ret (retunr value: cc.LayerGradient) +-- @return LayerGradient#LayerGradient ret (return value: cc.LayerGradient) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/LoadingBar.lua b/cocos/scripting/lua-bindings/auto/api/LoadingBar.lua index bb0fa5deff..535a59cbb7 100644 --- a/cocos/scripting/lua-bindings/auto/api/LoadingBar.lua +++ b/cocos/scripting/lua-bindings/auto/api/LoadingBar.lua @@ -76,7 +76,7 @@ -- @param self -- @param #string textureName -- @param #float percentage --- @return LoadingBar#LoadingBar ret (retunr value: ccui.LoadingBar) +-- @return LoadingBar#LoadingBar ret (return value: ccui.LoadingBar) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/MotionStreak.lua b/cocos/scripting/lua-bindings/auto/api/MotionStreak.lua index 63d586f109..e9ab48c0fe 100644 --- a/cocos/scripting/lua-bindings/auto/api/MotionStreak.lua +++ b/cocos/scripting/lua-bindings/auto/api/MotionStreak.lua @@ -61,7 +61,7 @@ -- @param #float stroke -- @param #color3b_table color -- @param #string path --- @return MotionStreak#MotionStreak ret (retunr value: cc.MotionStreak) +-- @return MotionStreak#MotionStreak ret (return value: cc.MotionStreak) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/Node.lua b/cocos/scripting/lua-bindings/auto/api/Node.lua index 1b5400ed2a..98cfbcb1ae 100644 --- a/cocos/scripting/lua-bindings/auto/api/Node.lua +++ b/cocos/scripting/lua-bindings/auto/api/Node.lua @@ -21,7 +21,7 @@ -- @function [parent=#Node] removeComponent -- @param self -- @param #string name --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- set the PhysicsBody that let the sprite effect with physics
@@ -68,7 +68,7 @@ -- @overload self -- @function [parent=#Node] getChildren -- @param self --- @return array_table#array_table ret (retunr value: array_table) +-- @return array_table#array_table ret (return value: array_table) -------------------------------- -- @@ -643,7 +643,7 @@ -- @overload self -- @function [parent=#Node] getScheduler -- @param self --- @return Scheduler#Scheduler ret (retunr value: cc.Scheduler) +-- @return Scheduler#Scheduler ret (return value: cc.Scheduler) -------------------------------- -- @@ -686,7 +686,7 @@ -- @overload self -- @function [parent=#Node] getParent -- @param self --- @return Node#Node ret (retunr value: cc.Node) +-- @return Node#Node ret (return value: cc.Node) -------------------------------- -- Gets position Z coordinate of this node.
@@ -1038,7 +1038,7 @@ -- @overload self -- @function [parent=#Node] getActionManager -- @param self --- @return ActionManager#ActionManager ret (retunr value: cc.ActionManager) +-- @return ActionManager#ActionManager ret (return value: cc.ActionManager) -------------------------------- -- Allocates and initializes a node.
diff --git a/cocos/scripting/lua-bindings/auto/api/NodeGrid.lua b/cocos/scripting/lua-bindings/auto/api/NodeGrid.lua index 7ccb4f01c2..0fe90992ba 100644 --- a/cocos/scripting/lua-bindings/auto/api/NodeGrid.lua +++ b/cocos/scripting/lua-bindings/auto/api/NodeGrid.lua @@ -15,7 +15,7 @@ -- @overload self -- @function [parent=#NodeGrid] getGrid -- @param self --- @return GridBase#GridBase ret (retunr value: cc.GridBase) +-- @return GridBase#GridBase ret (return value: cc.GridBase) -------------------------------- -- Changes a grid object that is used when applying effects
diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua b/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua index b4efdc78a4..3d5834f858 100644 --- a/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua +++ b/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua @@ -37,7 +37,7 @@ -- @function [parent=#ParticleSystemQuad] create -- @param self -- @param #map_table dictionary --- @return ParticleSystemQuad#ParticleSystemQuad ret (retunr value: cc.ParticleSystemQuad) +-- @return ParticleSystemQuad#ParticleSystemQuad ret (return value: cc.ParticleSystemQuad) -------------------------------- -- creates a Particle Emitter with a number of particles diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsBody.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsBody.lua index 62e4933a0b..3202c50f16 100644 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsBody.lua +++ b/cocos/scripting/lua-bindings/auto/api/PhysicsBody.lua @@ -435,7 +435,7 @@ -- @param self -- @param #float mass -- @param #float moment --- @return PhysicsBody#PhysicsBody ret (retunr value: cc.PhysicsBody) +-- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody) -------------------------------- -- Create a body contains a EdgeBox shape. diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointLimit.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointLimit.lua index 6b4a92acd8..80b7d4df7d 100644 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointLimit.lua +++ b/cocos/scripting/lua-bindings/auto/api/PhysicsJointLimit.lua @@ -63,6 +63,6 @@ -- @param #vec2_table anchr2 -- @param #float min -- @param #float max --- @return PhysicsJointLimit#PhysicsJointLimit ret (retunr value: cc.PhysicsJointLimit) +-- @return PhysicsJointLimit#PhysicsJointLimit ret (return value: cc.PhysicsJointLimit) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotaryLimit.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotaryLimit.lua index 8feaf87785..9600c188e7 100644 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotaryLimit.lua +++ b/cocos/scripting/lua-bindings/auto/api/PhysicsJointRotaryLimit.lua @@ -37,6 +37,6 @@ -- @param #cc.PhysicsBody b -- @param #float min -- @param #float max --- @return PhysicsJointRotaryLimit#PhysicsJointRotaryLimit ret (retunr value: cc.PhysicsJointRotaryLimit) +-- @return PhysicsJointRotaryLimit#PhysicsJointRotaryLimit ret (return value: cc.PhysicsJointRotaryLimit) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/RelativeBox.lua b/cocos/scripting/lua-bindings/auto/api/RelativeBox.lua index b919424813..a3c1e981dd 100644 --- a/cocos/scripting/lua-bindings/auto/api/RelativeBox.lua +++ b/cocos/scripting/lua-bindings/auto/api/RelativeBox.lua @@ -10,7 +10,7 @@ -- @function [parent=#RelativeBox] create -- @param self -- @param #size_table size --- @return RelativeBox#RelativeBox ret (retunr value: ccui.RelativeBox) +-- @return RelativeBox#RelativeBox ret (return value: ccui.RelativeBox) -------------------------------- -- Default constructor diff --git a/cocos/scripting/lua-bindings/auto/api/RenderTexture.lua b/cocos/scripting/lua-bindings/auto/api/RenderTexture.lua index d7f705032c..92fcdaf0d0 100644 --- a/cocos/scripting/lua-bindings/auto/api/RenderTexture.lua +++ b/cocos/scripting/lua-bindings/auto/api/RenderTexture.lua @@ -86,7 +86,7 @@ -- @param #int format -- @param #bool isRGBA -- @param #function callback --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -166,7 +166,7 @@ -- @param #int h -- @param #int format -- @param #unsigned int depthStencilFormat --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @overload self, int, int, int @@ -178,7 +178,7 @@ -- @param #int h -- @param #int format -- @param #unsigned int depthStencilFormat --- @return RenderTexture#RenderTexture ret (retunr value: cc.RenderTexture) +-- @return RenderTexture#RenderTexture ret (return value: cc.RenderTexture) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/RotateBy.lua b/cocos/scripting/lua-bindings/auto/api/RotateBy.lua index 05a24a7f5a..e2414fc0d2 100644 --- a/cocos/scripting/lua-bindings/auto/api/RotateBy.lua +++ b/cocos/scripting/lua-bindings/auto/api/RotateBy.lua @@ -13,7 +13,7 @@ -- @param #float duration -- @param #float deltaAngleZ_X -- @param #float deltaAngleZ_Y --- @return RotateBy#RotateBy ret (retunr value: cc.RotateBy) +-- @return RotateBy#RotateBy ret (return value: cc.RotateBy) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/RotateTo.lua b/cocos/scripting/lua-bindings/auto/api/RotateTo.lua index 9a03166d87..0a6a7aecfb 100644 --- a/cocos/scripting/lua-bindings/auto/api/RotateTo.lua +++ b/cocos/scripting/lua-bindings/auto/api/RotateTo.lua @@ -13,7 +13,7 @@ -- @param #float duration -- @param #float dstAngleX -- @param #float dstAngleY --- @return RotateTo#RotateTo ret (retunr value: cc.RotateTo) +-- @return RotateTo#RotateTo ret (return value: cc.RotateTo) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/Scale9Sprite.lua b/cocos/scripting/lua-bindings/auto/api/Scale9Sprite.lua index 120d1ab79f..c261634a7d 100644 --- a/cocos/scripting/lua-bindings/auto/api/Scale9Sprite.lua +++ b/cocos/scripting/lua-bindings/auto/api/Scale9Sprite.lua @@ -20,7 +20,7 @@ -- @param #vec2_table offset -- @param #size_table originalSize -- @param #rect_table capInsets --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- Returns the flag which indicates whether the widget is flipped horizontally or not.
@@ -71,7 +71,7 @@ -- @param self -- @param #string spriteFrameName -- @param #rect_table capInsets --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -98,7 +98,7 @@ -- @param #vec2_table offset -- @param #size_table originalSize -- @param #rect_table capInsets --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -164,7 +164,7 @@ -- @param #string file -- @param #rect_table rect -- @param #rect_table capInsets --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -185,7 +185,7 @@ -- @param self -- @param #cc.SpriteFrame spriteFrame -- @param #rect_table capInsets --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- @@ -233,7 +233,7 @@ -- @param #string file -- @param #rect_table rect -- @param #rect_table capInsets --- @return Scale9Sprite#Scale9Sprite ret (retunr value: ccui.Scale9Sprite) +-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) -------------------------------- -- @overload self, string, rect_table @@ -242,7 +242,7 @@ -- @param self -- @param #string spriteFrameName -- @param #rect_table capInsets --- @return Scale9Sprite#Scale9Sprite ret (retunr value: ccui.Scale9Sprite) +-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) -------------------------------- -- @overload self, cc.SpriteFrame, rect_table @@ -251,7 +251,7 @@ -- @param self -- @param #cc.SpriteFrame spriteFrame -- @param #rect_table capInsets --- @return Scale9Sprite#Scale9Sprite ret (retunr value: ccui.Scale9Sprite) +-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/ScaleBy.lua b/cocos/scripting/lua-bindings/auto/api/ScaleBy.lua index f7e93e6bfb..b4261674aa 100644 --- a/cocos/scripting/lua-bindings/auto/api/ScaleBy.lua +++ b/cocos/scripting/lua-bindings/auto/api/ScaleBy.lua @@ -14,7 +14,7 @@ -- @param #float sx -- @param #float sy -- @param #float sz --- @return ScaleBy#ScaleBy ret (retunr value: cc.ScaleBy) +-- @return ScaleBy#ScaleBy ret (return value: cc.ScaleBy) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/ScaleTo.lua b/cocos/scripting/lua-bindings/auto/api/ScaleTo.lua index 7709deadf1..83f7a97a77 100644 --- a/cocos/scripting/lua-bindings/auto/api/ScaleTo.lua +++ b/cocos/scripting/lua-bindings/auto/api/ScaleTo.lua @@ -14,7 +14,7 @@ -- @param #float sx -- @param #float sy -- @param #float sz --- @return ScaleTo#ScaleTo ret (retunr value: cc.ScaleTo) +-- @return ScaleTo#ScaleTo ret (return value: cc.ScaleTo) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/ScrollView.lua b/cocos/scripting/lua-bindings/auto/api/ScrollView.lua index 1cd19f24c4..f11f4dd0f2 100644 --- a/cocos/scripting/lua-bindings/auto/api/ScrollView.lua +++ b/cocos/scripting/lua-bindings/auto/api/ScrollView.lua @@ -297,7 +297,7 @@ -- @overload self -- @function [parent=#ScrollView] getChildren -- @param self --- @return array_table#array_table ret (retunr value: array_table) +-- @return array_table#array_table ret (return value: array_table) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua b/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua index d110b1de54..8723d2a16a 100644 --- a/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua +++ b/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua @@ -88,7 +88,7 @@ -- @param #string skeletonDataFile -- @param #spAtlas atlas -- @param #float scale --- @return SkeletonRenderer#SkeletonRenderer ret (retunr value: sp.SkeletonRenderer) +-- @return SkeletonRenderer#SkeletonRenderer ret (return value: sp.SkeletonRenderer) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/Skin.lua b/cocos/scripting/lua-bindings/auto/api/Skin.lua index c0f870f33f..8b73d20268 100644 --- a/cocos/scripting/lua-bindings/auto/api/Skin.lua +++ b/cocos/scripting/lua-bindings/auto/api/Skin.lua @@ -53,7 +53,7 @@ -- @function [parent=#Skin] create -- @param self -- @param #string pszFileName --- @return Skin#Skin ret (retunr value: ccs.Skin) +-- @return Skin#Skin ret (return value: ccs.Skin) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/Sprite.lua b/cocos/scripting/lua-bindings/auto/api/Sprite.lua index 1450fafc8d..a69416528e 100644 --- a/cocos/scripting/lua-bindings/auto/api/Sprite.lua +++ b/cocos/scripting/lua-bindings/auto/api/Sprite.lua @@ -196,7 +196,7 @@ -- @param self -- @param #string filename -- @param #rect_table rect --- @return Sprite#Sprite ret (retunr value: cc.Sprite) +-- @return Sprite#Sprite ret (return value: cc.Sprite) -------------------------------- -- @overload self, cc.Texture2D, rect_table, bool @@ -206,7 +206,7 @@ -- @param #cc.Texture2D texture -- @param #rect_table rect -- @param #bool rotated --- @return Sprite#Sprite ret (retunr value: cc.Sprite) +-- @return Sprite#Sprite ret (return value: cc.Sprite) -------------------------------- -- Creates a sprite with an sprite frame name.
diff --git a/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua b/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua index 14278931f0..5e49c2da7d 100644 --- a/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua +++ b/cocos/scripting/lua-bindings/auto/api/Sprite3D.lua @@ -92,7 +92,7 @@ -- @param self -- @param #string modelPath -- @param #string texturePath --- @return Sprite3D#Sprite3D ret (retunr value: cc.Sprite3D) +-- @return Sprite3D#Sprite3D ret (return value: cc.Sprite3D) -------------------------------- -- Returns 2d bounding-box
diff --git a/cocos/scripting/lua-bindings/auto/api/SpriteFrame.lua b/cocos/scripting/lua-bindings/auto/api/SpriteFrame.lua index b71c6eeaad..6ae07e43a5 100644 --- a/cocos/scripting/lua-bindings/auto/api/SpriteFrame.lua +++ b/cocos/scripting/lua-bindings/auto/api/SpriteFrame.lua @@ -116,7 +116,7 @@ -- @param #bool rotated -- @param #vec2_table offset -- @param #size_table originalSize --- @return SpriteFrame#SpriteFrame ret (retunr value: cc.SpriteFrame) +-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame) -------------------------------- -- @overload self, cc.Texture2D, rect_table, bool, vec2_table, size_table @@ -128,6 +128,6 @@ -- @param #bool rotated -- @param #vec2_table offset -- @param #size_table originalSize --- @return SpriteFrame#SpriteFrame ret (retunr value: cc.SpriteFrame) +-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TMXLayer.lua b/cocos/scripting/lua-bindings/auto/api/TMXLayer.lua index 92d5b7e46b..2dddd0bbae 100644 --- a/cocos/scripting/lua-bindings/auto/api/TMXLayer.lua +++ b/cocos/scripting/lua-bindings/auto/api/TMXLayer.lua @@ -58,7 +58,7 @@ -- @overload self -- @function [parent=#TMXLayer] getProperties -- @param self --- @return map_table#map_table ret (retunr value: map_table) +-- @return map_table#map_table ret (return value: map_table) -------------------------------- -- Creates the tiles diff --git a/cocos/scripting/lua-bindings/auto/api/TMXMapInfo.lua b/cocos/scripting/lua-bindings/auto/api/TMXMapInfo.lua index 3a77a877b5..346c2c4520 100644 --- a/cocos/scripting/lua-bindings/auto/api/TMXMapInfo.lua +++ b/cocos/scripting/lua-bindings/auto/api/TMXMapInfo.lua @@ -71,14 +71,14 @@ -- @overload self -- @function [parent=#TMXMapInfo] getLayers -- @param self --- @return array_table#array_table ret (retunr value: array_table) +-- @return array_table#array_table ret (return value: array_table) -------------------------------- -- @overload self -- @overload self -- @function [parent=#TMXMapInfo] getTilesets -- @param self --- @return array_table#array_table ret (retunr value: array_table) +-- @return array_table#array_table ret (return value: array_table) -------------------------------- -- / parent GID @@ -129,7 +129,7 @@ -- @overload self -- @function [parent=#TMXMapInfo] getObjectGroups -- @param self --- @return array_table#array_table ret (retunr value: array_table) +-- @return array_table#array_table ret (return value: array_table) -------------------------------- -- @@ -190,7 +190,7 @@ -- @overload self -- @function [parent=#TMXMapInfo] getProperties -- @param self --- @return map_table#map_table ret (retunr value: map_table) +-- @return map_table#map_table ret (return value: map_table) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/TMXObjectGroup.lua b/cocos/scripting/lua-bindings/auto/api/TMXObjectGroup.lua index 3d6c1ebed2..bb774849c6 100644 --- a/cocos/scripting/lua-bindings/auto/api/TMXObjectGroup.lua +++ b/cocos/scripting/lua-bindings/auto/api/TMXObjectGroup.lua @@ -36,7 +36,7 @@ -- @overload self -- @function [parent=#TMXObjectGroup] getObjects -- @param self --- @return array_table#array_table ret (retunr value: array_table) +-- @return array_table#array_table ret (return value: array_table) -------------------------------- -- @@ -49,7 +49,7 @@ -- @overload self -- @function [parent=#TMXObjectGroup] getProperties -- @param self --- @return map_table#map_table ret (retunr value: map_table) +-- @return map_table#map_table ret (return value: map_table) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/TMXTiledMap.lua b/cocos/scripting/lua-bindings/auto/api/TMXTiledMap.lua index 1e36be8fd4..f7d9166f65 100644 --- a/cocos/scripting/lua-bindings/auto/api/TMXTiledMap.lua +++ b/cocos/scripting/lua-bindings/auto/api/TMXTiledMap.lua @@ -35,7 +35,7 @@ -- @overload self -- @function [parent=#TMXTiledMap] getObjectGroups -- @param self --- @return array_table#array_table ret (retunr value: array_table) +-- @return array_table#array_table ret (return value: array_table) -------------------------------- -- the tiles's size property measured in pixels diff --git a/cocos/scripting/lua-bindings/auto/api/TargetedAction.lua b/cocos/scripting/lua-bindings/auto/api/TargetedAction.lua index 432a7b9a50..791a72d041 100644 --- a/cocos/scripting/lua-bindings/auto/api/TargetedAction.lua +++ b/cocos/scripting/lua-bindings/auto/api/TargetedAction.lua @@ -9,7 +9,7 @@ -- @overload self -- @function [parent=#TargetedAction] getForcedTarget -- @param self --- @return Node#Node ret (retunr value: cc.Node) +-- @return Node#Node ret (return value: cc.Node) -------------------------------- -- Sets the target that the action will be forced to run with diff --git a/cocos/scripting/lua-bindings/auto/api/Text.lua b/cocos/scripting/lua-bindings/auto/api/Text.lua index 7b1945dc30..875866554f 100644 --- a/cocos/scripting/lua-bindings/auto/api/Text.lua +++ b/cocos/scripting/lua-bindings/auto/api/Text.lua @@ -157,7 +157,7 @@ -- @param #string textContent -- @param #string fontName -- @param #int fontSize --- @return Text#Text ret (retunr value: ccui.Text) +-- @return Text#Text ret (return value: ccui.Text) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/TextAtlas.lua b/cocos/scripting/lua-bindings/auto/api/TextAtlas.lua index 7a23761192..6b34fb8ef7 100644 --- a/cocos/scripting/lua-bindings/auto/api/TextAtlas.lua +++ b/cocos/scripting/lua-bindings/auto/api/TextAtlas.lua @@ -50,7 +50,7 @@ -- @param #int itemWidth -- @param #int itemHeight -- @param #string startCharMap --- @return TextAtlas#TextAtlas ret (retunr value: ccui.TextAtlas) +-- @return TextAtlas#TextAtlas ret (return value: ccui.TextAtlas) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/TextBMFont.lua b/cocos/scripting/lua-bindings/auto/api/TextBMFont.lua index 7903e704e1..91a9bea412 100644 --- a/cocos/scripting/lua-bindings/auto/api/TextBMFont.lua +++ b/cocos/scripting/lua-bindings/auto/api/TextBMFont.lua @@ -38,7 +38,7 @@ -- @param self -- @param #string text -- @param #string filename --- @return TextBMFont#TextBMFont ret (retunr value: ccui.TextBMFont) +-- @return TextBMFont#TextBMFont ret (return value: ccui.TextBMFont) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/TextField.lua b/cocos/scripting/lua-bindings/auto/api/TextField.lua index 990bf1a9dd..3a032d7e46 100644 --- a/cocos/scripting/lua-bindings/auto/api/TextField.lua +++ b/cocos/scripting/lua-bindings/auto/api/TextField.lua @@ -240,7 +240,7 @@ -- @param #string placeholder -- @param #string fontName -- @param #int fontSize --- @return TextField#TextField ret (retunr value: ccui.TextField) +-- @return TextField#TextField ret (return value: ccui.TextField) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/Texture2D.lua b/cocos/scripting/lua-bindings/auto/api/Texture2D.lua index 77a95a5282..e850d53a20 100644 --- a/cocos/scripting/lua-bindings/auto/api/Texture2D.lua +++ b/cocos/scripting/lua-bindings/auto/api/Texture2D.lua @@ -24,7 +24,7 @@ -- @param self -- @param #cc.Image image -- @param #int format --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- Gets max S @@ -57,7 +57,7 @@ -- @function [parent=#Texture2D] getBitsPerPixelForFormat -- @param self -- @param #int format --- @return unsigned int#unsigned int ret (retunr value: unsigned int) +-- @return unsigned int#unsigned int ret (return value: unsigned int) -------------------------------- -- Gets the texture name @@ -76,7 +76,7 @@ -- @param #size_table dimensions -- @param #int hAlignment -- @param #int vAlignment --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- Sets max T diff --git a/cocos/scripting/lua-bindings/auto/api/TextureCache.lua b/cocos/scripting/lua-bindings/auto/api/TextureCache.lua index bcbc70498f..fffd67bedb 100644 --- a/cocos/scripting/lua-bindings/auto/api/TextureCache.lua +++ b/cocos/scripting/lua-bindings/auto/api/TextureCache.lua @@ -58,7 +58,7 @@ -- @param self -- @param #cc.Image image -- @param #string key --- @return Texture2D#Texture2D ret (retunr value: cc.Texture2D) +-- @return Texture2D#Texture2D ret (return value: cc.Texture2D) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/TiledGrid3D.lua b/cocos/scripting/lua-bindings/auto/api/TiledGrid3D.lua index 2d459cac13..d4c01906e3 100644 --- a/cocos/scripting/lua-bindings/auto/api/TiledGrid3D.lua +++ b/cocos/scripting/lua-bindings/auto/api/TiledGrid3D.lua @@ -12,7 +12,7 @@ -- @param #size_table gridSize -- @param #cc.Texture2D texture -- @param #bool flipped --- @return TiledGrid3D#TiledGrid3D ret (retunr value: cc.TiledGrid3D) +-- @return TiledGrid3D#TiledGrid3D ret (return value: cc.TiledGrid3D) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFade.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFade.lua index 7e98445787..64aaeb4a3f 100644 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFade.lua +++ b/cocos/scripting/lua-bindings/auto/api/TransitionFade.lua @@ -12,6 +12,6 @@ -- @param #float duration -- @param #cc.Scene scene -- @param #color3b_table color --- @return TransitionFade#TransitionFade ret (retunr value: cc.TransitionFade) +-- @return TransitionFade#TransitionFade ret (return value: cc.TransitionFade) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFlipAngular.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFlipAngular.lua index 9765783694..446e2d41d4 100644 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFlipAngular.lua +++ b/cocos/scripting/lua-bindings/auto/api/TransitionFlipAngular.lua @@ -12,6 +12,6 @@ -- @param #float t -- @param #cc.Scene s -- @param #int o --- @return TransitionFlipAngular#TransitionFlipAngular ret (retunr value: cc.TransitionFlipAngular) +-- @return TransitionFlipAngular#TransitionFlipAngular ret (return value: cc.TransitionFlipAngular) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFlipX.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFlipX.lua index b27aa235b0..218d129a22 100644 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFlipX.lua +++ b/cocos/scripting/lua-bindings/auto/api/TransitionFlipX.lua @@ -12,6 +12,6 @@ -- @param #float t -- @param #cc.Scene s -- @param #int o --- @return TransitionFlipX#TransitionFlipX ret (retunr value: cc.TransitionFlipX) +-- @return TransitionFlipX#TransitionFlipX ret (return value: cc.TransitionFlipX) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionFlipY.lua b/cocos/scripting/lua-bindings/auto/api/TransitionFlipY.lua index 5973c5b1f1..f91f37a721 100644 --- a/cocos/scripting/lua-bindings/auto/api/TransitionFlipY.lua +++ b/cocos/scripting/lua-bindings/auto/api/TransitionFlipY.lua @@ -12,6 +12,6 @@ -- @param #float t -- @param #cc.Scene s -- @param #int o --- @return TransitionFlipY#TransitionFlipY ret (retunr value: cc.TransitionFlipY) +-- @return TransitionFlipY#TransitionFlipY ret (return value: cc.TransitionFlipY) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipAngular.lua b/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipAngular.lua index d726097c07..4ef5b58f02 100644 --- a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipAngular.lua +++ b/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipAngular.lua @@ -12,6 +12,6 @@ -- @param #float t -- @param #cc.Scene s -- @param #int o --- @return TransitionZoomFlipAngular#TransitionZoomFlipAngular ret (retunr value: cc.TransitionZoomFlipAngular) +-- @return TransitionZoomFlipAngular#TransitionZoomFlipAngular ret (return value: cc.TransitionZoomFlipAngular) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipX.lua b/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipX.lua index 0da39fdee8..d8dea739a1 100644 --- a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipX.lua +++ b/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipX.lua @@ -12,6 +12,6 @@ -- @param #float t -- @param #cc.Scene s -- @param #int o --- @return TransitionZoomFlipX#TransitionZoomFlipX ret (retunr value: cc.TransitionZoomFlipX) +-- @return TransitionZoomFlipX#TransitionZoomFlipX ret (return value: cc.TransitionZoomFlipX) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipY.lua b/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipY.lua index 397e989ffd..f802c025f0 100644 --- a/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipY.lua +++ b/cocos/scripting/lua-bindings/auto/api/TransitionZoomFlipY.lua @@ -12,6 +12,6 @@ -- @param #float t -- @param #cc.Scene s -- @param #int o --- @return TransitionZoomFlipY#TransitionZoomFlipY ret (retunr value: cc.TransitionZoomFlipY) +-- @return TransitionZoomFlipY#TransitionZoomFlipY ret (return value: cc.TransitionZoomFlipY) return nil diff --git a/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua b/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua index 7798a1f952..9d89d46e40 100644 --- a/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua +++ b/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua @@ -24,7 +24,7 @@ -- @param #float duration -- @param #size_table gridSize -- @param #unsigned int seed --- @return TurnOffTiles#TurnOffTiles ret (retunr value: cc.TurnOffTiles) +-- @return TurnOffTiles#TurnOffTiles ret (return value: cc.TurnOffTiles) -------------------------------- -- diff --git a/cocos/scripting/lua-bindings/auto/api/UserDefault.lua b/cocos/scripting/lua-bindings/auto/api/UserDefault.lua index 3b80444050..b160317d98 100644 --- a/cocos/scripting/lua-bindings/auto/api/UserDefault.lua +++ b/cocos/scripting/lua-bindings/auto/api/UserDefault.lua @@ -18,7 +18,7 @@ -- @param self -- @param #char pKey -- @param #float defaultValue --- @return float#float ret (retunr value: float) +-- @return float#float ret (return value: float) -------------------------------- -- @overload self, char, bool @@ -27,7 +27,7 @@ -- @param self -- @param #char pKey -- @param #bool defaultValue --- @return bool#bool ret (retunr value: bool) +-- @return bool#bool ret (return value: bool) -------------------------------- -- brief Set double value by key.
@@ -52,7 +52,7 @@ -- @param self -- @param #char pKey -- @param #string defaultValue --- @return string#string ret (retunr value: string) +-- @return string#string ret (return value: string) -------------------------------- -- brief Set string value by key.
@@ -75,7 +75,7 @@ -- @param self -- @param #char pKey -- @param #int defaultValue --- @return int#int ret (retunr value: int) +-- @return int#int ret (return value: int) -------------------------------- -- @overload self, char, double @@ -84,7 +84,7 @@ -- @param self -- @param #char pKey -- @param #double defaultValue --- @return double#double ret (retunr value: double) +-- @return double#double ret (return value: double) -------------------------------- -- brief Set bool value by key.
diff --git a/cocos/scripting/lua-bindings/auto/api/VBox.lua b/cocos/scripting/lua-bindings/auto/api/VBox.lua index 4f94fe822e..b40f31328a 100644 --- a/cocos/scripting/lua-bindings/auto/api/VBox.lua +++ b/cocos/scripting/lua-bindings/auto/api/VBox.lua @@ -10,7 +10,7 @@ -- @function [parent=#VBox] create -- @param self -- @param #size_table size --- @return VBox#VBox ret (retunr value: ccui.VBox) +-- @return VBox#VBox ret (return value: ccui.VBox) -------------------------------- -- Default constructor diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp index 7f71237aab..d764a19a1b 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp @@ -60865,7 +60865,7 @@ int lua_register_cocos2dx_SpriteFrameCache(lua_State* tolua_S) tolua_beginmodule(tolua_S,"SpriteFrameCache"); tolua_function(tolua_S,"addSpriteFramesWithFileContent",lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFileContent); - tolua_function(tolua_S,"addSpriteFramesWithFile",lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFile); + tolua_function(tolua_S,"addSpriteFrames",lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFile); tolua_function(tolua_S,"addSpriteFrame",lua_cocos2dx_SpriteFrameCache_addSpriteFrame); tolua_function(tolua_S,"removeUnusedSpriteFrames",lua_cocos2dx_SpriteFrameCache_removeUnusedSpriteFrames); tolua_function(tolua_S,"getSpriteFrame",lua_cocos2dx_SpriteFrameCache_getSpriteFrameByName); diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp index ee293c5b6c..a518d984d3 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp @@ -16600,7 +16600,7 @@ int lua_cocos2dx_ui_Helper_getSubStringOfUTF8String(lua_State* tolua_S) #endif return 0; } -int lua_cocos2dx_ui_Helper_doLayout(lua_State* tolua_S) +int lua_cocos2dx_ui_Helper_changeLayoutSystemActiveState(lua_State* tolua_S) { int argc = 0; bool ok = true; @@ -16617,53 +16617,18 @@ int lua_cocos2dx_ui_Helper_doLayout(lua_State* tolua_S) if (argc == 1) { - cocos2d::Node* arg0; - ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); + bool arg0; + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Helper:changeLayoutSystemActiveState"); if(!ok) return 0; - cocos2d::ui::Helper::doLayout(arg0); + cocos2d::ui::Helper::changeLayoutSystemActiveState(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:doLayout",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:changeLayoutSystemActiveState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_doLayout'.",&tolua_err); -#endif - return 0; -} -int lua_cocos2dx_ui_Helper_seekWidgetByTag(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.Helper",0,&tolua_err)) goto tolua_lerror; -#endif - - argc = lua_gettop(tolua_S) - 1; - - if (argc == 2) - { - cocos2d::ui::Widget* arg0; - int arg1; - ok &= luaval_to_object(tolua_S, 2, "ccui.Widget",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Helper:seekWidgetByTag"); - if(!ok) - return 0; - cocos2d::ui::Widget* ret = cocos2d::ui::Helper::seekWidgetByTag(arg0, arg1); - object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); - return 1; - } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:seekWidgetByTag",argc, 2); - return 0; -#if COCOS2D_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_seekWidgetByTag'.",&tolua_err); + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_changeLayoutSystemActiveState'.",&tolua_err); #endif return 0; } @@ -16737,6 +16702,73 @@ int lua_cocos2dx_ui_Helper_seekWidgetByName(lua_State* tolua_S) #endif return 0; } +int lua_cocos2dx_ui_Helper_seekWidgetByTag(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.Helper",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 2) + { + cocos2d::ui::Widget* arg0; + int arg1; + ok &= luaval_to_object(tolua_S, 2, "ccui.Widget",&arg0); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Helper:seekWidgetByTag"); + if(!ok) + return 0; + cocos2d::ui::Widget* ret = cocos2d::ui::Helper::seekWidgetByTag(arg0, arg1); + object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); + return 1; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:seekWidgetByTag",argc, 2); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_seekWidgetByTag'.",&tolua_err); +#endif + return 0; +} +int lua_cocos2dx_ui_Helper_doLayout(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.Helper",0,&tolua_err)) goto tolua_lerror; +#endif + + argc = lua_gettop(tolua_S) - 1; + + if (argc == 1) + { + cocos2d::Node* arg0; + ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); + if(!ok) + return 0; + cocos2d::ui::Helper::doLayout(arg0); + return 0; + } + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:doLayout",argc, 1); + return 0; +#if COCOS2D_DEBUG >= 1 + tolua_lerror: + tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_doLayout'.",&tolua_err); +#endif + return 0; +} static int lua_cocos2dx_ui_Helper_finalize(lua_State* tolua_S) { printf("luabindings: finalizing LUA object (Helper)"); @@ -16750,10 +16782,11 @@ int lua_register_cocos2dx_ui_Helper(lua_State* tolua_S) tolua_beginmodule(tolua_S,"Helper"); tolua_function(tolua_S,"getSubStringOfUTF8String", lua_cocos2dx_ui_Helper_getSubStringOfUTF8String); - tolua_function(tolua_S,"doLayout", lua_cocos2dx_ui_Helper_doLayout); - tolua_function(tolua_S,"seekWidgetByTag", lua_cocos2dx_ui_Helper_seekWidgetByTag); + tolua_function(tolua_S,"changeLayoutSystemActiveState", lua_cocos2dx_ui_Helper_changeLayoutSystemActiveState); tolua_function(tolua_S,"seekActionWidgetByActionTag", lua_cocos2dx_ui_Helper_seekActionWidgetByActionTag); tolua_function(tolua_S,"seekWidgetByName", lua_cocos2dx_ui_Helper_seekWidgetByName); + tolua_function(tolua_S,"seekWidgetByTag", lua_cocos2dx_ui_Helper_seekWidgetByTag); + tolua_function(tolua_S,"doLayout", lua_cocos2dx_ui_Helper_doLayout); tolua_endmodule(tolua_S); std::string typeName = typeid(cocos2d::ui::Helper).name(); g_luaType[typeName] = "ccui.Helper"; diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.hpp index 0c7fde0158..6af9d4f7b5 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.hpp @@ -480,6 +480,7 @@ int register_all_cocos2dx_ui(lua_State* tolua_S); + #endif // __cocos2dx_ui_h__