summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-11-17 15:04:40 +0100
committerGitHub <noreply@github.com>2019-11-17 15:04:40 +0100
commitbfd2875be53dc620b47cc7c6f59e231175020d14 (patch)
treec4f5482fd5198e5645e15691348b51a6bf461618 /src/map/packets_struct.h
parentb5c3c3f6058944fa6c31299d39f0602e7a016afc (diff)
parent3a36b74d042f5dcbc2314ae215f5e62ff5b0d53f (diff)
downloadhercules-bfd2875be53dc620b47cc7c6f59e231175020d14.tar.gz
hercules-bfd2875be53dc620b47cc7c6f59e231175020d14.tar.bz2
hercules-bfd2875be53dc620b47cc7c6f59e231175020d14.tar.xz
hercules-bfd2875be53dc620b47cc7c6f59e231175020d14.zip
Merge pull request #2568 from 4144/updatepackets
Update packets up to 2019-11-07
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index c0d1054d7..a7a9e2e63 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3687,6 +3687,13 @@ struct PACKET_ZC_LAPINEDDUKDDAK_OPEN {
DEFINE_PACKET_HEADER(ZC_LAPINEDDUKDDAK_OPEN, 0x0a4e);
#endif // PACKETVER_MAIN_NUM >= 20160601 || PACKETVER_RE_NUM >= 20160525 || defined(PACKETVER_ZERO)
+#if PACKETVER_MAIN_NUM >= 20160504 || PACKETVER_RE_NUM >= 20160504 || defined(PACKETVER_ZERO)
+struct PACKET_CZ_LAPINEDDUKDDAK_CLOSE {
+ int16 packetType;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(CZ_LAPINEDDUKDDAK_CLOSE, 0x0a70);
+#endif // PACKETVER_MAIN_NUM >= 20160504 || PACKETVER_RE_NUM >= 20160504 || defined(PACKETVER_ZERO)
+
#if PACKETVER >= 20160302
struct PACKET_CZ_LAPINEDDUKDDAK_ACK_sub {
int16 index;
@@ -3714,6 +3721,14 @@ struct PACKET_ZC_LAPINEDDUKDDAK_RESULT {
DEFINE_PACKET_HEADER(ZC_LAPINEDDUKDDAK_RESULT, 0x0a50);
#endif // PACKETVER_MAIN_NUM >= 20160601 || PACKETVER_RE_NUM >= 20160525 || defined(PACKETVER_ZERO)
+#if PACKETVER_MAIN_NUM >= 20190703 || PACKETVER_RE_NUM >= 20190703 || PACKETVER_ZERO_NUM >= 20190709
+struct PACKET_CZ_REQ_MOUNTOFF {
+ int16 packetType;
+ uint8 action;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(CZ_REQ_MOUNTOFF, 0x0b35);
+#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