mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
add geode addition comment
This commit is contained in:
parent
df3d1477c7
commit
723ff87f06
1 changed files with 4 additions and 0 deletions
|
@ -849,11 +849,15 @@ public:
|
|||
* Set a user-assigned CCObject with a specific ID. This allows nodes to
|
||||
* have multiple user objects. Objects should be prefixed with the mod ID.
|
||||
* Assigning a null removes the user object with the ID
|
||||
*
|
||||
* @note Geode addition
|
||||
*/
|
||||
GEODE_DLL void setUserObject(std::string const& id, CCObject* object);
|
||||
|
||||
/**
|
||||
* Get a user-assigned CCObject with the specific ID
|
||||
*
|
||||
* @note Geode addition
|
||||
*/
|
||||
GEODE_DLL CCObject* getUserObject(std::string const& id);
|
||||
|
||||
|
|
Loading…
Reference in a new issue