diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-10 22:46:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-15 20:36:27 +0300 |
commit | 481a832c4675b026a4361fc401a0ca2e7e1aa56c (patch) | |
tree | 9801c2f0e67341cd33acee50332fb219cdc9ec4e /src/map/packets_struct.h | |
parent | fd081fbacb8cc1a8fdcbacfa1923c4b7c17510a4 (diff) | |
download | hercules-481a832c4675b026a4361fc401a0ca2e7e1aa56c.tar.gz hercules-481a832c4675b026a4361fc401a0ca2e7e1aa56c.tar.bz2 hercules-481a832c4675b026a4361fc401a0ca2e7e1aa56c.tar.xz hercules-481a832c4675b026a4361fc401a0ca2e7e1aa56c.zip |
Update packet ZC_MAKINGITEM_LIST.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index f86d87f2f..2489f0625 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -2459,6 +2459,25 @@ struct PACKET_ZC_NOTIFY_WEAPONITEMLIST { struct PACKET_ZC_NOTIFY_WEAPONITEMLIST_sub items[]; } __attribute__((packed)); +struct PACKET_ZC_MAKINGITEM_LIST_sub { +#if PACKETVER_RE_NUM >= 20180704 + uint32 itemId; +#else + uint16 itemId; +#endif +} __attribute__((packed)); + +struct PACKET_ZC_MAKINGITEM_LIST { + int16 packetType; + int16 packetLength; +#if PACKETVER_RE_NUM >= 20180704 + uint32 makeItem; +#else + uint16 makeItem; +#endif + struct PACKET_ZC_MAKINGITEM_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 |