Prepare to send reason for leaving a game. New protocol version as it is not compatible to the current beta.

This commit is contained in:
lotodore
2007-11-18 12:53:42 +00:00
parent 6ab852966f
commit 9e0ffe4317
3 changed files with 11 additions and 2 deletions
+8 -1
View File
@@ -447,10 +447,17 @@ Server Notification: Player Left
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Message Type = 53 | Message Length = 8 |
| Message Type = 53 | Message Length = 12 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Player ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Leave Reason | Reserved |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Leave Reason:
0x0000 - On Request
0x0001 - Kicked from the game
0xFFFF - Other reason
Server Notification: Game Admin Changed