diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/library/ccs')
60 files changed, 0 insertions, 2782 deletions
diff --git a/meta/3rd/Cocos4.0 b/meta/3rd/Cocos4.0 new file mode 160000 +Subproject c0b2259e0d367561fd4563ae114b029b4dfe3a8 diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionFadeFrame.lua b/meta/3rd/Cocos4.0/library/ccs/ActionFadeFrame.lua deleted file mode 100644 index 12934b00..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionFadeFrame.lua +++ /dev/null @@ -1,27 +0,0 @@ ----@meta - ----@class ccs.ActionFadeFrame :ccs.ActionFrame -local ActionFadeFrame={ } -ccs.ActionFadeFrame=ActionFadeFrame - - - - ----* Gets the fade action opacity.<br> ----* return the fade action opacity. ----@return int -function ActionFadeFrame:getOpacity () end ----* Gets the ActionInterval of ActionFrame.<br> ----* param duration the duration time of ActionFrame<br> ----* return ActionInterval ----@param duration float ----@return cc.ActionInterval -function ActionFadeFrame:getAction (duration) end ----* Changes the fade action opacity.<br> ----* param opacity the fade action opacity ----@param opacity int ----@return self -function ActionFadeFrame:setOpacity (opacity) end ----* Default constructor ----@return self -function ActionFadeFrame:ActionFadeFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionFrame.lua b/meta/3rd/Cocos4.0/library/ccs/ActionFrame.lua deleted file mode 100644 index 1443e921..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionFrame.lua +++ /dev/null @@ -1,59 +0,0 @@ ----@meta - ----@class ccs.ActionFrame :cc.Ref -local ActionFrame={ } -ccs.ActionFrame=ActionFrame - - - - ----@overload fun(float:float,ccs.ActionFrame:ccs.ActionFrame):self ----@overload fun(float:float):self ----@param duration float ----@param srcFrame ccs.ActionFrame ----@return cc.ActionInterval -function ActionFrame:getAction (duration,srcFrame) end ----* Gets the type of action frame<br> ----* return the type of action frame ----@return int -function ActionFrame:getFrameType () end ----* Changes the time of action frame<br> ----* param fTime the time of action frame ----@param fTime float ----@return self -function ActionFrame:setFrameTime (fTime) end ----* Changes the easing type.<br> ----* param easingType the easing type. ----@param easingType int ----@return self -function ActionFrame:setEasingType (easingType) end ----* Gets the time of action frame<br> ----* return fTime the time of action frame ----@return float -function ActionFrame:getFrameTime () end ----* Gets the index of action frame<br> ----* return the index of action frame ----@return int -function ActionFrame:getFrameIndex () end ----* Changes the type of action frame<br> ----* param frameType the type of action frame ----@param frameType int ----@return self -function ActionFrame:setFrameType (frameType) end ----* Changes the index of action frame<br> ----* param index the index of action frame ----@param index int ----@return self -function ActionFrame:setFrameIndex (index) end ----* Set the ActionInterval easing parameter.<br> ----* param parameter the parameter for frame ease ----@param parameter array_table ----@return self -function ActionFrame:setEasingParameter (parameter) end ----* Gets the easing type.<br> ----* return the easing type. ----@return int -function ActionFrame:getEasingType () end ----* Default constructor ----@return self -function ActionFrame:ActionFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionManagerEx.lua b/meta/3rd/Cocos4.0/library/ccs/ActionManagerEx.lua deleted file mode 100644 index 4d33ba4b..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionManagerEx.lua +++ /dev/null @@ -1,48 +0,0 @@ ----@meta - ----@class ccs.ActionManagerEx :cc.Ref -local ActionManagerEx={ } -ccs.ActionManagerEx=ActionManagerEx - - - - ----* Stop an Action with a name.<br> ----* param jsonName UI file name<br> ----* param actionName action name in the UIfile.<br> ----* return ActionObject which named as the param name ----@param jsonName char ----@param actionName char ----@return ccs.ActionObject -function ActionManagerEx:stopActionByName (jsonName,actionName) end ----* Gets an ActionObject with a name.<br> ----* param jsonName UI file name<br> ----* param actionName action name in the UI file.<br> ----* return ActionObject which named as the param name ----@param jsonName char ----@param actionName char ----@return ccs.ActionObject -function ActionManagerEx:getActionByName (jsonName,actionName) end ----* ----@return int -function ActionManagerEx:getStudioVersionNumber () end ----@overload fun(char:char,char:char,cc.CallFunc:cc.CallFunc):self ----@overload fun(char:char,char:char):self ----@param jsonName char ----@param actionName char ----@param func cc.CallFunc ----@return ccs.ActionObject -function ActionManagerEx:playActionByName (jsonName,actionName,func) end ----* Release all actions. ----@return self -function ActionManagerEx:releaseActions () end ----* Purges ActionManager point.<br> ----* js purge<br> ----* lua destroyActionManager ----@return self -function ActionManagerEx:destroyInstance () end ----* Gets the static instance of ActionManager.<br> ----* js getInstance<br> ----* lua getInstance ----@return self -function ActionManagerEx:getInstance () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionMoveFrame.lua b/meta/3rd/Cocos4.0/library/ccs/ActionMoveFrame.lua deleted file mode 100644 index 5deb7bfd..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionMoveFrame.lua +++ /dev/null @@ -1,27 +0,0 @@ ----@meta - ----@class ccs.ActionMoveFrame :ccs.ActionFrame -local ActionMoveFrame={ } -ccs.ActionMoveFrame=ActionMoveFrame - - - - ----* Changes the move action position.<br> ----* param the move action position. ----@param pos vec2_table ----@return self -function ActionMoveFrame:setPosition (pos) end ----* Gets the ActionInterval of ActionFrame.<br> ----* param duration the duration time of ActionFrame<br> ----* return ActionInterval ----@param duration float ----@return cc.ActionInterval -function ActionMoveFrame:getAction (duration) end ----* Gets the move action position.<br> ----* return the move action position. ----@return vec2_table -function ActionMoveFrame:getPosition () end ----* Default constructor ----@return self -function ActionMoveFrame:ActionMoveFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionObject.lua b/meta/3rd/Cocos4.0/library/ccs/ActionObject.lua deleted file mode 100644 index b9c73f30..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionObject.lua +++ /dev/null @@ -1,85 +0,0 @@ ----@meta - ----@class ccs.ActionObject :cc.Ref -local ActionObject={ } -ccs.ActionObject=ActionObject - - - - ----* Sets the current time of frame.<br> ----* param fTime the current time of frame ----@param fTime float ----@return self -function ActionObject:setCurrentTime (fTime) end ----* Pause the action. ----@return self -function ActionObject:pause () end ----* Sets name for object<br> ----* param name name of object ----@param name char ----@return self -function ActionObject:setName (name) end ----* Sets the time interval of frame.<br> ----* param fTime the time interval of frame ----@param fTime float ----@return self -function ActionObject:setUnitTime (fTime) end ----* Gets the total time of frame.<br> ----* return the total time of frame ----@return float -function ActionObject:getTotalTime () end ----* Gets name of object<br> ----* return name of object ----@return char -function ActionObject:getName () end ----* Stop the action. ----@return self -function ActionObject:stop () end ----@overload fun(cc.CallFunc:cc.CallFunc):self ----@overload fun():self ----@param func cc.CallFunc ----@return self -function ActionObject:play (func) end ----* Gets the current time of frame.<br> ----* return the current time of frame ----@return float -function ActionObject:getCurrentTime () end ----* Removes a ActionNode which play the action.<br> ----* param node the ActionNode which play the action ----@param node ccs.ActionNode ----@return self -function ActionObject:removeActionNode (node) end ----* Gets if the action will loop play.<br> ----* return that if the action will loop play ----@return boolean -function ActionObject:getLoop () end ----* Adds a ActionNode to play the action.<br> ----* param node the ActionNode which will play the action ----@param node ccs.ActionNode ----@return self -function ActionObject:addActionNode (node) end ----* Gets the time interval of frame.<br> ----* return the time interval of frame ----@return float -function ActionObject:getUnitTime () end ----* Return if the action is playing.<br> ----* return true if the action is playing, false the otherwise ----@return boolean -function ActionObject:isPlaying () end ----* ----@param fTime float ----@return self -function ActionObject:updateToFrameByTime (fTime) end ----* Sets if the action will loop play.<br> ----* param bLoop that if the action will loop play ----@param bLoop boolean ----@return self -function ActionObject:setLoop (bLoop) end ----* ----@param dt float ----@return self -function ActionObject:simulationActionUpdate (dt) end ----* Default constructor ----@return self -function ActionObject:ActionObject () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionRotationFrame.lua b/meta/3rd/Cocos4.0/library/ccs/ActionRotationFrame.lua deleted file mode 100644 index 656e27f6..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionRotationFrame.lua +++ /dev/null @@ -1,27 +0,0 @@ ----@meta - ----@class ccs.ActionRotationFrame :ccs.ActionFrame -local ActionRotationFrame={ } -ccs.ActionRotationFrame=ActionRotationFrame - - - - ----* Changes rotate action rotation.<br> ----* param rotation rotate action rotation. ----@param rotation float ----@return self -function ActionRotationFrame:setRotation (rotation) end ----@overload fun(float:float,ccs.ActionFrame:ccs.ActionFrame):cc.ActionInterval ----@overload fun(float:float):cc.ActionInterval ----@param duration float ----@param srcFrame ccs.ActionFrame ----@return cc.ActionInterval -function ActionRotationFrame:getAction (duration,srcFrame) end ----* Gets the rotate action rotation.<br> ----* return the rotate action rotation. ----@return float -function ActionRotationFrame:getRotation () end ----* Default constructor ----@return self -function ActionRotationFrame:ActionRotationFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionScaleFrame.lua b/meta/3rd/Cocos4.0/library/ccs/ActionScaleFrame.lua deleted file mode 100644 index 638e1a77..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionScaleFrame.lua +++ /dev/null @@ -1,36 +0,0 @@ ----@meta - ----@class ccs.ActionScaleFrame :ccs.ActionFrame -local ActionScaleFrame={ } -ccs.ActionScaleFrame=ActionScaleFrame - - - - ----* Changes the scale action scaleY.<br> ----* param rotation the scale action scaleY. ----@param scaleY float ----@return self -function ActionScaleFrame:setScaleY (scaleY) end ----* Changes the scale action scaleX.<br> ----* param the scale action scaleX. ----@param scaleX float ----@return self -function ActionScaleFrame:setScaleX (scaleX) end ----* Gets the scale action scaleY.<br> ----* return the scale action scaleY. ----@return float -function ActionScaleFrame:getScaleY () end ----* Gets the scale action scaleX.<br> ----* return the scale action scaleX. ----@return float -function ActionScaleFrame:getScaleX () end ----* Gets the ActionInterval of ActionFrame.<br> ----* param duration the duration time of ActionFrame<br> ----* return ActionInterval ----@param duration float ----@return cc.ActionInterval -function ActionScaleFrame:getAction (duration) end ----* Default constructor ----@return self -function ActionScaleFrame:ActionScaleFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionTimeline.lua b/meta/3rd/Cocos4.0/library/ccs/ActionTimeline.lua deleted file mode 100644 index 71987d4a..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionTimeline.lua +++ /dev/null @@ -1,165 +0,0 @@ ----@meta - ----@class ccs.ActionTimeline :cc.Action@all parent class: Action,PlayableProtocol -local ActionTimeline={ } -ccs.ActionTimeline=ActionTimeline - - - - ----* ----@return self -function ActionTimeline:clearFrameEndCallFuncs () end ----* add a frame end call back to animation's end frame<br> ----* param animationName @addFrameEndCallFunc, make the animationName as funcKey<br> ----* param func the callback function ----@param animationName string ----@param func function ----@return self -function ActionTimeline:setAnimationEndCallFunc (animationName,func) end ----* add Timeline to ActionTimeline ----@param timeline ccs.Timeline ----@return self -function ActionTimeline:addTimeline (timeline) end ----* Get current frame. ----@return int -function ActionTimeline:getCurrentFrame () end ----* Start frame index of this action ----@return int -function ActionTimeline:getStartFrame () end ----* Pause the animation. ----@return self -function ActionTimeline:pause () end ----* / @{/ @name implement Playable Protocol ----@return self -function ActionTimeline:start () end ----* ----@return boolean -function ActionTimeline:init () end ----* ----@param timeline ccs.Timeline ----@return self -function ActionTimeline:removeTimeline (timeline) end ----* ----@return self -function ActionTimeline:clearFrameEventCallFunc () end ----* Last frame callback will call when arriving last frame ----@param listener function ----@return self -function ActionTimeline:setLastFrameCallFunc (listener) end ----* ----@return array_table -function ActionTimeline:getTimelines () end ----* ----@param animationName string ----@param loop boolean ----@return self -function ActionTimeline:play (animationName,loop) end ----* ----@param animationName string ----@return ccs.AnimationInfo -function ActionTimeline:getAnimationInfo (animationName) end ----* Resume the animation. ----@return self -function ActionTimeline:resume () end ----* add a callback function after played frameIndex<br> ----* param frameIndex the frame index call back after<br> ----* param funcKey for identity the callback function<br> ----* param func the callback function ----@param frameIndex int ----@param funcKey string ----@param func function ----@return self -function ActionTimeline:addFrameEndCallFunc (frameIndex,funcKey,func) end ----* ----@param animationName string ----@return self -function ActionTimeline:removeAnimationInfo (animationName) end ----* Get current animation speed. ----@return float -function ActionTimeline:getTimeSpeed () end ----* AnimationInfo ----@param animationInfo ccs.AnimationInfo ----@return self -function ActionTimeline:addAnimationInfo (animationInfo) end ----* ----@return int -function ActionTimeline:getDuration () end ----* Goto the specified frame index, and pause at this index.<br> ----* param startIndex The animation will pause at this index. ----@param startIndex int ----@return self -function ActionTimeline:gotoFrameAndPause (startIndex) end ----* Whether or not Action is playing. ----@return boolean -function ActionTimeline:isPlaying () end ----* ----@param frameIndex int ----@return self -function ActionTimeline:removeFrameEndCallFuncs (frameIndex) end ----@overload fun(int:int,int1:boolean):self ----@overload fun(int:int):self ----@overload fun(int:int,int:int,int2:boolean):self ----@overload fun(int:int,int:int,int:int,boolean:boolean):self ----@param startIndex int ----@param endIndex int ----@param currentFrameIndex int ----@param loop boolean ----@return self -function ActionTimeline:gotoFrameAndPlay (startIndex,endIndex,currentFrameIndex,loop) end ----* ----@param animationName string ----@return boolean -function ActionTimeline:IsAnimationInfoExists (animationName) end ----* End frame of this action.<br> ----* When action play to this frame, if action is not loop, then it will stop, <br> ----* or it will play from start frame again. ----@return int -function ActionTimeline:getEndFrame () end ----* Set the animation speed, this will speed up or slow down the speed. ----@param speed float ----@return self -function ActionTimeline:setTimeSpeed (speed) end ----* ----@return self -function ActionTimeline:clearLastFrameCallFunc () end ----* duration of the whole action ----@param duration int ----@return self -function ActionTimeline:setDuration (duration) end ----* Set current frame index, this will cause action plays to this frame. ----@param frameIndex int ----@return self -function ActionTimeline:setCurrentFrame (frameIndex) end ----* ----@param frameIndex int ----@param funcKey string ----@return self -function ActionTimeline:removeFrameEndCallFunc (frameIndex,funcKey) end ----* ----@return self -function ActionTimeline:create () end ----* ----@param target cc.Node ----@return self -function ActionTimeline:startWithTarget (target) end ----* Returns a reverse of ActionTimeline. <br> ----* Not implement yet. ----@return self -function ActionTimeline:reverse () end ----* Returns a clone of ActionTimeline ----@return self -function ActionTimeline:clone () end ----* ----@return self -function ActionTimeline:stop () end ----* ----@param delta float ----@return self -function ActionTimeline:step (delta) end ----* ----@return boolean -function ActionTimeline:isDone () end ----* ----@return self -function ActionTimeline:ActionTimeline () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionTimelineCache.lua b/meta/3rd/Cocos4.0/library/ccs/ActionTimelineCache.lua deleted file mode 100644 index 36d0afba..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionTimelineCache.lua +++ /dev/null @@ -1,56 +0,0 @@ ----@meta - ----@class ccs.ActionTimelineCache -local ActionTimelineCache={ } -ccs.ActionTimelineCache=ActionTimelineCache - - - - ----* Clone a action with the specified name from the container. ----@param fileName string ----@return ccs.ActionTimeline -function ActionTimelineCache:createActionFromJson (fileName) end ----* ----@param fileName string ----@return ccs.ActionTimeline -function ActionTimelineCache:createActionWithFlatBuffersFile (fileName) end ----* ----@param fileName string ----@return ccs.ActionTimeline -function ActionTimelineCache:loadAnimationActionWithFlatBuffersFile (fileName) end ----* ----@param fileName string ----@param content string ----@return ccs.ActionTimeline -function ActionTimelineCache:createActionFromContent (fileName,content) end ----* ----@return self -function ActionTimelineCache:purge () end ----* ----@return self -function ActionTimelineCache:init () end ----* ----@param fileName string ----@param content string ----@return ccs.ActionTimeline -function ActionTimelineCache:loadAnimationActionWithContent (fileName,content) end ----* ----@param fileName string ----@return ccs.ActionTimeline -function ActionTimelineCache:loadAnimationActionWithFile (fileName) end ----* Remove action with filename, and also remove other resource relate with this file ----@param fileName string ----@return self -function ActionTimelineCache:removeAction (fileName) end ----* ----@param fileName string ----@return ccs.ActionTimeline -function ActionTimelineCache:createActionWithFlatBuffersForSimulator (fileName) end ----* Destroys the singleton ----@return self -function ActionTimelineCache:destroyInstance () end ----* ----@param fileName string ----@return ccs.ActionTimeline -function ActionTimelineCache:createAction (fileName) end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionTimelineData.lua b/meta/3rd/Cocos4.0/library/ccs/ActionTimelineData.lua deleted file mode 100644 index 3cce40a6..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionTimelineData.lua +++ /dev/null @@ -1,27 +0,0 @@ ----@meta - ----@class ccs.ActionTimelineData :cc.Ref -local ActionTimelineData={ } -ccs.ActionTimelineData=ActionTimelineData - - - - ----* ----@param actionTag int ----@return self -function ActionTimelineData:setActionTag (actionTag) end ----* ----@param actionTag int ----@return boolean -function ActionTimelineData:init (actionTag) end ----* ----@return int -function ActionTimelineData:getActionTag () end ----* ----@param actionTag int ----@return self -function ActionTimelineData:create (actionTag) end ----* ----@return self -function ActionTimelineData:ActionTimelineData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionTimelineNode.lua b/meta/3rd/Cocos4.0/library/ccs/ActionTimelineNode.lua deleted file mode 100644 index 373e5643..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionTimelineNode.lua +++ /dev/null @@ -1,39 +0,0 @@ ----@meta - ----@class ccs.ActionTimelineNode :cc.Node -local ActionTimelineNode={ } -ccs.ActionTimelineNode=ActionTimelineNode - - - - ----* ----@return cc.Node -function ActionTimelineNode:getRoot () end ----* ----@return ccs.ActionTimeline -function ActionTimelineNode:getActionTimeline () end ----* ----@param action ccs.ActionTimeline ----@return self -function ActionTimelineNode:setActionTimeline (action) end ----* ----@param root cc.Node ----@param action ccs.ActionTimeline ----@return boolean -function ActionTimelineNode:init (root,action) end ----* ----@param root cc.Node ----@return self -function ActionTimelineNode:setRoot (root) end ----* ----@param root cc.Node ----@param action ccs.ActionTimeline ----@return self -function ActionTimelineNode:create (root,action) end ----* ----@return boolean -function ActionTimelineNode:init () end ----* ----@return self -function ActionTimelineNode:ActionTimelineNode () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ActionTintFrame.lua b/meta/3rd/Cocos4.0/library/ccs/ActionTintFrame.lua deleted file mode 100644 index 79d08383..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ActionTintFrame.lua +++ /dev/null @@ -1,27 +0,0 @@ ----@meta - ----@class ccs.ActionTintFrame :ccs.ActionFrame -local ActionTintFrame={ } -ccs.ActionTintFrame=ActionTintFrame - - - - ----* Gets the tint action color.<br> ----* return the tint action color. ----@return color3b_table -function ActionTintFrame:getColor () end ----* Gets the ActionInterval of ActionFrame.<br> ----* param duration the duration time of ActionFrame<br> ----* return ActionInterval ----@param duration float ----@return cc.ActionInterval -function ActionTintFrame:getAction (duration) end ----* Changes the tint action color.<br> ----* param ccolor the tint action color ----@param ccolor color3b_table ----@return self -function ActionTintFrame:setColor (ccolor) end ----* Default constructor ----@return self -function ActionTintFrame:ActionTintFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/AlphaFrame.lua b/meta/3rd/Cocos4.0/library/ccs/AlphaFrame.lua deleted file mode 100644 index 6cea459b..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/AlphaFrame.lua +++ /dev/null @@ -1,25 +0,0 @@ ----@meta - ----@class ccs.AlphaFrame :ccs.Frame -local AlphaFrame={ } -ccs.AlphaFrame=AlphaFrame - - - - ----* ----@return unsigned_char -function AlphaFrame:getAlpha () end ----* ----@param alpha unsigned_char ----@return self -function AlphaFrame:setAlpha (alpha) end ----* ----@return self -function AlphaFrame:create () end ----* ----@return ccs.Frame -function AlphaFrame:clone () end ----* ----@return self -function AlphaFrame:AlphaFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/AnchorPointFrame.lua b/meta/3rd/Cocos4.0/library/ccs/AnchorPointFrame.lua deleted file mode 100644 index bcda480d..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/AnchorPointFrame.lua +++ /dev/null @@ -1,25 +0,0 @@ ----@meta - ----@class ccs.AnchorPointFrame :ccs.Frame -local AnchorPointFrame={ } -ccs.AnchorPointFrame=AnchorPointFrame - - - - ----* ----@param point vec2_table ----@return self -function AnchorPointFrame:setAnchorPoint (point) end ----* ----@return vec2_table -function AnchorPointFrame:getAnchorPoint () end ----* ----@return self -function AnchorPointFrame:create () end ----* ----@return ccs.Frame -function AnchorPointFrame:clone () end ----* ----@return self -function AnchorPointFrame:AnchorPointFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/AnimationData.lua b/meta/3rd/Cocos4.0/library/ccs/AnimationData.lua deleted file mode 100644 index be213ea8..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/AnimationData.lua +++ /dev/null @@ -1,26 +0,0 @@ ----@meta - ----@class ccs.AnimationData :cc.Ref -local AnimationData={ } -ccs.AnimationData=AnimationData - - - - ----* ----@param movementName string ----@return ccs.MovementData -function AnimationData:getMovement (movementName) end ----* ----@return int -function AnimationData:getMovementCount () end ----* ----@param movData ccs.MovementData ----@return self -function AnimationData:addMovement (movData) end ----* ----@return self -function AnimationData:create () end ----* js ctor ----@return self -function AnimationData:AnimationData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/Armature.lua b/meta/3rd/Cocos4.0/library/ccs/Armature.lua deleted file mode 100644 index c5b6dc1a..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/Armature.lua +++ /dev/null @@ -1,139 +0,0 @@ ----@meta - ----@class ccs.Armature :cc.Node@all parent class: Node,BlendProtocol -local Armature={ } -ccs.Armature=Armature - - - - ----* Get a bone with the specified name<br> ----* param name The bone's name you want to get ----@param name string ----@return ccs.Bone -function Armature:getBone (name) end ----* Change a bone's parent with the specified parent name.<br> ----* param bone The bone you want to change parent<br> ----* param parentName The new parent's name. ----@param bone ccs.Bone ----@param parentName string ----@return self -function Armature:changeBoneParent (bone,parentName) end ----* ----@param animation ccs.ArmatureAnimation ----@return self -function Armature:setAnimation (animation) end ----* ----@param x float ----@param y float ----@return ccs.Bone -function Armature:getBoneAtPoint (x,y) end ----* ----@return boolean -function Armature:getArmatureTransformDirty () end ----* ----@param version float ----@return self -function Armature:setVersion (version) end ----* Set contentsize and Calculate anchor point. ----@return self -function Armature:updateOffsetPoint () end ----* ----@return ccs.Bone -function Armature:getParentBone () end ----* Remove a bone with the specified name. If recursion it will also remove child Bone recursionly.<br> ----* param bone The bone you want to remove<br> ----* param recursion Determine whether remove the bone's child recursion. ----@param bone ccs.Bone ----@param recursion boolean ----@return self -function Armature:removeBone (bone,recursion) end ----* ----@return ccs.BatchNode -function Armature:getBatchNode () end ----@overload fun(string:string,ccs.Bone:ccs.Bone):self ----@overload fun(string:string):self ----@param name string ----@param parentBone ccs.Bone ----@return boolean -function Armature:init (name,parentBone) end ----* ----@param parentBone ccs.Bone ----@return self -function Armature:setParentBone (parentBone) end ----* ----@param batchNode ccs.BatchNode ----@return self -function Armature:setBatchNode (batchNode) end ----* js NA<br> ----* lua NA ----@return cc.BlendFunc -function Armature:getBlendFunc () end ----* ----@param armatureData ccs.ArmatureData ----@return self -function Armature:setArmatureData (armatureData) end ----* Add a Bone to this Armature,<br> ----* param bone The Bone you want to add to Armature<br> ----* param parentName The parent Bone's name you want to add to . If it's nullptr, then set Armature to its parent ----@param bone ccs.Bone ----@param parentName string ----@return self -function Armature:addBone (bone,parentName) end ----* ----@return ccs.ArmatureData -function Armature:getArmatureData () end ----* ----@return float -function Armature:getVersion () end ----* ----@return ccs.ArmatureAnimation -function Armature:getAnimation () end ----* ----@return vec2_table -function Armature:getOffsetPoints () end ----* js NA<br> ----* lua NA ----@param blendFunc cc.BlendFunc ----@return self -function Armature:setBlendFunc (blendFunc) end ----* Get Armature's bone dictionary<br> ----* return Armature's bone dictionary ----@return map_table -function Armature:getBoneDic () end ----@overload fun(string:string):self ----@overload fun():self ----@overload fun(string:string,ccs.Bone:ccs.Bone):self ----@param name string ----@param parentBone ccs.Bone ----@return self -function Armature:create (name,parentBone) end ----* ----@param point vec2_table ----@return self -function Armature:setAnchorPoint (point) end ----* ----@param renderer cc.Renderer ----@param transform mat4_table ----@param flags unsigned_int ----@return self -function Armature:draw (renderer,transform,flags) end ----* ----@return vec2_table -function Armature:getAnchorPointInPoints () end ----* ----@param dt float ----@return self -function Armature:update (dt) end ----* Init the empty armature ----@return boolean -function Armature:init () end ----* ----@return mat4_table -function Armature:getNodeToParentTransform () end ----* This boundingBox will calculate all bones' boundingBox every time ----@return rect_table -function Armature:getBoundingBox () end ----* js ctor ----@return self -function Armature:Armature () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ArmatureAnimation.lua b/meta/3rd/Cocos4.0/library/ccs/ArmatureAnimation.lua deleted file mode 100644 index a27dca21..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ArmatureAnimation.lua +++ /dev/null @@ -1,103 +0,0 @@ ----@meta - ----@class ccs.ArmatureAnimation -local ArmatureAnimation={ } -ccs.ArmatureAnimation=ArmatureAnimation - - - - ----* ----@return float -function ArmatureAnimation:getSpeedScale () end ----* Play animation by animation name.<br> ----* param animationName The animation name you want to play<br> ----* param durationTo The frames between two animation changing-over.<br> ----* It's meaning is changing to this animation need how many frames<br> ----* -1 : use the value from MovementData get from flash design panel<br> ----* param loop Whether the animation is loop<br> ----* loop < 0 : use the value from MovementData get from flash design panel<br> ----* loop = 0 : this animation is not loop<br> ----* loop > 0 : this animation is loop ----@param animationName string ----@param durationTo int ----@param loop int ----@return self -function ArmatureAnimation:play (animationName,durationTo,loop) end ----* Go to specified frame and pause current movement. ----@param frameIndex int ----@return self -function ArmatureAnimation:gotoAndPause (frameIndex) end ----* ----@param movementIndexes array_table ----@param durationTo int ----@param loop boolean ----@return self -function ArmatureAnimation:playWithIndexes (movementIndexes,durationTo,loop) end ----* ----@param data ccs.AnimationData ----@return self -function ArmatureAnimation:setAnimationData (data) end ----* Scale animation play speed.<br> ----* param animationScale Scale value ----@param speedScale float ----@return self -function ArmatureAnimation:setSpeedScale (speedScale) end ----* ----@return ccs.AnimationData -function ArmatureAnimation:getAnimationData () end ----* Go to specified frame and play current movement.<br> ----* You need first switch to the movement you want to play, then call this function.<br> ----* example : playByIndex(0);<br> ----* gotoAndPlay(0);<br> ----* playByIndex(1);<br> ----* gotoAndPlay(0);<br> ----* gotoAndPlay(15); ----@param frameIndex int ----@return self -function ArmatureAnimation:gotoAndPlay (frameIndex) end ----* Init with a Armature<br> ----* param armature The Armature ArmatureAnimation will bind to ----@param armature ccs.Armature ----@return boolean -function ArmatureAnimation:init (armature) end ----* ----@param movementNames array_table ----@param durationTo int ----@param loop boolean ----@return self -function ArmatureAnimation:playWithNames (movementNames,durationTo,loop) end ----* Get movement count ----@return int -function ArmatureAnimation:getMovementCount () end ----* ----@param animationIndex int ----@param durationTo int ----@param loop int ----@return self -function ArmatureAnimation:playWithIndex (animationIndex,durationTo,loop) end ----* Get current movementID<br> ----* return The name of current movement ----@return string -function ArmatureAnimation:getCurrentMovementID () end ----* Create with a Armature<br> ----* param armature The Armature ArmatureAnimation will bind to ----@param armature ccs.Armature ----@return self -function ArmatureAnimation:create (armature) end ----* Pause the Process ----@return self -function ArmatureAnimation:pause () end ----* Stop the Process ----@return self -function ArmatureAnimation:stop () end ----* ----@param dt float ----@return self -function ArmatureAnimation:update (dt) end ----* Resume the Process ----@return self -function ArmatureAnimation:resume () end ----* js ctor ----@return self -function ArmatureAnimation:ArmatureAnimation () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ArmatureData.lua b/meta/3rd/Cocos4.0/library/ccs/ArmatureData.lua deleted file mode 100644 index 6fcdc0d8..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ArmatureData.lua +++ /dev/null @@ -1,26 +0,0 @@ ----@meta - ----@class ccs.ArmatureData :cc.Ref -local ArmatureData={ } -ccs.ArmatureData=ArmatureData - - - - ----* ----@param boneData ccs.BoneData ----@return self -function ArmatureData:addBoneData (boneData) end ----* ----@return boolean -function ArmatureData:init () end ----* ----@param boneName string ----@return ccs.BoneData -function ArmatureData:getBoneData (boneName) end ----* ----@return self -function ArmatureData:create () end ----* js ctor ----@return self -function ArmatureData:ArmatureData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ArmatureDataManager.lua b/meta/3rd/Cocos4.0/library/ccs/ArmatureDataManager.lua deleted file mode 100644 index be1883c6..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ArmatureDataManager.lua +++ /dev/null @@ -1,104 +0,0 @@ ----@meta - ----@class ccs.ArmatureDataManager :cc.Ref -local ArmatureDataManager={ } -ccs.ArmatureDataManager=ArmatureDataManager - - - - ----* brief remove animation data<br> ----* param id the id of the animation data ----@param id string ----@return self -function ArmatureDataManager:removeAnimationData (id) end ----* Add armature data<br> ----* param id The id of the armature data<br> ----* param armatureData ArmatureData * ----@param id string ----@param armatureData ccs.ArmatureData ----@param configFilePath string ----@return self -function ArmatureDataManager:addArmatureData (id,armatureData,configFilePath) end ----@overload fun(string:string,string:string,string:string):self ----@overload fun(string:string):self ----@param imagePath string ----@param plistPath string ----@param configFilePath string ----@return self -function ArmatureDataManager:addArmatureFileInfo (imagePath,plistPath,configFilePath) end ----* ----@param configFilePath string ----@return self -function ArmatureDataManager:removeArmatureFileInfo (configFilePath) end ----* ----@return map_table -function ArmatureDataManager:getTextureDatas () end ----* brief get texture data<br> ----* param id the id of the texture data you want to get<br> ----* return TextureData * ----@param id string ----@return ccs.TextureData -function ArmatureDataManager:getTextureData (id) end ----* brief get armature data<br> ----* param id the id of the armature data you want to get<br> ----* return ArmatureData * ----@param id string ----@return ccs.ArmatureData -function ArmatureDataManager:getArmatureData (id) end ----* brief get animation data from _animationDatas(Dictionary)<br> ----* param id the id of the animation data you want to get<br> ----* return AnimationData * ----@param id string ----@return ccs.AnimationData -function ArmatureDataManager:getAnimationData (id) end ----* brief add animation data<br> ----* param id the id of the animation data<br> ----* return AnimationData * ----@param id string ----@param animationData ccs.AnimationData ----@param configFilePath string ----@return self -function ArmatureDataManager:addAnimationData (id,animationData,configFilePath) end ----* Init ArmatureDataManager ----@return boolean -function ArmatureDataManager:init () end ----* brief remove armature data<br> ----* param id the id of the armature data you want to get ----@param id string ----@return self -function ArmatureDataManager:removeArmatureData (id) end ----* ----@return map_table -function ArmatureDataManager:getArmatureDatas () end ----* brief remove texture data<br> ----* param id the id of the texture data you want to get ----@param id string ----@return self -function ArmatureDataManager:removeTextureData (id) end ----* brief add texture data<br> ----* param id the id of the texture data<br> ----* return TextureData * ----@param id string ----@param textureData ccs.TextureData ----@param configFilePath string ----@return self -function ArmatureDataManager:addTextureData (id,textureData,configFilePath) end ----* ----@return map_table -function ArmatureDataManager:getAnimationDatas () end ----* brief Judge whether or not need auto load sprite file ----@return boolean -function ArmatureDataManager:isAutoLoadSpriteFile () end ----* brief Add sprite frame to CCSpriteFrameCache, it will save display name and it's relative image name ----@param plistPath string ----@param imagePath string ----@param configFilePath string ----@return self -function ArmatureDataManager:addSpriteFrameFromFile (plistPath,imagePath,configFilePath) end ----* ----@return self -function ArmatureDataManager:destroyInstance () end ----* ----@return self -function ArmatureDataManager:getInstance () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ArmatureDisplayData.lua b/meta/3rd/Cocos4.0/library/ccs/ArmatureDisplayData.lua deleted file mode 100644 index b6092573..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ArmatureDisplayData.lua +++ /dev/null @@ -1,15 +0,0 @@ ----@meta - ----@class ccs.ArmatureDisplayData :ccs.DisplayData -local ArmatureDisplayData={ } -ccs.ArmatureDisplayData=ArmatureDisplayData - - - - ----* ----@return self -function ArmatureDisplayData:create () end ----* js ctor ----@return self -function ArmatureDisplayData:ArmatureDisplayData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/BaseData.lua b/meta/3rd/Cocos4.0/library/ccs/BaseData.lua deleted file mode 100644 index 3a417041..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/BaseData.lua +++ /dev/null @@ -1,22 +0,0 @@ ----@meta - ----@class ccs.BaseData :cc.Ref -local BaseData={ } -ccs.BaseData=BaseData - - - - ----* ----@return color4b_table -function BaseData:getColor () end ----* ----@param color color4b_table ----@return self -function BaseData:setColor (color) end ----* ----@return self -function BaseData:create () end ----* js ctor ----@return self -function BaseData:BaseData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/BatchNode.lua b/meta/3rd/Cocos4.0/library/ccs/BatchNode.lua deleted file mode 100644 index a73467aa..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/BatchNode.lua +++ /dev/null @@ -1,33 +0,0 @@ ----@meta - ----@class ccs.BatchNode :cc.Node -local BatchNode={ } -ccs.BatchNode=BatchNode - - - - ----* ----@return self -function BatchNode:create () end ----@overload fun(cc.Node:cc.Node,int:int,int2:string):self ----@overload fun(cc.Node:cc.Node,int:int,int:int):self ----@param pChild cc.Node ----@param zOrder int ----@param tag int ----@return self -function BatchNode:addChild (pChild,zOrder,tag) end ----* js NA ----@return boolean -function BatchNode:init () end ----* ----@param renderer cc.Renderer ----@param transform mat4_table ----@param flags unsigned_int ----@return self -function BatchNode:draw (renderer,transform,flags) end ----* ----@param child cc.Node ----@param cleanup boolean ----@return self -function BatchNode:removeChild (child,cleanup) end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/BlendFuncFrame.lua b/meta/3rd/Cocos4.0/library/ccs/BlendFuncFrame.lua deleted file mode 100644 index 10c1a4eb..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/BlendFuncFrame.lua +++ /dev/null @@ -1,25 +0,0 @@ ----@meta - ----@class ccs.BlendFuncFrame :ccs.Frame -local BlendFuncFrame={ } -ccs.BlendFuncFrame=BlendFuncFrame - - - - ----* ----@return cc.BlendFunc -function BlendFuncFrame:getBlendFunc () end ----* ----@param blendFunc cc.BlendFunc ----@return self -function BlendFuncFrame:setBlendFunc (blendFunc) end ----* ----@return self -function BlendFuncFrame:create () end ----* ----@return ccs.Frame -function BlendFuncFrame:clone () end ----* ----@return self -function BlendFuncFrame:BlendFuncFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/Bone.lua b/meta/3rd/Cocos4.0/library/ccs/Bone.lua deleted file mode 100644 index a69c9323..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/Bone.lua +++ /dev/null @@ -1,167 +0,0 @@ ----@meta - ----@class ccs.Bone :cc.Node -local Bone={ } -ccs.Bone=Bone - - - - ----* ----@return boolean -function Bone:isTransformDirty () end ----* ----@param blendFunc cc.BlendFunc ----@return self -function Bone:setBlendFunc (blendFunc) end ----* ----@return boolean -function Bone:isIgnoreMovementBoneData () end ----* Update zorder ----@return self -function Bone:updateZOrder () end ----* ----@return cc.Node -function Bone:getDisplayRenderNode () end ----* ----@return boolean -function Bone:isBlendDirty () end ----* Add a child to this bone, and it will let this child call setParent(Bone *parent) function to set self to it's parent<br> ----* param child the child you want to add ----@param child ccs.Bone ----@return self -function Bone:addChildBone (child) end ----* ----@return ccs.BaseData -function Bone:getWorldInfo () end ----* ----@return ccs.Tween -function Bone:getTween () end ----* Get parent bone<br> ----* return parent bone ----@return self -function Bone:getParentBone () end ----* Update color to render display ----@return self -function Bone:updateColor () end ----* ----@param dirty boolean ----@return self -function Bone:setTransformDirty (dirty) end ----* ----@return int -function Bone:getDisplayRenderNodeType () end ----* ----@param index int ----@return self -function Bone:removeDisplay (index) end ----* ----@param boneData ccs.BoneData ----@return self -function Bone:setBoneData (boneData) end ----* Initializes a Bone with the specified name<br> ----* param name Bone's name. ----@param name string ----@return boolean -function Bone:init (name) end ----* Set parent bone.<br> ----* If parent is null, then also remove this bone from armature.<br> ----* It will not set the Armature, if you want to add the bone to a Armature, you should use Armature::addBone(Bone *bone, const char* parentName).<br> ----* param parent the parent bone.<br> ----* nullptr : remove this bone from armature ----@param parent ccs.Bone ----@return self -function Bone:setParentBone (parent) end ----@overload fun(ccs.DisplayData0:cc.Node,int:int):self ----@overload fun(ccs.DisplayData:ccs.DisplayData,int:int):self ----@param displayData ccs.DisplayData ----@param index int ----@return self -function Bone:addDisplay (displayData,index) end ----* ----@return cc.BlendFunc -function Bone:getBlendFunc () end ----* Remove itself from its parent.<br> ----* param recursion whether or not to remove childBone's display ----@param recursion boolean ----@return self -function Bone:removeFromParent (recursion) end ----* ----@return ccs.ColliderDetector -function Bone:getColliderDetector () end ----* ----@return ccs.Armature -function Bone:getChildArmature () end ----* ----@return ccs.FrameData -function Bone:getTweenData () end ----* ----@param index int ----@param force boolean ----@return self -function Bone:changeDisplayWithIndex (index,force) end ----* ----@param name string ----@param force boolean ----@return self -function Bone:changeDisplayWithName (name,force) end ----* ----@param armature ccs.Armature ----@return self -function Bone:setArmature (armature) end ----* ----@param dirty boolean ----@return self -function Bone:setBlendDirty (dirty) end ----* Removes a child Bone<br> ----* param bone the bone you want to remove ----@param bone ccs.Bone ----@param recursion boolean ----@return self -function Bone:removeChildBone (bone,recursion) end ----* ----@param childArmature ccs.Armature ----@return self -function Bone:setChildArmature (childArmature) end ----* ----@return mat4_table -function Bone:getNodeToArmatureTransform () end ----* ----@return ccs.DisplayManager -function Bone:getDisplayManager () end ----* ----@return ccs.Armature -function Bone:getArmature () end ----* ----@return ccs.BoneData -function Bone:getBoneData () end ----@overload fun(string:string):self ----@overload fun():self ----@param name string ----@return self -function Bone:create (name) end ----* ----@return mat4_table -function Bone:getNodeToWorldTransform () end ----* ----@param zOrder int ----@return self -function Bone:setLocalZOrder (zOrder) end ----* ----@param delta float ----@return self -function Bone:update (delta) end ----* ----@param parentOpacity unsigned_char ----@return self -function Bone:updateDisplayedOpacity (parentOpacity) end ----* Initializes an empty Bone with nothing init. ----@return boolean -function Bone:init () end ----* ----@param parentColor color3b_table ----@return self -function Bone:updateDisplayedColor (parentColor) end ----* js ctor ----@return self -function Bone:Bone () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/BoneData.lua b/meta/3rd/Cocos4.0/library/ccs/BoneData.lua deleted file mode 100644 index bea88fac..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/BoneData.lua +++ /dev/null @@ -1,26 +0,0 @@ ----@meta - ----@class ccs.BoneData :ccs.BaseData -local BoneData={ } -ccs.BoneData=BoneData - - - - ----* ----@param index int ----@return ccs.DisplayData -function BoneData:getDisplayData (index) end ----* ----@return boolean -function BoneData:init () end ----* ----@param displayData ccs.DisplayData ----@return self -function BoneData:addDisplayData (displayData) end ----* ----@return self -function BoneData:create () end ----* js ctor ----@return self -function BoneData:BoneData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/BoneNode.lua b/meta/3rd/Cocos4.0/library/ccs/BoneNode.lua deleted file mode 100644 index ad68dcb9..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/BoneNode.lua +++ /dev/null @@ -1,132 +0,0 @@ ----@meta - ----@class ccs.BoneNode :cc.Node@all parent class: Node,BlendProtocol -local BoneNode={ } -ccs.BoneNode=BoneNode - - - - ----* ----@return float -function BoneNode:getDebugDrawWidth () end ----@overload fun():self ----@overload fun():self ----@return array_table -function BoneNode:getChildBones () end ----* ----@return cc.BlendFunc -function BoneNode:getBlendFunc () end ----* brief: get all bones in this bone tree ----@return array_table -function BoneNode:getAllSubBones () end ----* ----@param blendFunc cc.BlendFunc ----@return self -function BoneNode:setBlendFunc (blendFunc) end ----* ----@param isDebugDraw boolean ----@return self -function BoneNode:setDebugDrawEnabled (isDebugDraw) end ----* get displayings rect in self transform ----@return rect_table -function BoneNode:getVisibleSkinsRect () end ----* brief: get all skins in this bone tree ----@return array_table -function BoneNode:getAllSubSkins () end ----@overload fun(cc.Node0:string,boolean:boolean):self ----@overload fun(cc.Node:cc.Node,boolean:boolean):self ----@param skin cc.Node ----@param hideOthers boolean ----@return self -function BoneNode:displaySkin (skin,hideOthers) end ----* ----@return boolean -function BoneNode:isDebugDrawEnabled () end ----@overload fun(cc.Node:cc.Node,boolean:boolean,boolean:boolean):self ----@overload fun(cc.Node:cc.Node,boolean:boolean):self ----@param skin cc.Node ----@param display boolean ----@param hideOthers boolean ----@return self -function BoneNode:addSkin (skin,display,hideOthers) end ----* ----@return ccs.SkeletonNode -function BoneNode:getRootSkeletonNode () end ----* ----@param length float ----@return self -function BoneNode:setDebugDrawLength (length) end ----@overload fun():self ----@overload fun():self ----@return array_table -function BoneNode:getSkins () end ----* ----@return array_table -function BoneNode:getVisibleSkins () end ----* ----@param width float ----@return self -function BoneNode:setDebugDrawWidth (width) end ----* ----@return float -function BoneNode:getDebugDrawLength () end ----* ----@param color color4f_table ----@return self -function BoneNode:setDebugDrawColor (color) end ----* ----@return color4f_table -function BoneNode:getDebugDrawColor () end ----@overload fun(int:int):self ----@overload fun():self ----@param length int ----@return self -function BoneNode:create (length) end ----@overload fun(cc.Node:cc.Node,int:int,string2:int):self ----@overload fun(cc.Node:cc.Node,int:int,string:string):self ----@param child cc.Node ----@param localZOrder int ----@param name string ----@return self -function BoneNode:addChild (child,localZOrder,name) end ----* ----@param renderer cc.Renderer ----@param transform mat4_table ----@param flags unsigned_int ----@return self -function BoneNode:draw (renderer,transform,flags) end ----* ----@param name string ----@return self -function BoneNode:setName (name) end ----* ----@param anchorPoint vec2_table ----@return self -function BoneNode:setAnchorPoint (anchorPoint) end ----* ----@param localZOrder int ----@return self -function BoneNode:setLocalZOrder (localZOrder) end ----* ----@param child cc.Node ----@param cleanup boolean ----@return self -function BoneNode:removeChild (child,cleanup) end ----* ----@return boolean -function BoneNode:init () end ----* ----@return rect_table -function BoneNode:getBoundingBox () end ----* ----@param contentSize size_table ----@return self -function BoneNode:setContentSize (contentSize) end ----* ----@param visible boolean ----@return self -function BoneNode:setVisible (visible) end ----* ----@return self -function BoneNode:BoneNode () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ColorFrame.lua b/meta/3rd/Cocos4.0/library/ccs/ColorFrame.lua deleted file mode 100644 index 27bedcdd..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ColorFrame.lua +++ /dev/null @@ -1,25 +0,0 @@ ----@meta - ----@class ccs.ColorFrame :ccs.Frame -local ColorFrame={ } -ccs.ColorFrame=ColorFrame - - - - ----* ----@return color3b_table -function ColorFrame:getColor () end ----* ----@param color color3b_table ----@return self -function ColorFrame:setColor (color) end ----* ----@return self -function ColorFrame:create () end ----* ----@return ccs.Frame -function ColorFrame:clone () end ----* ----@return self -function ColorFrame:ColorFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ComAttribute.lua b/meta/3rd/Cocos4.0/library/ccs/ComAttribute.lua deleted file mode 100644 index 34cf9270..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ComAttribute.lua +++ /dev/null @@ -1,66 +0,0 @@ ----@meta - ----@class ccs.ComAttribute :cc.Component -local ComAttribute={ } -ccs.ComAttribute=ComAttribute - - - - ----* ----@param key string ----@param def float ----@return float -function ComAttribute:getFloat (key,def) end ----* ----@param key string ----@param def string ----@return string -function ComAttribute:getString (key,def) end ----* ----@param key string ----@param value float ----@return self -function ComAttribute:setFloat (key,value) end ----* ----@param key string ----@param value string ----@return self -function ComAttribute:setString (key,value) end ----* ----@param key string ----@param def boolean ----@return boolean -function ComAttribute:getBool (key,def) end ----* ----@param key string ----@param value int ----@return self -function ComAttribute:setInt (key,value) end ----* ----@param jsonFile string ----@return boolean -function ComAttribute:parse (jsonFile) end ----* ----@param key string ----@param def int ----@return int -function ComAttribute:getInt (key,def) end ----* ----@param key string ----@param value boolean ----@return self -function ComAttribute:setBool (key,value) end ----* ----@return self -function ComAttribute:create () end ----* ----@return cc.Ref -function ComAttribute:createInstance () end ----* ----@return boolean -function ComAttribute:init () end ----* ----@param r void ----@return boolean -function ComAttribute:serialize (r) end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ComAudio.lua b/meta/3rd/Cocos4.0/library/ccs/ComAudio.lua deleted file mode 100644 index d198e2ef..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ComAudio.lua +++ /dev/null @@ -1,134 +0,0 @@ ----@meta - ----@class ccs.ComAudio :cc.Component@all parent class: Component,PlayableProtocol -local ComAudio={ } -ccs.ComAudio=ComAudio - - - - ----* ----@return self -function ComAudio:stopAllEffects () end ----* ----@return float -function ComAudio:getEffectsVolume () end ----* ----@param nSoundId unsigned_int ----@return self -function ComAudio:stopEffect (nSoundId) end ----* ----@return float -function ComAudio:getBackgroundMusicVolume () end ----* ----@return boolean -function ComAudio:willPlayBackgroundMusic () end ----* ----@param volume float ----@return self -function ComAudio:setBackgroundMusicVolume (volume) end ----* / @{/ @name implement Playable Protocol ----@return self -function ComAudio:start () end ----@overload fun():self ----@overload fun(boolean:boolean):self ----@param bReleaseData boolean ----@return self -function ComAudio:stopBackgroundMusic (bReleaseData) end ----* ----@return self -function ComAudio:pauseBackgroundMusic () end ----* ----@return boolean -function ComAudio:isBackgroundMusicPlaying () end ----* ----@return boolean -function ComAudio:isLoop () end ----* ----@return self -function ComAudio:resumeAllEffects () end ----* ----@return self -function ComAudio:pauseAllEffects () end ----* ----@param pszFilePath char ----@return self -function ComAudio:preloadBackgroundMusic (pszFilePath) end ----@overload fun(char:char):self ----@overload fun(char:char,boolean:boolean):self ----@overload fun():self ----@param pszFilePath char ----@param bLoop boolean ----@return self -function ComAudio:playBackgroundMusic (pszFilePath,bLoop) end ----* ----@return self -function ComAudio:stop () end ----* lua endToLua ----@return self -function ComAudio:endToLua () end ----@overload fun(char:char):self ----@overload fun(char:char,boolean:boolean):self ----@overload fun():self ----@param pszFilePath char ----@param bLoop boolean ----@return unsigned_int -function ComAudio:playEffect (pszFilePath,bLoop) end ----* ----@param pszFilePath char ----@return self -function ComAudio:preloadEffect (pszFilePath) end ----* ----@param bLoop boolean ----@return self -function ComAudio:setLoop (bLoop) end ----* ----@param pszFilePath char ----@return self -function ComAudio:unloadEffect (pszFilePath) end ----* ----@return self -function ComAudio:rewindBackgroundMusic () end ----* ----@param nSoundId unsigned_int ----@return self -function ComAudio:pauseEffect (nSoundId) end ----* ----@return self -function ComAudio:resumeBackgroundMusic () end ----* ----@param pszFilePath char ----@return self -function ComAudio:setFile (pszFilePath) end ----* ----@param volume float ----@return self -function ComAudio:setEffectsVolume (volume) end ----* ----@return char -function ComAudio:getFile () end ----* ----@param nSoundId unsigned_int ----@return self -function ComAudio:resumeEffect (nSoundId) end ----* ----@return self -function ComAudio:create () end ----* ----@return cc.Ref -function ComAudio:createInstance () end ----* js NA<br> ----* lua NA ----@return self -function ComAudio:onRemove () end ----* ----@param r void ----@return boolean -function ComAudio:serialize (r) end ----* ----@return boolean -function ComAudio:init () end ----* js NA<br> ----* lua NA ----@return self -function ComAudio:onAdd () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ComController.lua b/meta/3rd/Cocos4.0/library/ccs/ComController.lua deleted file mode 100644 index 49c7deae..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ComController.lua +++ /dev/null @@ -1,33 +0,0 @@ ----@meta - ----@class ccs.ComController :cc.Component@all parent class: Component,InputDelegate -local ComController={ } -ccs.ComController=ComController - - - - ----* ----@return self -function ComController:create () end ----* ----@return cc.Ref -function ComController:createInstance () end ----* js NA<br> ----* lua NA ----@return self -function ComController:onRemove () end ----* ----@param delta float ----@return self -function ComController:update (delta) end ----* ----@return boolean -function ComController:init () end ----* js NA<br> ----* lua NA ----@return self -function ComController:onAdd () end ----* js ctor ----@return self -function ComController:ComController () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ComExtensionData.lua b/meta/3rd/Cocos4.0/library/ccs/ComExtensionData.lua deleted file mode 100644 index 8136debb..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ComExtensionData.lua +++ /dev/null @@ -1,43 +0,0 @@ ----@meta - ----@class ccs.ComExtensionData :cc.Component -local ComExtensionData={ } -ccs.ComExtensionData=ComExtensionData - - - - ----* ----@param actionTag int ----@return self -function ComExtensionData:setActionTag (actionTag) end ----* ----@return string -function ComExtensionData:getCustomProperty () end ----* ----@return int -function ComExtensionData:getActionTag () end ----* ----@param customProperty string ----@return self -function ComExtensionData:setCustomProperty (customProperty) end ----* ----@return self -function ComExtensionData:create () end ----* ----@return cc.Ref -function ComExtensionData:createInstance () end ----* ----@return boolean -function ComExtensionData:init () end ----* js NA<br> ----* lua NA ----@return self -function ComExtensionData:onRemove () end ----* js NA<br> ----* lua NA ----@return self -function ComExtensionData:onAdd () end ----* ----@return self -function ComExtensionData:ComExtensionData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ComRender.lua b/meta/3rd/Cocos4.0/library/ccs/ComRender.lua deleted file mode 100644 index 9600711c..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ComRender.lua +++ /dev/null @@ -1,37 +0,0 @@ ----@meta - ----@class ccs.ComRender :cc.Component -local ComRender={ } -ccs.ComRender=ComRender - - - - ----* ----@param node cc.Node ----@return self -function ComRender:setNode (node) end ----* ----@return cc.Node -function ComRender:getNode () end ----@overload fun(cc.Node:cc.Node,char:char):self ----@overload fun():self ----@param node cc.Node ----@param comName char ----@return self -function ComRender:create (node,comName) end ----* ----@return cc.Ref -function ComRender:createInstance () end ----* ----@param r void ----@return boolean -function ComRender:serialize (r) end ----* js NA<br> ----* lua NA ----@return self -function ComRender:onRemove () end ----* js NA<br> ----* lua NA ----@return self -function ComRender:onAdd () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ContourData.lua b/meta/3rd/Cocos4.0/library/ccs/ContourData.lua deleted file mode 100644 index 2bbb1fd6..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ContourData.lua +++ /dev/null @@ -1,22 +0,0 @@ ----@meta - ----@class ccs.ContourData :cc.Ref -local ContourData={ } -ccs.ContourData=ContourData - - - - ----* ----@return boolean -function ContourData:init () end ----* ----@param vertex vec2_table ----@return self -function ContourData:addVertex (vertex) end ----* ----@return self -function ContourData:create () end ----* js ctor ----@return self -function ContourData:ContourData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/DisplayData.lua b/meta/3rd/Cocos4.0/library/ccs/DisplayData.lua deleted file mode 100644 index 91233cd2..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/DisplayData.lua +++ /dev/null @@ -1,23 +0,0 @@ ----@meta - ----@class ccs.DisplayData :cc.Ref -local DisplayData={ } -ccs.DisplayData=DisplayData - - - - ----* ----@param displayData ccs.DisplayData ----@return self -function DisplayData:copy (displayData) end ----* ----@param displayName string ----@return string -function DisplayData:changeDisplayToTexture (displayName) end ----* ----@return self -function DisplayData:create () end ----* js ctor ----@return self -function DisplayData:DisplayData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/DisplayManager.lua b/meta/3rd/Cocos4.0/library/ccs/DisplayManager.lua deleted file mode 100644 index 64fa7b3a..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/DisplayManager.lua +++ /dev/null @@ -1,92 +0,0 @@ ----@meta - ----@class ccs.DisplayManager :cc.Ref -local DisplayManager={ } -ccs.DisplayManager=DisplayManager - - - - ----* ----@return cc.Node -function DisplayManager:getDisplayRenderNode () end ----* ----@return vec2_table -function DisplayManager:getAnchorPointInPoints () end ----* ----@return int -function DisplayManager:getDisplayRenderNodeType () end ----* ----@param index int ----@return self -function DisplayManager:removeDisplay (index) end ----* ----@param force boolean ----@return self -function DisplayManager:setForceChangeDisplay (force) end ----* ----@param bone ccs.Bone ----@return boolean -function DisplayManager:init (bone) end ----* ----@return size_table -function DisplayManager:getContentSize () end ----* ----@return rect_table -function DisplayManager:getBoundingBox () end ----@overload fun(ccs.DisplayData0:cc.Node,int:int):self ----@overload fun(ccs.DisplayData:ccs.DisplayData,int:int):self ----@param displayData ccs.DisplayData ----@param index int ----@return self -function DisplayManager:addDisplay (displayData,index) end ----@overload fun(float:float,float:float):self ----@overload fun(float0:vec2_table):self ----@param x float ----@param y float ----@return boolean -function DisplayManager:containPoint (x,y) end ----* Change display by index. You can just use this method to change display in the display list.<br> ----* The display list is just used for this bone, and it is the displays you may use in every frame.<br> ----* Note : if index is the same with prev index, the method will not effect<br> ----* param index The index of the display you want to change<br> ----* param force If true, then force change display to specified display, or current display will set to display index edit in the flash every key frame. ----@param index int ----@param force boolean ----@return self -function DisplayManager:changeDisplayWithIndex (index,force) end ----* ----@param name string ----@param force boolean ----@return self -function DisplayManager:changeDisplayWithName (name,force) end ----* ----@return boolean -function DisplayManager:isForceChangeDisplay () end ----* ----@return int -function DisplayManager:getCurrentDisplayIndex () end ----* ----@return vec2_table -function DisplayManager:getAnchorPoint () end ----* ----@return array_table -function DisplayManager:getDecorativeDisplayList () end ----* Determines if the display is visible<br> ----* see setVisible(bool)<br> ----* return true if the node is visible, false if the node is hidden. ----@return boolean -function DisplayManager:isVisible () end ----* Sets whether the display is visible<br> ----* The default value is true, a node is default to visible<br> ----* param visible true if the node is visible, false if the node is hidden. ----@param visible boolean ----@return self -function DisplayManager:setVisible (visible) end ----* ----@param bone ccs.Bone ----@return self -function DisplayManager:create (bone) end ----* ----@return self -function DisplayManager:DisplayManager () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/EventFrame.lua b/meta/3rd/Cocos4.0/library/ccs/EventFrame.lua deleted file mode 100644 index 6b7e3262..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/EventFrame.lua +++ /dev/null @@ -1,32 +0,0 @@ ----@meta - ----@class ccs.EventFrame :ccs.Frame -local EventFrame={ } -ccs.EventFrame=EventFrame - - - - ----* ----@param event string ----@return self -function EventFrame:setEvent (event) end ----* ----@return self -function EventFrame:init () end ----* ----@return string -function EventFrame:getEvent () end ----* ----@return self -function EventFrame:create () end ----* ----@return ccs.Frame -function EventFrame:clone () end ----* ----@param node cc.Node ----@return self -function EventFrame:setNode (node) end ----* ----@return self -function EventFrame:EventFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/Frame.lua b/meta/3rd/Cocos4.0/library/ccs/Frame.lua deleted file mode 100644 index 174224b7..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/Frame.lua +++ /dev/null @@ -1,61 +0,0 @@ ----@meta - ----@class ccs.Frame :cc.Ref -local Frame={ } -ccs.Frame=Frame - - - - ----* ----@return self -function Frame:clone () end ----* ----@param tweenType int ----@return self -function Frame:setTweenType (tweenType) end ----* ----@param node cc.Node ----@return self -function Frame:setNode (node) end ----* ----@param timeline ccs.Timeline ----@return self -function Frame:setTimeline (timeline) end ----* ----@return boolean -function Frame:isEnterWhenPassed () end ----* ----@return int -function Frame:getTweenType () end ----* ----@return array_table -function Frame:getEasingParams () end ----* ----@param easingParams array_table ----@return self -function Frame:setEasingParams (easingParams) end ----* ----@return unsigned_int -function Frame:getFrameIndex () end ----* ----@param percent float ----@return self -function Frame:apply (percent) end ----* ----@return boolean -function Frame:isTween () end ----* ----@param frameIndex unsigned_int ----@return self -function Frame:setFrameIndex (frameIndex) end ----* ----@param tween boolean ----@return self -function Frame:setTween (tween) end ----* ----@return ccs.Timeline -function Frame:getTimeline () end ----* ----@return cc.Node -function Frame:getNode () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/FrameData.lua b/meta/3rd/Cocos4.0/library/ccs/FrameData.lua deleted file mode 100644 index 5e867fb6..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/FrameData.lua +++ /dev/null @@ -1,19 +0,0 @@ ----@meta - ----@class ccs.FrameData :ccs.BaseData -local FrameData={ } -ccs.FrameData=FrameData - - - - ----* ----@param baseData ccs.BaseData ----@return self -function FrameData:copy (baseData) end ----* ----@return self -function FrameData:create () end ----* js ctor ----@return self -function FrameData:FrameData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/GUIReader.lua b/meta/3rd/Cocos4.0/library/ccs/GUIReader.lua deleted file mode 100644 index b39b65ef..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/GUIReader.lua +++ /dev/null @@ -1,34 +0,0 @@ ----@meta - ----@class ccs.GUIReader :cc.Ref -local GUIReader={ } -ccs.GUIReader=GUIReader - - - - ----* ----@param strFilePath string ----@return self -function GUIReader:setFilePath (strFilePath) end ----* ----@param fileName char ----@return ccui.Widget -function GUIReader:widgetFromJsonFile (fileName) end ----* ----@return string -function GUIReader:getFilePath () end ----* ----@param fileName char ----@return ccui.Widget -function GUIReader:widgetFromBinaryFile (fileName) end ----* ----@param str char ----@return int -function GUIReader:getVersionInteger (str) end ----* ----@return self -function GUIReader:destroyInstance () end ----* ----@return self -function GUIReader:getInstance () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/InnerActionFrame.lua b/meta/3rd/Cocos4.0/library/ccs/InnerActionFrame.lua deleted file mode 100644 index ea5002ea..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/InnerActionFrame.lua +++ /dev/null @@ -1,54 +0,0 @@ ----@meta - ----@class ccs.InnerActionFrame :ccs.Frame -local InnerActionFrame={ } -ccs.InnerActionFrame=InnerActionFrame - - - - ----* ----@return int -function InnerActionFrame:getEndFrameIndex () end ----* ----@return int -function InnerActionFrame:getStartFrameIndex () end ----* ----@return int -function InnerActionFrame:getInnerActionType () end ----* ----@param frameIndex int ----@return self -function InnerActionFrame:setEndFrameIndex (frameIndex) end ----* ----@param isEnterWithName boolean ----@return self -function InnerActionFrame:setEnterWithName (isEnterWithName) end ----* ----@param frameIndex int ----@return self -function InnerActionFrame:setSingleFrameIndex (frameIndex) end ----* ----@param frameIndex int ----@return self -function InnerActionFrame:setStartFrameIndex (frameIndex) end ----* ----@return int -function InnerActionFrame:getSingleFrameIndex () end ----* ----@param type int ----@return self -function InnerActionFrame:setInnerActionType (type) end ----* ----@param animationNamed string ----@return self -function InnerActionFrame:setAnimationName (animationNamed) end ----* ----@return self -function InnerActionFrame:create () end ----* ----@return ccs.Frame -function InnerActionFrame:clone () end ----* ----@return self -function InnerActionFrame:InnerActionFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/MovementBoneData.lua b/meta/3rd/Cocos4.0/library/ccs/MovementBoneData.lua deleted file mode 100644 index 9a04a3c8..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/MovementBoneData.lua +++ /dev/null @@ -1,26 +0,0 @@ ----@meta - ----@class ccs.MovementBoneData :cc.Ref -local MovementBoneData={ } -ccs.MovementBoneData=MovementBoneData - - - - ----* ----@return boolean -function MovementBoneData:init () end ----* ----@param index int ----@return ccs.FrameData -function MovementBoneData:getFrameData (index) end ----* ----@param frameData ccs.FrameData ----@return self -function MovementBoneData:addFrameData (frameData) end ----* ----@return self -function MovementBoneData:create () end ----* js ctor ----@return self -function MovementBoneData:MovementBoneData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/MovementData.lua b/meta/3rd/Cocos4.0/library/ccs/MovementData.lua deleted file mode 100644 index b7cda9fd..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/MovementData.lua +++ /dev/null @@ -1,23 +0,0 @@ ----@meta - ----@class ccs.MovementData :cc.Ref -local MovementData={ } -ccs.MovementData=MovementData - - - - ----* ----@param boneName string ----@return ccs.MovementBoneData -function MovementData:getMovementBoneData (boneName) end ----* ----@param movBoneData ccs.MovementBoneData ----@return self -function MovementData:addMovementBoneData (movBoneData) end ----* ----@return self -function MovementData:create () end ----* js ctor ----@return self -function MovementData:MovementData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ParticleDisplayData.lua b/meta/3rd/Cocos4.0/library/ccs/ParticleDisplayData.lua deleted file mode 100644 index 895a932e..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ParticleDisplayData.lua +++ /dev/null @@ -1,15 +0,0 @@ ----@meta - ----@class ccs.ParticleDisplayData :ccs.DisplayData -local ParticleDisplayData={ } -ccs.ParticleDisplayData=ParticleDisplayData - - - - ----* ----@return self -function ParticleDisplayData:create () end ----* js ctor ----@return self -function ParticleDisplayData:ParticleDisplayData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/PlayableFrame.lua b/meta/3rd/Cocos4.0/library/ccs/PlayableFrame.lua deleted file mode 100644 index 861a22e4..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/PlayableFrame.lua +++ /dev/null @@ -1,25 +0,0 @@ ----@meta - ----@class ccs.PlayableFrame :ccs.Frame -local PlayableFrame={ } -ccs.PlayableFrame=PlayableFrame - - - - ----* ----@param playact string ----@return self -function PlayableFrame:setPlayableAct (playact) end ----* ----@return string -function PlayableFrame:getPlayableAct () end ----* ----@return self -function PlayableFrame:create () end ----* ----@return ccs.Frame -function PlayableFrame:clone () end ----* ----@return self -function PlayableFrame:PlayableFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua b/meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua deleted file mode 100644 index c9aa38be..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/PositionFrame.lua +++ /dev/null @@ -1,39 +0,0 @@ ----@meta - ----@class ccs.PositionFrame :ccs.Frame -local PositionFrame={ } -ccs.PositionFrame=PositionFrame - - - - ----* ----@return float -function PositionFrame:getX () end ----* ----@return float -function PositionFrame:getY () end ----* ----@param position vec2_table ----@return self -function PositionFrame:setPosition (position) end ----* ----@param x float ----@return self -function PositionFrame:setX (x) end ----* ----@param y float ----@return self -function PositionFrame:setY (y) end ----* ----@return vec2_table -function PositionFrame:getPosition () end ----* ----@return self -function PositionFrame:create () end ----* ----@return ccs.Frame -function PositionFrame:clone () end ----* ----@return self -function PositionFrame:PositionFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/RotationFrame.lua b/meta/3rd/Cocos4.0/library/ccs/RotationFrame.lua deleted file mode 100644 index ca2f9652..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/RotationFrame.lua +++ /dev/null @@ -1,25 +0,0 @@ ----@meta - ----@class ccs.RotationFrame :ccs.Frame -local RotationFrame={ } -ccs.RotationFrame=RotationFrame - - - - ----* ----@param rotation float ----@return self -function RotationFrame:setRotation (rotation) end ----* ----@return float -function RotationFrame:getRotation () end ----* ----@return self -function RotationFrame:create () end ----* ----@return ccs.Frame -function RotationFrame:clone () end ----* ----@return self -function RotationFrame:RotationFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/RotationSkewFrame.lua b/meta/3rd/Cocos4.0/library/ccs/RotationSkewFrame.lua deleted file mode 100644 index e7baa172..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/RotationSkewFrame.lua +++ /dev/null @@ -1,18 +0,0 @@ ----@meta - ----@class ccs.RotationSkewFrame :ccs.SkewFrame -local RotationSkewFrame={ } -ccs.RotationSkewFrame=RotationSkewFrame - - - - ----* ----@return self -function RotationSkewFrame:create () end ----* ----@return ccs.Frame -function RotationSkewFrame:clone () end ----* ----@return self -function RotationSkewFrame:RotationSkewFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ScaleFrame.lua b/meta/3rd/Cocos4.0/library/ccs/ScaleFrame.lua deleted file mode 100644 index 00c2d9a4..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ScaleFrame.lua +++ /dev/null @@ -1,36 +0,0 @@ ----@meta - ----@class ccs.ScaleFrame :ccs.Frame -local ScaleFrame={ } -ccs.ScaleFrame=ScaleFrame - - - - ----* ----@param scaleY float ----@return self -function ScaleFrame:setScaleY (scaleY) end ----* ----@param scaleX float ----@return self -function ScaleFrame:setScaleX (scaleX) end ----* ----@return float -function ScaleFrame:getScaleY () end ----* ----@return float -function ScaleFrame:getScaleX () end ----* ----@param scale float ----@return self -function ScaleFrame:setScale (scale) end ----* ----@return self -function ScaleFrame:create () end ----* ----@return ccs.Frame -function ScaleFrame:clone () end ----* ----@return self -function ScaleFrame:ScaleFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/SceneReader.lua b/meta/3rd/Cocos4.0/library/ccs/SceneReader.lua deleted file mode 100644 index e9692b80..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/SceneReader.lua +++ /dev/null @@ -1,35 +0,0 @@ ----@meta - ----@class ccs.SceneReader -local SceneReader={ } -ccs.SceneReader=SceneReader - - - - ----* ----@param selector function ----@return self -function SceneReader:setTarget (selector) end ----* ----@param fileName string ----@param attachComponent int ----@return cc.Node -function SceneReader:createNodeWithSceneFile (fileName,attachComponent) end ----* ----@return int -function SceneReader:getAttachComponentType () end ----* ----@param nTag int ----@return cc.Node -function SceneReader:getNodeByTag (nTag) end ----* js purge<br> ----* lua destroySceneReader ----@return self -function SceneReader:destroyInstance () end ----* ----@return char -function SceneReader:sceneReaderVersion () end ----* ----@return self -function SceneReader:getInstance () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/SkeletonNode.lua b/meta/3rd/Cocos4.0/library/ccs/SkeletonNode.lua deleted file mode 100644 index b467be90..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/SkeletonNode.lua +++ /dev/null @@ -1,40 +0,0 @@ ----@meta - ----@class ccs.SkeletonNode :ccs.BoneNode -local SkeletonNode={ } -ccs.SkeletonNode=SkeletonNode - - - - ----* get bonenode in skeleton node by bone name ----@param boneName string ----@return ccs.BoneNode -function SkeletonNode:getBoneNode (boneName) end ----@overload fun(map_table0:string):self ----@overload fun(map_table:map_table):self ----@param boneSkinNameMap map_table ----@return self -function SkeletonNode:changeSkins (boneSkinNameMap) end ----* brief: add a boneSkinNameMap as a SkinGroup named groupName<br> ----* param: groupName, key<br> ----* param: boneSkinNameMap, map <name of bone, name of skin to display which added to bone> ----@param groupName string ----@param boneSkinNameMap map_table ----@return self -function SkeletonNode:addSkinGroup (groupName,boneSkinNameMap) end ----* get All bones in this skeleton, <bone's name, BoneNode> ----@return map_table -function SkeletonNode:getAllSubBonesMap () end ----* ----@return self -function SkeletonNode:create () end ----* ----@return rect_table -function SkeletonNode:getBoundingBox () end ----* ----@return boolean -function SkeletonNode:init () end ----* ----@return self -function SkeletonNode:SkeletonNode () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/SkewFrame.lua b/meta/3rd/Cocos4.0/library/ccs/SkewFrame.lua deleted file mode 100644 index a8285224..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/SkewFrame.lua +++ /dev/null @@ -1,32 +0,0 @@ ----@meta - ----@class ccs.SkewFrame :ccs.Frame -local SkewFrame={ } -ccs.SkewFrame=SkewFrame - - - - ----* ----@return float -function SkewFrame:getSkewY () end ----* ----@param skewx float ----@return self -function SkewFrame:setSkewX (skewx) end ----* ----@param skewy float ----@return self -function SkewFrame:setSkewY (skewy) end ----* ----@return float -function SkewFrame:getSkewX () end ----* ----@return self -function SkewFrame:create () end ----* ----@return ccs.Frame -function SkewFrame:clone () end ----* ----@return self -function SkewFrame:SkewFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/Skin.lua b/meta/3rd/Cocos4.0/library/ccs/Skin.lua deleted file mode 100644 index dfc24f15..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/Skin.lua +++ /dev/null @@ -1,57 +0,0 @@ ----@meta - ----@class ccs.Skin :cc.Sprite -local Skin={ } -ccs.Skin=Skin - - - - ----* ----@return ccs.Bone -function Skin:getBone () end ----* ----@return mat4_table -function Skin:getNodeToWorldTransformAR () end ----* ----@return string -function Skin:getDisplayName () end ----* ----@return self -function Skin:updateArmatureTransform () end ----* ----@param bone ccs.Bone ----@return self -function Skin:setBone (bone) end ----@overload fun(string:string):self ----@overload fun():self ----@param pszFileName string ----@return self -function Skin:create (pszFileName) end ----* ----@param pszSpriteFrameName string ----@return self -function Skin:createWithSpriteFrameName (pszSpriteFrameName) end ----* ----@param renderer cc.Renderer ----@param transform mat4_table ----@param flags unsigned_int ----@return self -function Skin:draw (renderer,transform,flags) end ----* ----@return mat4_table -function Skin:getNodeToWorldTransform () end ----* ----@param spriteFrameName string ----@return boolean -function Skin:initWithSpriteFrameName (spriteFrameName) end ----* ----@param filename string ----@return boolean -function Skin:initWithFile (filename) end ----* ----@return self -function Skin:updateTransform () end ----* js ctor ----@return self -function Skin:Skin () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/SpriteDisplayData.lua b/meta/3rd/Cocos4.0/library/ccs/SpriteDisplayData.lua deleted file mode 100644 index 84649ab3..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/SpriteDisplayData.lua +++ /dev/null @@ -1,19 +0,0 @@ ----@meta - ----@class ccs.SpriteDisplayData :ccs.DisplayData -local SpriteDisplayData={ } -ccs.SpriteDisplayData=SpriteDisplayData - - - - ----* ----@param displayData ccs.DisplayData ----@return self -function SpriteDisplayData:copy (displayData) end ----* ----@return self -function SpriteDisplayData:create () end ----* js ctor ----@return self -function SpriteDisplayData:SpriteDisplayData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/TextureData.lua b/meta/3rd/Cocos4.0/library/ccs/TextureData.lua deleted file mode 100644 index 2fbb79d9..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/TextureData.lua +++ /dev/null @@ -1,26 +0,0 @@ ----@meta - ----@class ccs.TextureData :cc.Ref -local TextureData={ } -ccs.TextureData=TextureData - - - - ----* ----@param index int ----@return ccs.ContourData -function TextureData:getContourData (index) end ----* ----@return boolean -function TextureData:init () end ----* ----@param contourData ccs.ContourData ----@return self -function TextureData:addContourData (contourData) end ----* ----@return self -function TextureData:create () end ----* js ctor ----@return self -function TextureData:TextureData () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/TextureFrame.lua b/meta/3rd/Cocos4.0/library/ccs/TextureFrame.lua deleted file mode 100644 index 7e3a5aab..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/TextureFrame.lua +++ /dev/null @@ -1,29 +0,0 @@ ----@meta - ----@class ccs.TextureFrame :ccs.Frame -local TextureFrame={ } -ccs.TextureFrame=TextureFrame - - - - ----* ----@return string -function TextureFrame:getTextureName () end ----* ----@param textureName string ----@return self -function TextureFrame:setTextureName (textureName) end ----* ----@return self -function TextureFrame:create () end ----* ----@return ccs.Frame -function TextureFrame:clone () end ----* ----@param node cc.Node ----@return self -function TextureFrame:setNode (node) end ----* ----@return self -function TextureFrame:TextureFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/Timeline.lua b/meta/3rd/Cocos4.0/library/ccs/Timeline.lua deleted file mode 100644 index d73c7aa6..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/Timeline.lua +++ /dev/null @@ -1,63 +0,0 @@ ----@meta - ----@class ccs.Timeline :cc.Ref -local Timeline={ } -ccs.Timeline=Timeline - - - - ----* ----@return self -function Timeline:clone () end ----* ----@param frameIndex int ----@return self -function Timeline:gotoFrame (frameIndex) end ----* ----@param node cc.Node ----@return self -function Timeline:setNode (node) end ----* ----@return ccs.ActionTimeline -function Timeline:getActionTimeline () end ----* ----@param frame ccs.Frame ----@param index int ----@return self -function Timeline:insertFrame (frame,index) end ----* ----@param tag int ----@return self -function Timeline:setActionTag (tag) end ----* ----@param frame ccs.Frame ----@return self -function Timeline:addFrame (frame) end ----* ----@return array_table -function Timeline:getFrames () end ----* ----@return int -function Timeline:getActionTag () end ----* ----@return cc.Node -function Timeline:getNode () end ----* ----@param frame ccs.Frame ----@return self -function Timeline:removeFrame (frame) end ----* ----@param action ccs.ActionTimeline ----@return self -function Timeline:setActionTimeline (action) end ----* ----@param frameIndex int ----@return self -function Timeline:stepToFrame (frameIndex) end ----* ----@return self -function Timeline:create () end ----* ----@return self -function Timeline:Timeline () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/Tween.lua b/meta/3rd/Cocos4.0/library/ccs/Tween.lua deleted file mode 100644 index 58f978bf..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/Tween.lua +++ /dev/null @@ -1,58 +0,0 @@ ----@meta - ----@class ccs.Tween -local Tween={ } -ccs.Tween=Tween - - - - ----* ----@return ccs.ArmatureAnimation -function Tween:getAnimation () end ----* ----@param frameIndex int ----@return self -function Tween:gotoAndPause (frameIndex) end ----* Start the Process<br> ----* param movementBoneData the MovementBoneData include all FrameData<br> ----* param durationTo the number of frames changing to this animation needs.<br> ----* param durationTween the number of frames this animation actual last.<br> ----* param loop whether the animation is loop<br> ----* loop < 0 : use the value from MovementData get from Action Editor<br> ----* loop = 0 : this animation is not loop<br> ----* loop > 0 : this animation is loop<br> ----* param tweenEasing tween easing is used for calculate easing effect<br> ----* TWEEN_EASING_MAX : use the value from MovementData get from Action Editor<br> ----* -1 : fade out<br> ----* 0 : line<br> ----* 1 : fade in<br> ----* 2 : fade in and out ----@param movementBoneData ccs.MovementBoneData ----@param durationTo int ----@param durationTween int ----@param loop int ----@param tweenEasing int ----@return self -function Tween:play (movementBoneData,durationTo,durationTween,loop,tweenEasing) end ----* ----@param frameIndex int ----@return self -function Tween:gotoAndPlay (frameIndex) end ----* Init with a Bone<br> ----* param bone the Bone Tween will bind to ----@param bone ccs.Bone ----@return boolean -function Tween:init (bone) end ----* ----@param animation ccs.ArmatureAnimation ----@return self -function Tween:setAnimation (animation) end ----* Create with a Bone<br> ----* param bone the Bone Tween will bind to ----@param bone ccs.Bone ----@return self -function Tween:create (bone) end ----* ----@return self -function Tween:Tween () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/VisibleFrame.lua b/meta/3rd/Cocos4.0/library/ccs/VisibleFrame.lua deleted file mode 100644 index 25dd30d6..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/VisibleFrame.lua +++ /dev/null @@ -1,25 +0,0 @@ ----@meta - ----@class ccs.VisibleFrame :ccs.Frame -local VisibleFrame={ } -ccs.VisibleFrame=VisibleFrame - - - - ----* ----@return boolean -function VisibleFrame:isVisible () end ----* ----@param visible boolean ----@return self -function VisibleFrame:setVisible (visible) end ----* ----@return self -function VisibleFrame:create () end ----* ----@return ccs.Frame -function VisibleFrame:clone () end ----* ----@return self -function VisibleFrame:VisibleFrame () end
\ No newline at end of file diff --git a/meta/3rd/Cocos4.0/library/ccs/ZOrderFrame.lua b/meta/3rd/Cocos4.0/library/ccs/ZOrderFrame.lua deleted file mode 100644 index b0d4d1eb..00000000 --- a/meta/3rd/Cocos4.0/library/ccs/ZOrderFrame.lua +++ /dev/null @@ -1,25 +0,0 @@ ----@meta - ----@class ccs.ZOrderFrame :ccs.Frame -local ZOrderFrame={ } -ccs.ZOrderFrame=ZOrderFrame - - - - ----* ----@return int -function ZOrderFrame:getZOrder () end ----* ----@param zorder int ----@return self -function ZOrderFrame:setZOrder (zorder) end ----* ----@return self -function ZOrderFrame:create () end ----* ----@return ccs.Frame -function ZOrderFrame:clone () end ----* ----@return self -function ZOrderFrame:ZOrderFrame () end
\ No newline at end of file |