diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-01 19:47:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-12-12 21:18:07 +0300 |
commit | 22c267cd1256902d24417cbc0cd5689bc7bad60d (patch) | |
tree | 7dc0c93e355f0e770b184bea156afba4dc0e53c8 /src/map/packets_struct.h | |
parent | 14b5d3012cd46391ff6e3eca1cdb0009a9004f49 (diff) | |
download | hercules-22c267cd1256902d24417cbc0cd5689bc7bad60d.tar.gz hercules-22c267cd1256902d24417cbc0cd5689bc7bad60d.tar.bz2 hercules-22c267cd1256902d24417cbc0cd5689bc7bad60d.tar.xz hercules-22c267cd1256902d24417cbc0cd5689bc7bad60d.zip |
Add packet CZ_START_USE_SKILL
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 0542021ec..69df71791 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -2965,6 +2965,16 @@ struct PACKET_ZC_SERVICE_MESSAGE_COLOR { DEFINE_PACKET_HEADER(ZC_SERVICE_MESSAGE_COLOR, 0x0adb); #endif +#if PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20181002 || PACKETVER_ZERO_NUM >= 20181010 +struct PACKET_CZ_START_USE_SKILL { + int16 packetType; + int16 skillId; + int16 skillLv; + uint32 targetId; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(CZ_START_USE_SKILL, 0x0b10); +#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 |