From fbbc7f4dec0c7301a0ee3547675a2fba6c62a34c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 12 Sep 2018 23:19:02 +0300 Subject: Update storage/guild storage packets for 2018-09-12 RE. --- src/map/packets_struct.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/map/packets_struct.h') 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 -- cgit v1.2.3-60-g2f50