Updated networking

This commit is contained in:
2016-03-21 20:57:13 +11:00
parent c2197d5e71
commit 5f0cf826d4
5 changed files with 73 additions and 87 deletions
+3 -3
View File
@@ -24,7 +24,7 @@
#include "serial_packet_base.hpp"
#include "character_packet.hpp"
#include "client_packet.hpp"
#include "monster_packet.hpp"
#include "creature_packet.hpp"
#include "region_packet.hpp"
#include "server_packet.hpp"
#include "text_packet.hpp"
@@ -33,12 +33,12 @@
typedef SerialPacketBase SerialPacket;
//DOCS: NETWORK_VERSION is used to discern compatible servers and clients
constexpr int NETWORK_VERSION = 20160316;
constexpr int NETWORK_VERSION = 20160321;
union MaxPacket {
CharacterPacket a;
ClientPacket b;
MonsterPacket c;
CreaturePacket c;
RegionPacket d;
ServerPacket e;
TextPacket f;