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

Function countPingRequests

Engine/source/app/net/serverQuery.cpp:929–938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927//-----------------------------------------------------------------------------
928
929static S32 countPingRequests()
930{
931 // Need a function here because the ping list also includes
932 // broadcast pings we don't want counted.
933 U32 pSize = gPingList.size(), count = pSize;
934 for (U32 i = 0; i < pSize; i++)
935 if (gPingList[i].broadcast)
936 count--;
937 return count;
938}
939
940
941//-----------------------------------------------------------------------------

Callers 1

updatePingProgressFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected