Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ShutdownClient
Function · 0.80
Calls
11
GetMode
Function · 0.85
FormatStringLegacy
Function · 0.85
ChatAddHistory
Function · 0.85
GetPickupPeep
Function · 0.85
GetPickupPeepOldX
Function · 0.85
GetCurrentPlayerId
Function · 0.85
AppendServerLog
Function · 0.85
ProcessPlayerLeftPluginHooks
Function · 0.85
disconnect
Method · 0.80
getLastDisconnectReason
Method · 0.80
Execute
Function · 0.50
Tested by
no test coverage detected