summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-03-29 22:17:06 +0300
committerAndrei Karas <akaras@inbox.ru>2019-04-07 22:38:35 +0300
commit0a5ee140c74989d5fb2cbc9a22150ff66bbcfb07 (patch)
tree642ca0bab8388ed480c4e78e9ced7d631f6c10fc /src/map/packets_struct.h
parent83a26970a7e314872a360bac8d4c5408d5120c51 (diff)
downloadhercules-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.h7
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