summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-04 23:52:17 +0300
committerGitHub <noreply@github.com>2018-04-04 23:52:17 +0300
commit53af9436ba90f619fb0dc4a6f9a28a81061420be (patch)
treea54752de55f3a803a1f3d66fd9bf7d1b19f8f17e /src/map/packets_struct.h
parentff2fe99a614aa23c73f63402c67c08f7a4885c4b (diff)
parent4faf1f94fc7d38d0004b9694341c1c63c5785894 (diff)
downloadhercules-53af9436ba90f619fb0dc4a6f9a28a81061420be.tar.gz
hercules-53af9436ba90f619fb0dc4a6f9a28a81061420be.tar.bz2
hercules-53af9436ba90f619fb0dc4a6f9a28a81061420be.tar.xz
hercules-53af9436ba90f619fb0dc4a6f9a28a81061420be.zip
Merge pull request #2012 from Asheraf/clifmsgtable
add some missing msgtable packets
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index d8a2c6b31..7e154c12c 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1699,6 +1699,19 @@ struct packet_quest_hunt_info {
struct packet_quest_hunt_info_sub info[];
} __attribute__((packed));
+struct PACKET_ZC_FORMATSTRING_MSG {
+ uint16 PacketType;
+ uint16 PacketLength;
+ uint16 MessageId;
+ 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