MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / setSimulatedNetParams

Method setSimulatedNetParams

Engine/source/sim/netConnection.h:582–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580#endif
581
582 void setSimulatedNetParams(F32 packetLoss, U32 ping)
583 { mSimulatedPacketLoss = packetLoss; mSimulatedPing = ping; }
584
585 bool isConnectionToServer() { return mTypeFlags.test(ConnectionToServer); }
586 bool isLocalConnection() { return !mRemoteConnection.isNull() ; }

Callers 3

serverCmdNetSimulateLagFunction · 0.80
serverCmdNetSimulateLagFunction · 0.80
netConnection.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected