summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-06-06 01:58:48 +0300
committerAndrei Karas <akaras@inbox.ru>2019-06-26 06:47:09 +0300
commit58e5437cc7611579155e6d47439becc418f9b51d (patch)
treed5f25e0de9288d4a5fc02d9b57f6aa63bbd89ec8 /src/map/packets_struct.h
parente106ab9b2e31e1e8c2d93f5ad7476dc26bfc9fa1 (diff)
downloadhercules-58e5437cc7611579155e6d47439becc418f9b51d.tar.gz
hercules-58e5437cc7611579155e6d47439becc418f9b51d.tar.bz2
hercules-58e5437cc7611579155e6d47439becc418f9b51d.tar.xz
hercules-58e5437cc7611579155e6d47439becc418f9b51d.zip
Add support for new shortcuts packets in zero
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 2da1ece9e..df8f009d6 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1423,7 +1423,7 @@ struct hotkey_data {
int16 count; // Item Quantity/Skill Level
} __attribute__((packed));
-#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508
+#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508 || PACKETVER_ZERO_NUM >= 20190605
#define MAX_HOTKEYS_PACKET 38
struct PACKET_ZC_SHORTCUT_KEY_LIST {
int16 packetType;
@@ -1472,7 +1472,7 @@ struct PACKET_CZ_SHORTCUT_KEY_CHANGE1 {
DEFINE_PACKET_HEADER(CZ_SHORTCUT_KEY_CHANGE1, 0x02ba);
#endif
-#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508
+#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508 || PACKETVER_ZERO_NUM >= 20190605
struct PACKET_CZ_SHORTCUT_KEY_CHANGE2 {
int16 packetType;
uint16 tab;
@@ -1490,7 +1490,7 @@ struct PACKET_CZ_SHORTCUTKEYBAR_ROTATE1 {
DEFINE_PACKET_HEADER(CZ_SHORTCUTKEYBAR_ROTATE1, 0x0a01);
#endif
-#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508
+#if PACKETVER_MAIN_NUM >= 20190522 || PACKETVER_RE_NUM >= 20190508 || PACKETVER_ZERO_NUM >= 20190605
struct PACKET_CZ_SHORTCUTKEYBAR_ROTATE2 {
int16 packetType;
uint16 tab;