From 33d045acfba3a6dbde16a4bb26fde5ecab427e4e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 7 Jul 2018 21:39:19 +0300 Subject: Update packet PACKET_CZ_REQ_ITEMREPAIR. --- src/map/packets_struct.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/map/packets_struct.h') 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 -- cgit v1.2.3-70-g09d2