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

Method objectLocalScopeAlways

Engine/source/sim/netGhost.cpp:727–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725//-----------------------------------------------------------------------------
726
727void NetConnection::objectLocalScopeAlways(NetObject *obj)
728{
729 if(!isGhostingFrom())
730 return;
731 objectInScope(obj);
732 for(GhostInfo *walk = mGhostLookupTable[obj->getId() & (GhostLookupTableSize - 1)]; walk; walk = walk->nextLookupInfo)
733 {
734 if(walk->obj != obj)
735 continue;
736 walk->flags |= GhostInfo::ScopeLocalAlways;
737 return;
738 }
739}
740
741void NetConnection::objectLocalClearAlways(NetObject *obj)
742{

Callers 3

init_scopingMethod · 0.80
init_scopingMethod · 0.80
netObject.cppFile · 0.80

Calls 1

getIdMethod · 0.65

Tested by

no test coverage detected