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

Function countPingRequests

Engine/source/app/net/serverQuery.cpp:928–937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

updatePingProgressFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected