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

Function removeServerInfo

Engine/source/app/net/serverQuery.cpp:1029–1039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

handleGamePingResponseFunction · 0.85
handleGameInfoResponseFunction · 0.85

Calls 2

sizeMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected