Skip to content

Commit

Permalink
fix CCNode::removeChildByID not being exported properly
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Sep 17, 2023
1 parent f39c6f7 commit 23cd456
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions loader/include/Geode/cocos/base_nodes/CCNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -700,12 +700,6 @@ class CC_DLL CCNode : public CCObject
* @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);
/**
* 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.
*
Expand Down Expand Up @@ -890,6 +884,13 @@ class CC_DLL CCNode : public CCObject
*/
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
* @param child The node to add. The node may not be a child of another
Expand Down

0 comments on commit 23cd456

Please sign in to comment.