diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-02-05 22:30:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-02-06 03:55:32 +0300 |
commit | 1efc9f3571988551407191a0784b363022c7fcc5 (patch) | |
tree | e4c66832131d6ba39d40c25733641b01a87f31c4 /src/map/packets_struct.h | |
parent | 0b408f5971a9e4152b2aadc2b9208a0e8643f6e3 (diff) | |
download | hercules-1efc9f3571988551407191a0784b363022c7fcc5.tar.gz hercules-1efc9f3571988551407191a0784b363022c7fcc5.tar.bz2 hercules-1efc9f3571988551407191a0784b363022c7fcc5.tar.xz hercules-1efc9f3571988551407191a0784b363022c7fcc5.zip |
Add packet CZ_CLIENT_VERSION
For now unused, but can be used.
This packet works in some old clients near 2015 versions.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 9ebc8a75e..2339935ec 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3152,6 +3152,14 @@ struct PACKET_ZC_USESKILL_ACK { DEFINE_PACKET_HEADER(ZC_USESKILL_ACK, 0x013e); #endif +#if PACKETVER_MAIN_NUM >= 20090406 || PACKETVER_RE_NUM >= 20090408 || PACKETVER_SAK_NUM >= 20090408 || defined(PACKETVER_ZERO) +struct PACKET_CZ_CLIENT_VERSION { + int16 packetType; + uint32 clientVersion; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(CZ_CLIENT_VERSION, 0x044a); +#endif + #if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute #pragma pack(pop) #endif // not NetBSD < 6 / Solaris |