summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.ProtectedNode.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-08-13 01:23:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-08-13 01:23:32 +0800
commit04fa96b7c0abba4d7cca03ed12ff3b65b3912e01 (patch)
treec0c8a2c0e92d0580280f838ba475875c7f82a73c /meta/3rd/Cocos4.0/library/cc.ProtectedNode.lua
parentc30c5c2e267f6917600afe4f19e1e0d674bad9c6 (diff)
downloadlua-language-server-04fa96b7c0abba4d7cca03ed12ff3b65b3912e01.zip
fix #1431
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.ProtectedNode.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc.ProtectedNode.lua99
1 files changed, 0 insertions, 99 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.ProtectedNode.lua b/meta/3rd/Cocos4.0/library/cc.ProtectedNode.lua
deleted file mode 100644
index c77f3f74..00000000
--- a/meta/3rd/Cocos4.0/library/cc.ProtectedNode.lua
+++ /dev/null
@@ -1,99 +0,0 @@
----@meta
-
----@class cc.ProtectedNode :cc.Node
-local ProtectedNode={ }
-cc.ProtectedNode=ProtectedNode
-
-
-
-
----@overload fun(cc.Node:cc.Node,int:int):self
----@overload fun(cc.Node:cc.Node):self
----@overload fun(cc.Node:cc.Node,int:int,int:int):self
----@param child cc.Node
----@param localZOrder int
----@param tag int
----@return self
-function ProtectedNode:addProtectedChild (child,localZOrder,tag) end
----*
----@return self
-function ProtectedNode:disableCascadeColor () end
----* Removes a child from the container by tag value. It will also cleanup all running actions depending on the cleanup parameter.<br>
----* param tag An integer number that identifies a child node.<br>
----* param cleanup true if all running actions and callbacks on the child node will be cleanup, false otherwise.
----@param tag int
----@param cleanup boolean
----@return self
-function ProtectedNode:removeProtectedChildByTag (tag,cleanup) end
----* Reorders a child according to a new z value.<br>
----* param child An already added child node. It MUST be already added.<br>
----* param localZOrder Z order for drawing priority. Please refer to setLocalZOrder(int)
----@param child cc.Node
----@param localZOrder int
----@return self
-function ProtectedNode:reorderProtectedChild (child,localZOrder) end
----* Removes all children from the container, and do a cleanup to all running actions depending on the cleanup parameter.<br>
----* param cleanup true if all running actions on all children nodes should be cleanup, false otherwise.<br>
----* js removeAllChildren<br>
----* lua removeAllChildren
----@param cleanup boolean
----@return self
-function ProtectedNode:removeAllProtectedChildrenWithCleanup (cleanup) end
----*
----@return self
-function ProtectedNode:disableCascadeOpacity () end
----* Sorts the children array once before drawing, instead of every time when a child is added or reordered.<br>
----* This approach can improves the performance massively.<br>
----* note Don't call this manually unless a child added needs to be removed in the same frame
----@return self
-function ProtectedNode:sortAllProtectedChildren () end
----* Gets a child from the container with its tag.<br>
----* param tag An identifier to find the child node.<br>
----* return a Node object whose tag equals to the input parameter.
----@param tag int
----@return cc.Node
-function ProtectedNode:getProtectedChildByTag (tag) end
----* Removes a child from the container. It will also cleanup all running actions depending on the cleanup parameter.<br>
----* param child The child node which will be removed.<br>
----* param cleanup true if all running actions and callbacks on the child node will be cleanup, false otherwise.
----@param child cc.Node
----@param cleanup boolean
----@return self
-function ProtectedNode:removeProtectedChild (child,cleanup) end
----* Removes all children from the container with a cleanup.<br>
----* see `removeAllChildrenWithCleanup(bool)`.
----@return self
-function ProtectedNode:removeAllProtectedChildren () end
----* Creates a ProtectedNode with no argument.<br>
----* return A instance of ProtectedNode.
----@return self
-function ProtectedNode:create () end
----*
----@param mask unsigned short
----@param applyChildren boolean
----@return self
-function ProtectedNode:setCameraMask (mask,applyChildren) end
----*
----@param globalZOrder float
----@return self
-function ProtectedNode:setGlobalZOrder (globalZOrder) end
----* js NA
----@param renderer cc.Renderer
----@param parentTransform mat4_table
----@param parentFlags unsigned_int
----@return self
-function ProtectedNode:visit (renderer,parentTransform,parentFlags) end
----*
----@param parentOpacity unsigned_char
----@return self
-function ProtectedNode:updateDisplayedOpacity (parentOpacity) end
----*
----@param parentColor color3b_table
----@return self
-function ProtectedNode:updateDisplayedColor (parentColor) end
----*
----@return self
-function ProtectedNode:cleanup () end
----*
----@return self
-function ProtectedNode:ProtectedNode () end \ No newline at end of file