MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / getOrCreatePersistentId

Method getOrCreatePersistentId

Engine/source/console/simObject.cpp:430–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428//-----------------------------------------------------------------------------
429
430SimPersistID* SimObject::getOrCreatePersistentId()
431{
432 if( !mPersistentId )
433 {
434 mPersistentId = SimPersistID::create( this );
435 mPersistentId->incRefCount();
436 }
437 return mPersistentId;
438}
439
440
441

Callers 4

mountObjectMethod · 0.80
simObject.cppFile · 0.80
addObjectMethod · 0.80
setCanSaveMethod · 0.80

Calls 1

incRefCountMethod · 0.45

Tested by

no test coverage detected