diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-04-17 04:41:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-05-04 01:00:43 +0300 |
commit | 2b164edff18d15e87c16cbc0c77973154489d854 (patch) | |
tree | 812dc2a8b40d51db590e89b3c22484ab17010ade /src/map/packets_struct.h | |
parent | 96bdd956cdbd87fcc9b665b5defd04fafb2f6684 (diff) | |
download | hercules-2b164edff18d15e87c16cbc0c77973154489d854.tar.gz hercules-2b164edff18d15e87c16cbc0c77973154489d854.tar.bz2 hercules-2b164edff18d15e87c16cbc0c77973154489d854.tar.xz hercules-2b164edff18d15e87c16cbc0c77973154489d854.zip |
Add packet CZ_LAPINEUPGRADE_CLOSE
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index f4c4dd1bc..13a78fb21 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3903,6 +3903,13 @@ struct PACKET_ZC_LAPINEUPGRADE_OPEN { DEFINE_PACKET_HEADER(ZC_LAPINEUPGRADE_OPEN, 0x0ab4); #endif +#if PACKETVER_MAIN_NUM >= 20170111 || PACKETVER_RE_NUM >= 20170111 || defined(PACKETVER_ZERO) +struct PACKET_CZ_LAPINEUPGRADE_CLOSE { + int16 packetType; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(CZ_LAPINEUPGRADE_CLOSE, 0x0ab5); +#endif // PACKETVER_MAIN_NUM >= 20160504 || PACKETVER_RE_NUM >= 20160504 || defined(PACKETVER_ZERO) + #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 |