Net: Log sent and received game packets with type and status names

This commit is contained in:
Jonathan G Rennison
2021-05-21 01:40:00 +01:00
parent 7677d2d01a
commit 6d58115458
8 changed files with 117 additions and 3 deletions

View File

@@ -40,6 +40,8 @@ private:
std::string server_desync_log;
bool emergency_save_done = false;
static const char *GetServerStatusName(ServerStatus status);
protected:
friend void NetworkExecuteLocalCommandQueue();
friend void NetworkClose(bool close_admins);