MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetServerState

Method GetServerState

engine/Poseidon/Network/NetworkMisc.cpp:1403–1418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1401 StartEnumHosts();
1402 return result;
1403 }
1404 ProgressFinish();
1405 GDebugger.ResumeCheckingAlive();
1406
1407 return CROK;
1408}
1409
1410void NetworkManager::Close()
1411{
1412 GDebugger.PauseCheckingAlive();
1413
1414 // remove server and client
1415 _client = nullptr;
1416 _server = nullptr;
1417
1418 StartEnumHosts();
1419
1420 GDebugger.ResumeCheckingAlive();
1421}

Callers 12

RunMainLoopMethod · 0.45
GetClientServerStateMethod · 0.45
AnswerNetworkQueryFunction · 0.45
PollMethod · 0.45
OnSimulateMethod · 0.45
UpdatePlayersMethod · 0.45
OnSimulateMethod · 0.45
OnSimulateMethod · 0.45
OnChildDestroyedMethod · 0.45
OnSimulateMethod · 0.45
TriGetNgsStateFunction · 0.45
TriMpClientReadyFunction · 0.45

Calls 2

IsSimulateModeMethod · 0.80
GetGameStateMethod · 0.45

Tested by 2

TriGetNgsStateFunction · 0.36
TriMpClientReadyFunction · 0.36