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

Method create

Engine/source/console/simPersistID.cpp:90–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88//-----------------------------------------------------------------------------
89
90SimPersistID* SimPersistID::create( SimObject* object )
91{
92 SimPersistID* pid = new SimPersistID( object );
93
94 #ifdef DEBUG_SPEW
95 Platform::outputDebugString( "[SimPersistID] Created new pid for object %i:%s (%s) with uuid '%s'",
96 object->getId(), object->getClassName(), object->getName(),
97 pid->getUUID().toString().c_str() );
98 #endif
99
100 return pid;
101}
102
103//-----------------------------------------------------------------------------
104

Callers

nothing calls this directly

Calls 5

getIdMethod · 0.65
getClassNameMethod · 0.45
getNameMethod · 0.45
c_strMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected