summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-12 23:19:02 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-19 22:24:50 +0300
commitfbbc7f4dec0c7301a0ee3547675a2fba6c62a34c (patch)
treec7696c74e26bcb326b7849753b16e395ab7d7c9c /src/map/packets_struct.h
parentd7c3cd215f25380cd5db1e93ac549bbb441c60c5 (diff)
downloadhercules-fbbc7f4dec0c7301a0ee3547675a2fba6c62a34c.tar.gz
hercules-fbbc7f4dec0c7301a0ee3547675a2fba6c62a34c.tar.bz2
hercules-fbbc7f4dec0c7301a0ee3547675a2fba6c62a34c.tar.xz
hercules-fbbc7f4dec0c7301a0ee3547675a2fba6c62a34c.zip
Update storage/guild storage packets for 2018-09-12 RE.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 7a15f4274..f21d493c8 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1178,25 +1178,37 @@ struct packet_itemlist_equip {
struct ZC_STORE_ITEMLIST_NORMAL {
int16 PacketType;
int16 PacketLength;
+#if PACKETVER_RE_NUM >= 20180912
+ uint8 invType;
+#endif
#if PACKETVER >= 20120925 && PACKETVER_RE_NUM < 20180829
char name[NAME_LENGTH];
#endif
struct NORMALITEM_INFO list[MAX_ITEMLIST];
} __attribute__((packed));
-struct ZC_STORE_START {
+struct ZC_INVENTORY_START {
int16 packetType;
+#if PACKETVER_RE_NUM >= 20180912
+ uint8 invType;
+#endif
char name[NAME_LENGTH];
} __attribute__((packed));
-struct ZC_STORE_END {
+struct ZC_INVENTORY_END {
int16 packetType;
+#if PACKETVER_RE_NUM >= 20180912
+ uint8 invType;
+#endif
char flag;
} __attribute__((packed));
struct ZC_STORE_ITEMLIST_EQUIP {
int16 PacketType;
int16 PacketLength;
+#if PACKETVER_RE_NUM >= 20180912
+ uint8 invType;
+#endif
#if PACKETVER >= 20120925 && PACKETVER_RE_NUM < 20180829
char name[NAME_LENGTH];
#endif