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

Method objectLocalClearAlways

Engine/source/sim/netGhost.cpp:741–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739}
740
741void NetConnection::objectLocalClearAlways(NetObject *obj)
742{
743 if(!isGhostingFrom())
744 return;
745 for(GhostInfo *walk = mGhostLookupTable[obj->getId() & (GhostLookupTableSize - 1)]; walk; walk = walk->nextLookupInfo)
746 {
747 if(walk->obj != obj)
748 continue;
749 walk->flags &= ~GhostInfo::ScopeLocalAlways;
750 return;
751 }
752}
753
754bool NetConnection::validateGhostArray()
755{

Callers 1

netObject.cppFile · 0.80

Calls 1

getIdMethod · 0.65

Tested by

no test coverage detected