From 4a084a4ebc21bd6e6673ee7c52fedaa3de4138d3 Mon Sep 17 00:00:00 2001 From: CocosRobot Date: Thu, 16 Oct 2014 09:55:07 +0000 Subject: [PATCH] [AUTO]: updating luabinding automatically --- .../lua-bindings/auto/api/Skeleton.lua | 64 ------------ .../auto/api/SkeletonAnimation.lua | 68 ++++++++++++- .../auto/api/SkeletonRenderer.lua | 99 +++++++++++++++++++ .../auto/api/lua_cocos2dx_spine_auto_api.lua | 4 +- 4 files changed, 166 insertions(+), 69 deletions(-) delete mode 100644 cocos/scripting/lua-bindings/auto/api/Skeleton.lua create mode 100644 cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua diff --git a/cocos/scripting/lua-bindings/auto/api/Skeleton.lua b/cocos/scripting/lua-bindings/auto/api/Skeleton.lua deleted file mode 100644 index 51d4c7a9e6..0000000000 --- a/cocos/scripting/lua-bindings/auto/api/Skeleton.lua +++ /dev/null @@ -1,64 +0,0 @@ - --------------------------------- --- @module Skeleton --- @extend Node,BlendProtocol --- @parent_module sp - --------------------------------- --- --- @function [parent=#Skeleton] setToSetupPose --- @param self - --------------------------------- --- --- @function [parent=#Skeleton] setBlendFunc --- @param self --- @param #cc.BlendFunc func - --------------------------------- --- --- @function [parent=#Skeleton] onDraw --- @param self --- @param #mat4_table transform --- @param #unsigned int flags - --------------------------------- --- --- @function [parent=#Skeleton] setSlotsToSetupPose --- @param self - --------------------------------- --- --- @function [parent=#Skeleton] getBlendFunc --- @param self --- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc) - --------------------------------- --- --- @function [parent=#Skeleton] setSkin --- @param self --- @param #char skinName --- @return bool#bool ret (return value: bool) - --------------------------------- --- --- @function [parent=#Skeleton] setBonesToSetupPose --- @param self - --------------------------------- --- --- @function [parent=#Skeleton] getBoundingBox --- @param self --- @return rect_table#rect_table ret (return value: rect_table) - --------------------------------- --- --- @function [parent=#Skeleton] onEnter --- @param self - --------------------------------- --- --- @function [parent=#Skeleton] onExit --- @param self - -return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SkeletonAnimation.lua b/cocos/scripting/lua-bindings/auto/api/SkeletonAnimation.lua index c57eb13010..aac8298278 100644 --- a/cocos/scripting/lua-bindings/auto/api/SkeletonAnimation.lua +++ b/cocos/scripting/lua-bindings/auto/api/SkeletonAnimation.lua @@ -1,17 +1,69 @@ -------------------------------- -- @module SkeletonAnimation --- @extend Skeleton +-- @extend SkeletonRenderer -- @parent_module sp +-------------------------------- +-- +-- @function [parent=#SkeletonAnimation] setStartListener +-- @param self +-- @param #function listener + +-------------------------------- +-- +-- @function [parent=#SkeletonAnimation] setTrackEventListener +-- @param self +-- @param #spTrackEntry entry +-- @param #function listener + +-------------------------------- +-- +-- @function [parent=#SkeletonAnimation] setTrackCompleteListener +-- @param self +-- @param #spTrackEntry entry +-- @param #function listener + +-------------------------------- +-- +-- @function [parent=#SkeletonAnimation] setTrackStartListener +-- @param self +-- @param #spTrackEntry entry +-- @param #function listener + +-------------------------------- +-- +-- @function [parent=#SkeletonAnimation] setCompleteListener +-- @param self +-- @param #function listener + +-------------------------------- +-- +-- @function [parent=#SkeletonAnimation] setTrackEndListener +-- @param self +-- @param #spTrackEntry entry +-- @param #function listener + +-------------------------------- +-- +-- @function [parent=#SkeletonAnimation] setEventListener +-- @param self +-- @param #function listener + -------------------------------- -- -- @function [parent=#SkeletonAnimation] setMix -- @param self --- @param #char fromAnimation --- @param #char toAnimation +-- @param #string fromAnimation +-- @param #string toAnimation -- @param #float duration +-------------------------------- +-- +-- @function [parent=#SkeletonAnimation] setEndListener +-- @param self +-- @param #function listener + -------------------------------- -- -- @function [parent=#SkeletonAnimation] clearTracks @@ -22,4 +74,14 @@ -- @function [parent=#SkeletonAnimation] clearTrack -- @param self +-------------------------------- +-- @overload self, string, string, float +-- @overload self, string, spAtlas, float +-- @function [parent=#SkeletonAnimation] createWithFile +-- @param self +-- @param #string skeletonDataFile +-- @param #spAtlas atlas +-- @param #float scale +-- @return SkeletonAnimation#SkeletonAnimation ret (retunr value: sp.SkeletonAnimation) + return nil diff --git a/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua b/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua new file mode 100644 index 0000000000..d110b1de54 --- /dev/null +++ b/cocos/scripting/lua-bindings/auto/api/SkeletonRenderer.lua @@ -0,0 +1,99 @@ + +-------------------------------- +-- @module SkeletonRenderer +-- @extend Node,BlendProtocol +-- @parent_module sp + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] setTimeScale +-- @param self +-- @param #float scale + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] isOpacityModifyRGB +-- @param self +-- @return bool#bool ret (return value: bool) + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] setDebugSlotsEnabled +-- @param self +-- @param #bool enabled + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] getDebugSlotsEnabled +-- @param self +-- @return bool#bool ret (return value: bool) + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] setBonesToSetupPose +-- @param self + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] setSlotsToSetupPose +-- @param self + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] setSkin +-- @param self +-- @param #string skinName +-- @return bool#bool ret (return value: bool) + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] setToSetupPose +-- @param self + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] setOpacityModifyRGB +-- @param self +-- @param #bool value + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] setDebugBonesEnabled +-- @param self +-- @param #bool enabled + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] getSkeleton +-- @param self +-- @return spSkeleton#spSkeleton ret (return value: spSkeleton) + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] getDebugBonesEnabled +-- @param self +-- @return bool#bool ret (return value: bool) + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] getTimeScale +-- @param self +-- @return float#float ret (return value: float) + +-------------------------------- +-- @overload self, string, string, float +-- @overload self, string, spAtlas, float +-- @function [parent=#SkeletonRenderer] createWithFile +-- @param self +-- @param #string skeletonDataFile +-- @param #spAtlas atlas +-- @param #float scale +-- @return SkeletonRenderer#SkeletonRenderer ret (retunr value: sp.SkeletonRenderer) + +-------------------------------- +-- +-- @function [parent=#SkeletonRenderer] getBoundingBox +-- @param self +-- @return rect_table#rect_table ret (return value: rect_table) + +return nil diff --git a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_spine_auto_api.lua b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_spine_auto_api.lua index a8bdf11a2a..c874e62c14 100644 --- a/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_spine_auto_api.lua +++ b/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_spine_auto_api.lua @@ -2,8 +2,8 @@ -- @module sp -------------------------------------------------------- --- the sp Skeleton --- @field [parent=#sp] Skeleton#Skeleton Skeleton preloaded module +-- the sp SkeletonRenderer +-- @field [parent=#sp] SkeletonRenderer#SkeletonRenderer SkeletonRenderer preloaded module --------------------------------------------------------