summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-10 19:12:38 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:26 +0300
commitce31520acf04ff733965fb2b0f118b715c54bced (patch)
treeeafcecbd2a5f01fdeb466a143d9826067ea0ab7e /src/map/packets_struct.h
parentd92ebf2884faef37eb2169d6b763f02c13787b3e (diff)
downloadhercules-ce31520acf04ff733965fb2b0f118b715c54bced.tar.gz
hercules-ce31520acf04ff733965fb2b0f118b715c54bced.tar.bz2
hercules-ce31520acf04ff733965fb2b0f118b715c54bced.tar.xz
hercules-ce31520acf04ff733965fb2b0f118b715c54bced.zip
Update packet ZC_READ_MAIL.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index b15dabad2..c5061a72d 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1443,14 +1443,19 @@ struct PACKET_ZC_ADD_ITEM_TO_MAIL {
struct mail_item {
int16 count;
+#if PACKETVER_RE_NUM >= 20180704
+ uint32 ITID;
+#else
uint16 ITID;
+#endif
int8 IsIdentified;
int8 IsDamaged;
int8 refiningLevel;
struct EQUIPSLOTINFO slot;
- int8 unknow1[4];
- int8 type;
- int8 unknown[4];
+ uint32 location;
+ uint8 type;
+ uint16 viewSprite;
+ uint16 bindOnEquip;
struct ItemOptions optionData[MAX_ITEM_OPTIONS];
} __attribute__((packed));