diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-03-29 22:17:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-04-07 22:38:35 +0300 |
commit | 0a5ee140c74989d5fb2cbc9a22150ff66bbcfb07 (patch) | |
tree | 642ca0bab8388ed480c4e78e9ced7d631f6c10fc /src/map/packets_struct.h | |
parent | 83a26970a7e314872a360bac8d4c5408d5120c51 (diff) | |
download | hercules-0a5ee140c74989d5fb2cbc9a22150ff66bbcfb07.tar.gz hercules-0a5ee140c74989d5fb2cbc9a22150ff66bbcfb07.tar.bz2 hercules-0a5ee140c74989d5fb2cbc9a22150ff66bbcfb07.tar.xz hercules-0a5ee140c74989d5fb2cbc9a22150ff66bbcfb07.zip |
Add chat command /resetcooltime
Add packet CZ_COOLDOWN_RESET.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r-- | src/map/packets_struct.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index b12193997..109532c3e 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -3174,6 +3174,13 @@ struct PACKET_ZC_PING { DEFINE_PACKET_HEADER(ZC_PING, 0x0b1d); #endif +#if PACKETVER >= 20160622 +struct PACKET_CZ_COOLDOWN_RESET { + int16 packetType; +} __attribute__((packed)); +DEFINE_PACKET_HEADER(CZ_COOLDOWN_RESET, 0x0a88); +#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 |