summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-14 20:54:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-25 01:43:47 +0300
commite165af7fb85e58684e43c444ca9b086fe159432a (patch)
treefaae5a7437d917664e3322f0e4bb22ff57a902e3 /src/map/packets_struct.h
parentf27534cfec882e5e079dc52d7d498ec04648de60 (diff)
downloadhercules-e165af7fb85e58684e43c444ca9b086fe159432a.tar.gz
hercules-e165af7fb85e58684e43c444ca9b086fe159432a.tar.bz2
hercules-e165af7fb85e58684e43c444ca9b086fe159432a.tar.xz
hercules-e165af7fb85e58684e43c444ca9b086fe159432a.zip
Add packet 0x0a37 ZC_ITEM_PICKUP_ACK_V7 based on rathena commit:
commit 9716233c842f731df3fed5281370e324b5f5f024 Author: Lemongrass3110 <lemongrass@kstp.at> Date: Mon May 8 23:40:05 2017 +0200 Introducing the equip preview window Fixes some bugs for 2016-09-21 onward, where you can preview how a item would like if you put it on. This works on other people's vending and on your own inventory. Thanks to @Rytech2 and @hazimjauhari90
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 0bd85db7f..796ea577c 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -76,8 +76,10 @@ enum packet_headers {
additemType = 0x2d4,
#elif PACKETVER < 20150226
additemType = 0x990,
-#else
+#elif PACKETVER < 20160921
additemType = 0xa0c,
+#else
+ additemType = 0xa37,
#endif
#if PACKETVER < 4
idle_unitType = 0x78,
@@ -448,6 +450,10 @@ struct packet_additem {
#if PACKETVER >= 20150226
struct ItemOptions option_data[MAX_ITEM_OPTIONS];
#endif
+#if PACKETVER >= 20160921
+ uint8 favorite;
+ uint16 look;
+#endif
} __attribute__((packed));
struct packet_dropflooritem {