diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-07 21:51:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-15 20:36:22 +0300 |
commit | 6b84a369d9b972ce9719d941bae933f666110e82 (patch) | |
tree | ce5094e1e88265590a7676507e962111201005f5 /src/map/packets_struct.h | |
parent | 33d045acfba3a6dbde16a4bb26fde5ecab427e4e (diff) | |
download | hercules-6b84a369d9b972ce9719d941bae933f666110e82.tar.gz hercules-6b84a369d9b972ce9719d941bae933f666110e82.tar.bz2 hercules-6b84a369d9b972ce9719d941bae933f666110e82.tar.xz hercules-6b84a369d9b972ce9719d941bae933f666110e82.zip |
Update packet CZ_REQ_MAKINGITEM.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 1cf2830f0..29b1de679 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -2160,6 +2160,15 @@ struct PACKET_CZ_REQ_ITEMREPAIR { struct EQUIPSLOTINFO slot; } __attribute__((packed)); +struct PACKET_CZ_REQ_MAKINGITEM { + int16 packetType; + int16 type; +#if PACKETVER_RE_NUM >= 20180704 + uint32 itemId; +#else + uint16 itemId; +#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 |