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

Function removeServerInfo

Engine/source/app/net/serverQuery.cpp:1031–1041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029//-----------------------------------------------------------------------------
1030
1031static void removeServerInfo( const NetAddress* addr )
1032{
1033 for ( U32 i = 0; i < gServerList.size(); i++ )
1034 {
1035 if ( Net::compareAddresses( addr, &gServerList[i].address ) )
1036 {
1037 gServerList.erase( i );
1038 gServerBrowserDirty = true;
1039 }
1040 }
1041}
1042
1043//-----------------------------------------------------------------------------
1044

Callers 2

handleGamePingResponseFunction · 0.85
handleGameInfoResponseFunction · 0.85

Calls 2

sizeMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected