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

Function findPingEntry

Engine/source/app/net/serverQuery.cpp:984–990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

handleGamePingResponseFunction · 0.85
handleGameInfoResponseFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected