summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-13 21:04:58 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-14 01:23:00 +0300
commit52fab52108281d215c61d7fbdb82438c043a10f5 (patch)
tree10fc45222925cf4876a6839a5d466416408711f1 /src/map/packets_struct.h
parentaee153a9a56ab05464779082a711adc95fb28663 (diff)
downloadhercules-52fab52108281d215c61d7fbdb82438c043a10f5.tar.gz
hercules-52fab52108281d215c61d7fbdb82438c043a10f5.tar.bz2
hercules-52fab52108281d215c61d7fbdb82438c043a10f5.tar.xz
hercules-52fab52108281d215c61d7fbdb82438c043a10f5.zip
Add packet ZC_ACK_INVENTORY_EXPAND_RESULT
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 663e6cbbf..e7fbdb7bd 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2998,6 +2998,14 @@ struct PACKET_ZC_ACK_INVENTORY_EXPAND {
DEFINE_PACKET_HEADER(ZC_ACK_INVENTORY_EXPAND, 0x0b15);
#endif
+#if PACKETVER_ZERO_NUM >= 20181212
+struct PACKET_ZC_ACK_INVENTORY_EXPAND_RESULT {
+ int16 packetType;
+ uint8 result;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_ACK_INVENTORY_EXPAND_RESULT, 0x0b17);
+#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