From 9242b8169932bf52b409be4d33aa0f3cfb08f347 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 7 Jul 2018 09:10:40 +0300 Subject: Update packet ZC_ADD_ITEM_TO_MAIL. --- src/map/packets_struct.h | 9 +++++++-- 1 file changed, 7 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 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 { -- cgit v1.2.3-60-g2f50