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

Function findPingEntry

Engine/source/app/net/serverQuery.cpp:986–992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984//-----------------------------------------------------------------------------
985
986static S32 findPingEntry( Vector<Ping> &v, const NetAddress* addr )
987{
988 for ( U32 i = 0; i < v.size(); i++ )
989 if ( Net::compareAddresses( addr, &v[i].address ) )
990 return S32( i );
991 return -1;
992}
993
994//-----------------------------------------------------------------------------
995

Callers 2

handleGamePingResponseFunction · 0.85
handleGameInfoResponseFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected