diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-01-30 16:43:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-02-05 01:16:50 +0300 |
commit | 0b408f5971a9e4152b2aadc2b9208a0e8643f6e3 (patch) | |
tree | 235b49b7270841822ae6b3a28405ec750115b8ef /src/map/packets_struct.h | |
parent | bf78b2e823334a0b876bfbb0f0f199982db27abe (diff) | |
download | hercules-0b408f5971a9e4152b2aadc2b9208a0e8643f6e3.tar.gz hercules-0b408f5971a9e4152b2aadc2b9208a0e8643f6e3.tar.bz2 hercules-0b408f5971a9e4152b2aadc2b9208a0e8643f6e3.tar.xz hercules-0b408f5971a9e4152b2aadc2b9208a0e8643f6e3.zip |
Update packet ZC_USESKILL_ACK
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 534da6378..9ebc8a75e 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3111,6 +3111,47 @@ struct PACKET_CZ_NPC_BARTER_PURCHASE { DEFINE_PACKET_HEADER(CZ_NPC_BARTER_PURCHASE, 0x0b0f); #endif +#if PACKETVER_ZERO_NUM >= 20190130 +struct PACKET_ZC_USESKILL_ACK { + int16 packetType; + uint32 srcId; + uint32 dstId; + uint16 x; + uint16 y; + uint16 skillId; + uint32 element; + uint32 delayTime; + uint8 disposable; + uint32 unknown; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(ZC_USESKILL_ACK, 0x0b1a); +#elif PACKETVER_MAIN_NUM >= 20091124 || PACKETVER_RE_NUM >= 20091124 || defined(PACKETVER_ZERO) +struct PACKET_ZC_USESKILL_ACK { + int16 packetType; + uint32 srcId; + uint32 dstId; + uint16 x; + uint16 y; + uint16 skillId; + uint32 element; + uint32 delayTime; + uint8 disposable; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(ZC_USESKILL_ACK, 0x07fb); +#elif PACKETVER_MAIN_NUM >= 20090406 || PACKETVER_SAK_NUM >= 20080618 || PACKETVER_RE_NUM >= 20080827 || defined(PACKETVER_ZERO) +struct PACKET_ZC_USESKILL_ACK { + int16 packetType; + uint32 srcId; + uint32 dstId; + uint16 x; + uint16 y; + uint16 skillId; + uint32 element; + uint32 delayTime; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(ZC_USESKILL_ACK, 0x013e); +#endif + #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 |