MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / ServerClientDisconnected

Method ServerClientDisconnected

src/openrct2/network/NetworkBase.cpp:947–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

945 }
946
947 void NetworkBase::ServerClientDisconnected()
948 {
949 if (GetMode() == Mode::client)
950 {
951 _serverConnection->disconnect();
952 }
953 }
954
955 std::string NetworkBase::GenerateAdvertiseKey()
956 {

Callers 1

ShutdownClientFunction · 0.80

Calls 11

GetModeFunction · 0.85
FormatStringLegacyFunction · 0.85
ChatAddHistoryFunction · 0.85
GetPickupPeepFunction · 0.85
GetPickupPeepOldXFunction · 0.85
GetCurrentPlayerIdFunction · 0.85
AppendServerLogFunction · 0.85
disconnectMethod · 0.80
ExecuteFunction · 0.50

Tested by

no test coverage detected