summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-06-25 01:54:55 +0200
committerGitHub <noreply@github.com>2017-06-25 01:54:55 +0200
commit44afefff8c3b09d47f7d1a7a3d386e83f8b2dcbd (patch)
tree7a1d4b43acb2bdfa0559b61de903d31f9b652cf8 /src/map/packets_struct.h
parentf27534cfec882e5e079dc52d7d498ec04648de60 (diff)
parent73db1e215021c1e41df053581703acfa6930b5dc (diff)
downloadhercules-44afefff8c3b09d47f7d1a7a3d386e83f8b2dcbd.tar.gz
hercules-44afefff8c3b09d47f7d1a7a3d386e83f8b2dcbd.tar.bz2
hercules-44afefff8c3b09d47f7d1a7a3d386e83f8b2dcbd.tar.xz
hercules-44afefff8c3b09d47f7d1a7a3d386e83f8b2dcbd.zip
Merge pull request #1785 from 4144/packetsupdate
Add and update some existing packets for 2016-2017 clients
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 {