summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
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