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:
1 parent
6ab852966f
commit
9e0ffe4317
3 files changed
+11
-2
No files matched your search
@@ -309,6 +309,8 @@ struct GCC_PACKED NetPacketPlayerLeftData
|
||||
{
|
||||
NetPacketHeader head;
|
||||
u_int32_t playerId;
|
||||
u_int16_t leaveReason;
|
||||
u_int16_t reserved;
|
||||
};
|
||||
|
||||
struct GCC_PACKED NetPacketGameAdminChangedData
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
#include <vector>
|
||||
#include <list>
|
||||
|
||||
#define NET_VERSION_MAJOR 2
|
||||
#define NET_VERSION_MAJOR 3
|
||||
#define NET_VERSION_MINOR 0
|
||||
|
||||
#define MIN_PACKET_SIZE 4
|
||||
|
||||
Reference in new issue
Block a user