Send network client desync log messages to server

This commit is contained in:
Jonathan G Rennison
2021-04-24 01:15:05 +01:00
parent c14dcdadaf
commit 0d262e4d9a
8 changed files with 71 additions and 10 deletions

View File

@@ -124,6 +124,7 @@ enum PacketGameType {
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_SERVER_DESYNC_LOG, ///< A server reports a desync log
PACKET_CLIENT_DESYNC_MSG, ///< A client reports a desync message
PACKET_END, ///< Must ALWAYS be on the end of this list!! (period)
};
@@ -447,6 +448,7 @@ protected:
virtual NetworkRecvStatus Receive_CLIENT_ERROR(Packet *p);
virtual NetworkRecvStatus Receive_CLIENT_DESYNC_LOG(Packet *p);
virtual NetworkRecvStatus Receive_SERVER_DESYNC_LOG(Packet *p);
virtual NetworkRecvStatus Receive_CLIENT_DESYNC_MSG(Packet *p);
/**
* Notification that a client left the game: