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

Method clearScopeAlways

Engine/source/sim/netObject.cpp:295–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295void NetObject::clearScopeAlways()
296{
297 if(!mNetFlags.test(IsGhost))
298 {
299 mNetFlags.clear(ScopeAlways);
300 Sim::getGhostAlwaysSet()->removeObject(this);
301
302 // Un ghost this object from all the connections
303 while(mFirstObjectRef)
304 mFirstObjectRef->connection->detachObject(mFirstObjectRef);
305 }
306}
307
308bool NetObject::onAdd()
309{

Callers 1

netObject.cppFile · 0.80

Calls 4

testMethod · 0.45
clearMethod · 0.45
removeObjectMethod · 0.45
detachObjectMethod · 0.45

Tested by

no test coverage detected