summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-13 20:43:45 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-14 01:23:00 +0300
commitaee153a9a56ab05464779082a711adc95fb28663 (patch)
treee99fd877d4a333c7265176d38d9f478918fa6751 /src/map/packets_struct.h
parentc34b4fbb432350c3632800b53a143a8f54ab7dbc (diff)
downloadhercules-aee153a9a56ab05464779082a711adc95fb28663.tar.gz
hercules-aee153a9a56ab05464779082a711adc95fb28663.tar.bz2
hercules-aee153a9a56ab05464779082a711adc95fb28663.tar.xz
hercules-aee153a9a56ab05464779082a711adc95fb28663.zip
Add packet ZC_ACK_INVENTORY_EXPAND
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 78ed1a83b..663e6cbbf 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2989,6 +2989,15 @@ struct PACKET_ZC_INVENTORY_EXPANSION_INFO {
DEFINE_PACKET_HEADER(ZC_INVENTORY_EXPANSION_INFO, 0x0b18);
#endif
+#if PACKETVER_ZERO_NUM >= 20181212
+struct PACKET_ZC_ACK_INVENTORY_EXPAND {
+ int16 packetType;
+ uint8 result;
+ uint32 itemId;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_ACK_INVENTORY_EXPAND, 0x0b15);
+#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