diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-07 21:39:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-15 20:36:22 +0300 |
commit | 33d045acfba3a6dbde16a4bb26fde5ecab427e4e (patch) | |
tree | f4b159bb8ac8f747a6290c041472a57f68e1d254 /src/map/packets_struct.h | |
parent | eee04309da8d3ac35a752e119cf59fdd35b679da (diff) | |
download | hercules-33d045acfba3a6dbde16a4bb26fde5ecab427e4e.tar.gz hercules-33d045acfba3a6dbde16a4bb26fde5ecab427e4e.tar.bz2 hercules-33d045acfba3a6dbde16a4bb26fde5ecab427e4e.tar.xz hercules-33d045acfba3a6dbde16a4bb26fde5ecab427e4e.zip |
Update packet PACKET_CZ_REQ_ITEMREPAIR.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index f9b5a913f..1cf2830f0 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -2148,6 +2148,18 @@ struct PACKET_ZC_FAILED_TRADE_BUYING_STORE_TO_SELLER { #endif } __attribute__((packed)); +struct PACKET_CZ_REQ_ITEMREPAIR { + int16 packetType; + int16 index; +#if PACKETVER_RE_NUM >= 20180704 + uint32 itemId; +#else + uint16 itemId; +#endif + uint8 refine; + struct EQUIPSLOTINFO slot; +} __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 |