mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
fix CCNode::removeChildByID not being exported properly
This commit is contained in:
parent
f39c6f711a
commit
23cd456860
1 changed files with 7 additions and 6 deletions
13
loader/include/Geode/cocos/base_nodes/CCNode.h
vendored
13
loader/include/Geode/cocos/base_nodes/CCNode.h
vendored
|
@ -700,12 +700,6 @@ public:
|
||||||
* @param cleanup true if all running actions and callbacks on the child node will be cleanup, false otherwise.
|
* @param cleanup true if all running actions and callbacks on the child node will be cleanup, false otherwise.
|
||||||
*/
|
*/
|
||||||
virtual void removeChildByTag(int tag, bool cleanup);
|
virtual void removeChildByTag(int tag, bool cleanup);
|
||||||
/**
|
|
||||||
* Removes a child from the container by its ID.
|
|
||||||
* @param id The ID of the node
|
|
||||||
* @note Geode addition
|
|
||||||
*/
|
|
||||||
void removeChildByID(std::string const& id);
|
|
||||||
/**
|
/**
|
||||||
* Removes all children from the container with a cleanup.
|
* Removes all children from the container with a cleanup.
|
||||||
*
|
*
|
||||||
|
@ -890,6 +884,13 @@ public:
|
||||||
*/
|
*/
|
||||||
GEODE_DLL CCNode* getChildByIDRecursive(std::string const& id);
|
GEODE_DLL CCNode* getChildByIDRecursive(std::string const& id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Removes a child from the container by its ID.
|
||||||
|
* @param id The ID of the node
|
||||||
|
* @note Geode addition
|
||||||
|
*/
|
||||||
|
GEODE_DLL void removeChildByID(std::string const& id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a child before a specified existing child
|
* Add a child before a specified existing child
|
||||||
* @param child The node to add. The node may not be a child of another
|
* @param child The node to add. The node may not be a child of another
|
||||||
|
|
Loading…
Reference in a new issue