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

Method setGhostTo

Engine/source/sim/netGhost.cpp:164–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void NetConnection::setGhostTo(bool ghostTo)
165{
166 if(mLocalGhosts) // if ghosting to this is already enabled, silently return
167 return;
168
169 if(ghostTo)
170 {
171 mLocalGhosts = new NetObject *[MaxGhostCount];
172 for(S32 i = 0; i < MaxGhostCount; i++)
173 mLocalGhosts[i] = NULL;
174 }
175}
176
177void NetConnection::setGhostFrom(bool ghostFrom)
178{

Callers 1

aiClient.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected