MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / addObject

Method addObject

Engine/source/console/simSet.h:474–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472};
473
474inline void SimGroup::addObject(SimObject* obj, SimObjectId id)
475{
476 obj->mId = id;
477 dSprintf( obj->mIdString, sizeof( obj->mIdString ), "%u", obj->mId );
478 addObject( obj );
479}
480
481inline void SimGroup::addObject(SimObject *obj, const char *name)
482{

Callers 7

cloneMethod · 0.45
addToSetMethod · 0.45
setProtectedParentMethod · 0.45
execMethod · 0.45
onAddMethod · 0.45
initFunction · 0.45

Calls 2

dSprintfFunction · 0.85
assignNameMethod · 0.80

Tested by

no test coverage detected