diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-05 23:09:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-15 20:36:16 +0300 |
commit | 17f0779e1b05095696ab135e937fa948bf4e17eb (patch) | |
tree | b37252ec8dd701daef77c405fa87f36dd95679dd /src/map/packets_struct.h | |
parent | b8b65a031b79ff9ec1d5b6ecd138fc47613c0b65 (diff) | |
download | hercules-17f0779e1b05095696ab135e937fa948bf4e17eb.tar.gz hercules-17f0779e1b05095696ab135e937fa948bf4e17eb.tar.bz2 hercules-17f0779e1b05095696ab135e937fa948bf4e17eb.tar.xz hercules-17f0779e1b05095696ab135e937fa948bf4e17eb.zip |
Update packet CZ_REQMAKINGITEM.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 1a30ee7e2..3dfc1a570 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -1902,6 +1902,17 @@ struct PACKET_ZC_ADD_ITEM_TO_CART { struct ItemOptions option_data[MAX_ITEM_OPTIONS]; } __attribute__((packed)); +struct PACKET_CZ_REQMAKINGITEM { + int16 packetType; +#if PACKETVER_RE_NUM >= 20180704 + uint32 itemId; + uint32 material[3]; +#else + uint16 itemId; + uint16 material[3]; +#endif +} __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 |