diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-10 07:52:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-15 20:36:26 +0300 |
commit | d92ebf2884faef37eb2169d6b763f02c13787b3e (patch) | |
tree | c6f8edc563a9750bf3964c7d43dfafa99d43e986 /src/map/packets_struct.h | |
parent | bcc0738e5eacd865915798aefdc5a3b7fde48596 (diff) | |
download | hercules-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.h | 14 |
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 |