summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-04-04 21:02:47 +0100
committerAsheraf <acheraf1998@gmail.com>2018-04-04 21:05:58 +0100
commit4faf1f94fc7d38d0004b9694341c1c63c5785894 (patch)
treea54752de55f3a803a1f3d66fd9bf7d1b19f8f17e /src/map/packets_struct.h
parent9ecc1bde4ea83f14be6b72f68a134dca4cb34478 (diff)
downloadhercules-4faf1f94fc7d38d0004b9694341c1c63c5785894.tar.gz
hercules-4faf1f94fc7d38d0004b9694341c1c63c5785894.tar.bz2
hercules-4faf1f94fc7d38d0004b9694341c1c63c5785894.tar.xz
hercules-4faf1f94fc7d38d0004b9694341c1c63c5785894.zip
Add support for packet ZC_MSG_COLOR
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 606057f52..7e154c12c 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1706,6 +1706,12 @@ struct PACKET_ZC_FORMATSTRING_MSG {
char MessageString[];
} __attribute__((packed));
+struct PACKET_ZC_MSG_COLOR {
+ uint16 PacketType;
+ uint16 MessageId;
+ uint32 MessageColor;
+} __attribute__((packed));
+
#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