Network: Log received packets at log level net=3

This commit is contained in:
Jonathan G Rennison
2021-05-14 19:34:15 +01:00
parent 66cac92028
commit e04218b528
6 changed files with 21 additions and 1 deletions

View File

@@ -1359,6 +1359,11 @@ void ClientNetworkGameSocketHandler::CheckConnection()
ShowErrorMessage(STR_NETWORK_ERROR_CLIENT_GUI_LOST_CONNECTION_CAPTION, STR_NETWORK_ERROR_CLIENT_GUI_LOST_CONNECTION, WL_INFO);
}
std::string ClientNetworkGameSocketHandler::GetDebugInfo() const
{
return stdstr_fmt("status: %d", this->status);
}
/** Is called after a client is connected to the server */
void NetworkClient_Connected()