summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-13 20:21:44 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-14 01:23:00 +0300
commitc34b4fbb432350c3632800b53a143a8f54ab7dbc (patch)
tree570fd3ce739af4cd364fd8880146f25300cfae60 /src/map/packets_struct.h
parent8e1e7ee7fbf3785d77768ea36e63d4008293b0d0 (diff)
downloadhercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.tar.gz
hercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.tar.bz2
hercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.tar.xz
hercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.zip
Add packt ZC_INVENTORY_EXPANSION_INFO
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 f6b1a61fb..78ed1a83b 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2981,6 +2981,14 @@ struct PACKET_CZ_STOP_USE_SKILL {
DEFINE_PACKET_HEADER(CZ_STOP_USE_SKILL, 0x0b11);
#endif
+#if PACKETVER_ZERO_NUM >= 20181212
+struct PACKET_ZC_INVENTORY_EXPANSION_INFO {
+ int16 packetType;
+ int16 expansionSize;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_INVENTORY_EXPANSION_INFO, 0x0b18);
+#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