[AUTO]: updating luabinding automatically

This commit is contained in:
CocosRobot 2014-10-16 09:55:07 +00:00
parent 064f0d9042
commit 4a084a4ebc
4 changed files with 166 additions and 69 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
--------------------------------------------------------