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

Function findServerInfo

Engine/source/app/net/serverQuery.cpp:1006–1012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1004//-----------------------------------------------------------------------------
1005
1006static ServerInfo* findServerInfo( const NetAddress* addr )
1007{
1008 for ( U32 i = 0; i < gServerList.size(); i++ )
1009 if ( Net::compareAddresses( addr, &gServerList[i].address ) )
1010 return &gServerList[i];
1011 return NULL;
1012}
1013
1014//-----------------------------------------------------------------------------
1015

Callers 6

querySingleServerFunction · 0.85
cancelServerQueryFunction · 0.85
findOrCreateServerInfoFunction · 0.85
processPingsAndQueriesFunction · 0.85
handleGamePingResponseFunction · 0.85
handleGameInfoResponseFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected