summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-13 21:33:08 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-14 22:05:08 +0300
commit60a03815c37f04485c048bb3e4f37960b6ba18cb (patch)
tree2312696461056959722f832d88fb58393b8f14c7 /src/map/packets_struct.h
parent52fab52108281d215c61d7fbdb82438c043a10f5 (diff)
downloadhercules-60a03815c37f04485c048bb3e4f37960b6ba18cb.tar.gz
hercules-60a03815c37f04485c048bb3e4f37960b6ba18cb.tar.bz2
hercules-60a03815c37f04485c048bb3e4f37960b6ba18cb.tar.xz
hercules-60a03815c37f04485c048bb3e4f37960b6ba18cb.zip
Add packet CZ_INVENTORY_EXPAND
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index e7fbdb7bd..ad67091dc 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3006,6 +3006,13 @@ struct PACKET_ZC_ACK_INVENTORY_EXPAND_RESULT {
DEFINE_PACKET_HEADER(ZC_ACK_INVENTORY_EXPAND_RESULT, 0x0b17);
#endif
+#if PACKETVER_MAIN_NUM >= 20181031 || PACKETVER_RE_NUM >= 20181031 || PACKETVER_ZERO_NUM >= 20181114
+struct PACKET_CZ_INVENTORY_EXPAND {
+ int16 packetType;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(CZ_INVENTORY_EXPAND, 0x0b14);
+#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