summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-10 07:52:15 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-15 20:36:26 +0300
commitd92ebf2884faef37eb2169d6b763f02c13787b3e (patch)
treec6f8edc563a9750bf3964c7d43dfafa99d43e986 /src/map/packets_struct.h
parentbcc0738e5eacd865915798aefdc5a3b7fde48596 (diff)
downloadhercules-d92ebf2884faef37eb2169d6b763f02c13787b3e.tar.gz
hercules-d92ebf2884faef37eb2169d6b763f02c13787b3e.tar.bz2
hercules-d92ebf2884faef37eb2169d6b763f02c13787b3e.tar.xz
hercules-d92ebf2884faef37eb2169d6b763f02c13787b3e.zip
Update packet ZC_MAKINGARROW_LIST.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 05c85a55a..b15dabad2 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2406,6 +2406,20 @@ struct PACKET_ZC_MAKABLEITEMLIST {
struct PACKET_ZC_MAKABLEITEMLIST_sub items[];
} __attribute__((packed));
+struct PACKET_ZC_MAKINGARROW_LIST_sub {
+#if PACKETVER_RE_NUM >= 20180704
+ uint32 itemId;
+#else
+ uint16 itemId;
+#endif
+} __attribute__((packed));
+
+struct PACKET_ZC_MAKINGARROW_LIST {
+ int16 packetType;
+ int16 packetLength;
+ struct PACKET_ZC_MAKINGARROW_LIST_sub items[];
+} __attribute__((packed));
+
#if !defined(sun) && (!defined(__NETBSD__) || __NetBSD_Version__ >= 600000000) // NetBSD 5 and Solaris don't like pragma pack but accept the packed attribute
#pragma pack(pop)
#endif // not NetBSD < 6 / Solaris