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

Method setOriginalName

Engine/source/console/simObject.cpp:2136–2142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2134//-----------------------------------------------------------------------------
2135
2136void SimObject::setOriginalName( const char* originalName )
2137{
2138 if( originalName )
2139 mOriginalName = StringTable->insert( originalName );
2140 else
2141 mOriginalName = StringTable->EmptyString();
2142}
2143
2144//-----------------------------------------------------------------------------
2145

Callers 3

execMethod · 0.80
writeNewObjectMethod · 0.80
updateObjectMethod · 0.80

Calls 2

EmptyStringMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected