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

@@ -66,6 +66,8 @@ public:
STATUS_END, ///< Must ALWAYS be on the end of this list!! (period).
};
static const char *GetClientStatusName(ClientStatus status);
byte lag_test; ///< Byte used for lag-testing the client
byte last_token; ///< The last random token we did send to verify the client is listening
uint32 last_token_frame; ///< The last frame we received the right token