summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-04-04 17:05:44 +0100
committerAsheraf <acheraf1998@gmail.com>2018-04-04 21:05:38 +0100
commit9ecc1bde4ea83f14be6b72f68a134dca4cb34478 (patch)
tree24f6ae9eda91be117f83e185f5b4cfb5536326af /src/map/packets_struct.h
parentff2fe99a614aa23c73f63402c67c08f7a4885c4b (diff)
downloadhercules-9ecc1bde4ea83f14be6b72f68a134dca4cb34478.tar.gz
hercules-9ecc1bde4ea83f14be6b72f68a134dca4cb34478.tar.bz2
hercules-9ecc1bde4ea83f14be6b72f68a134dca4cb34478.tar.xz
hercules-9ecc1bde4ea83f14be6b72f68a134dca4cb34478.zip
Add support for packet ZC_FORMATSTRING_MSG
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index d8a2c6b31..606057f52 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1699,6 +1699,13 @@ 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));
+
#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