diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-07 09:10:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-15 20:36:21 +0300 |
commit | 9242b8169932bf52b409be4d33aa0f3cfb08f347 (patch) | |
tree | 6f78a315fd6760b54fae7d8dad73de6ed848e140 /src/map/packets_struct.h | |
parent | dd05ed32606dd2ecf1175ac9404c00615b33491f (diff) | |
download | hercules-9242b8169932bf52b409be4d33aa0f3cfb08f347.tar.gz hercules-9242b8169932bf52b409be4d33aa0f3cfb08f347.tar.bz2 hercules-9242b8169932bf52b409be4d33aa0f3cfb08f347.tar.xz hercules-9242b8169932bf52b409be4d33aa0f3cfb08f347.zip |
Update packet ZC_ADD_ITEM_TO_MAIL.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 2ba537ef8..177aaf668 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -1393,7 +1393,11 @@ struct PACKET_ZC_ADD_ITEM_TO_MAIL { int8 result; int16 index; int16 count; - uint16 ITID; +#if PACKETVER_RE_NUM >= 20180704 + uint32 itemId; +#else + uint16 itemId; +#endif int8 type; int8 IsIdentified; int8 IsDamaged; @@ -1401,7 +1405,8 @@ struct PACKET_ZC_ADD_ITEM_TO_MAIL { struct EQUIPSLOTINFO slot; struct ItemOptions optionData[MAX_ITEM_OPTIONS]; int16 weight; - int8 unknow[5]; + uint8 favorite; + uint32 location; } __attribute__((packed)); struct mail_item { |