summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-25 03:42:35 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-05 22:24:25 +0300
commit3cde52381fe5ea8643e6b78393384df0cae696e1 (patch)
treee309eae4d72b98843f917545f08dfa7ff3a70c26 /src/map/packets_struct.h
parentc30d340136982c6b931099ccc6248bcee3d8b693 (diff)
downloadhercules-3cde52381fe5ea8643e6b78393384df0cae696e1.tar.gz
hercules-3cde52381fe5ea8643e6b78393384df0cae696e1.tar.bz2
hercules-3cde52381fe5ea8643e6b78393384df0cae696e1.tar.xz
hercules-3cde52381fe5ea8643e6b78393384df0cae696e1.zip
Add packet ZC_ACK_CLOSE_ROULETTE
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 445e9a3e2..a9dba1720 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -3277,6 +3277,14 @@ struct PACKET_ZC_BAN_LIST {
DEFINE_PACKET_HEADER(ZC_BAN_LIST, 0x0163);
#endif
+#if PACKETVER_MAIN_NUM >= 20141008 || PACKETVER_RE_NUM >= 20140903 || defined(PACKETVER_ZERO)
+struct PACKET_ZC_ACK_CLOSE_ROULETTE {
+ int16 packetType;
+ uint8 result;
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_ACK_CLOSE_ROULETTE, 0x0a1e);
+#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