Add client desync log to server desync log output

This commit is contained in:
Jonathan G Rennison
2019-05-21 18:58:13 +01:00
parent cb0ca43eae
commit 97baff6fd8
12 changed files with 112 additions and 14 deletions

View File

@@ -121,6 +121,7 @@ enum PacketGameType {
PACKET_SERVER_QUIT, ///< A server tells that a client has quit.
PACKET_CLIENT_ERROR, ///< A client reports an error to the server.
PACKET_SERVER_ERROR_QUIT, ///< A server tells that a client has hit an error and did quit.
PACKET_CLIENT_DESYNC_LOG, ///< A client reports a desync log
PACKET_END, ///< Must ALWAYS be on the end of this list!! (period)
};
@@ -426,6 +427,7 @@ protected:
* @param p The packet that was just received.
*/
virtual NetworkRecvStatus Receive_CLIENT_ERROR(Packet *p);
virtual NetworkRecvStatus Receive_CLIENT_DESYNC_LOG(Packet *p);
/**
* Notification that a client left the game: