summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-05-09 03:26:41 +0300
committerAndrei Karas <akaras@inbox.ru>2019-06-02 00:23:24 +0300
commite68d49654e4eb5f6749f16d2fc3ca4e7a747b91c (patch)
tree7e0a8c7d5e8a3f9f4b8ce0a882a89daa2486b3da /src/map/packets_struct.h
parent0d5238bba6552616921f22d484f6b707d0abe6fe (diff)
downloadhercules-e68d49654e4eb5f6749f16d2fc3ca4e7a747b91c.tar.gz
hercules-e68d49654e4eb5f6749f16d2fc3ca4e7a747b91c.tar.bz2
hercules-e68d49654e4eb5f6749f16d2fc3ca4e7a747b91c.tar.xz
hercules-e68d49654e4eb5f6749f16d2fc3ca4e7a747b91c.zip
Update packet CZ_SHORTCUT_KEY_CHANGE
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 4e3d7de84..1982ae7a1 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1462,6 +1462,25 @@ struct PACKET_ZC_SHORTCUT_KEY_LIST {
} __attribute__((packed));
DEFINE_PACKET_HEADER(ZC_SHORTCUT_KEY_LIST, 0x02b9);
#endif
+
+#if PACKETVER_MAIN_NUM >= 20070618 || defined(PACKETVER_RE) || defined(PACKETVER_ZERO) || PACKETVER_AD_NUM >= 20070618 || PACKETVER_SAK_NUM >= 20070618
+struct PACKET_CZ_SHORTCUT_KEY_CHANGE1 {
+ int16 packetType;
+ uint16 index;
+ struct hotkey_data hotkey;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(CZ_SHORTCUT_KEY_CHANGE1, 0x02ba);
+#endif
+
+#if PACKETVER_RE_NUM >= 20190508
+struct PACKET_CZ_SHORTCUT_KEY_CHANGE2 {
+ int16 packetType;
+ uint16 tab;
+ uint16 index;
+ struct hotkey_data hotkey;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(CZ_SHORTCUT_KEY_CHANGE2, 0x0b21);
+#endif
#endif // HOTKEY_SAVING
/**
@@ -3414,6 +3433,7 @@ struct PACKET_ZC_REFINE_STATUS {
DEFINE_PACKET_HEADER(ZC_REFINE_STATUS, 0x0ada);
#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