summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-27 04:38:34 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-12 21:18:06 +0300
commit5c29241d2d4bc43184faeedd7c1ffe3af8753fc9 (patch)
tree85b080e4e8c559ae967d43f508116e2fa6963d17 /src/map/packets_struct.h
parentd9c56ea3e0722aec976baa2366b93eb0b86b991b (diff)
downloadhercules-5c29241d2d4bc43184faeedd7c1ffe3af8753fc9.tar.gz
hercules-5c29241d2d4bc43184faeedd7c1ffe3af8753fc9.tar.bz2
hercules-5c29241d2d4bc43184faeedd7c1ffe3af8753fc9.tar.xz
hercules-5c29241d2d4bc43184faeedd7c1ffe3af8753fc9.zip
Add packet ZC_SERVICE_MESSAGE_COLOR
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 1f4df6fc9..5c9a60465 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2960,6 +2960,16 @@ struct PACKET_ZC_ENCHANT_EQUIPMENT {
DEFINE_PACKET_HEADER(ZC_ENCHANT_EQUIPMENT, 0x0a3f);
#endif // PACKETVER_MAIN_NUM >= 20160831 || PACKETVER_RE_NUM >= 20151118 || defined(PACKETVER_ZERO)
+#if PACKETVER_MAIN_NUM >= 20170830 || PACKETVER_RE_NUM >= 20170830 || defined(PACKETVER_ZERO)
+struct PACKET_ZC_SERVICE_MESSAGE_COLOR {
+ int16 packetType;
+ int16 packetLength;
+ int32 color;
+ char message[];
+} __attribute__((packed));
+DEFINE_PACKET_HEADER(ZC_SERVICE_MESSAGE_COLOR, 0x0adb);
+#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