diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-13 00:28:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-09-19 22:24:50 +0300 |
commit | c479ff1aafe1765633ebdc310f86c1d9035a6a16 (patch) | |
tree | eb0180df40f4794a15c1a182a6593f88c8920ac4 /src/map/packets_struct.h | |
parent | fbbc7f4dec0c7301a0ee3547675a2fba6c62a34c (diff) | |
download | hercules-c479ff1aafe1765633ebdc310f86c1d9035a6a16.tar.gz hercules-c479ff1aafe1765633ebdc310f86c1d9035a6a16.tar.bz2 hercules-c479ff1aafe1765633ebdc310f86c1d9035a6a16.tar.xz hercules-c479ff1aafe1765633ebdc310f86c1d9035a6a16.zip |
Update inventory packet for 2018-09-12 RE.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index f21d493c8..c94c140a1 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -198,7 +198,9 @@ enum packet_headers { #else dropflooritemType = 0x9e, #endif -#if PACKETVER >= 20120925 +#if PACKETVER_RE_NUM >= 20180912 + inventorylistnormalType = 0xb09, +#elif PACKETVER >= 20120925 inventorylistnormalType = 0x991, #elif PACKETVER >= 20080102 inventorylistnormalType = 0x2e8, @@ -207,7 +209,9 @@ enum packet_headers { #else inventorylistnormalType = 0xa3, #endif -#if PACKETVER >= 20150226 +#if PACKETVER_RE_NUM >= 20180912 + inventorylistequipType = 0xb0a, +#elif PACKETVER >= 20150226 inventorylistequipType = 0xa0d, #elif PACKETVER >= 20120925 inventorylistequipType = 0x992, @@ -1166,12 +1170,18 @@ struct packet_roulette_itemrecv_ack { struct packet_itemlist_normal { int16 PacketType; int16 PacketLength; +#if PACKETVER_RE_NUM >= 20180912 + uint8 invType; +#endif struct NORMALITEM_INFO list[MAX_ITEMLIST]; } __attribute__((packed)); struct packet_itemlist_equip { int16 PacketType; int16 PacketLength; +#if PACKETVER_RE_NUM >= 20180912 + uint8 invType; +#endif struct EQUIPITEM_INFO list[MAX_ITEMLIST]; } __attribute__((packed)); |