summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-05-26 23:37:18 +0000
committerAsheraf <acheraf1998@gmail.com>2018-06-30 00:33:47 +0100
commit8ea98a7ff92e0f34f323342b1d69da42d92f39ae (patch)
tree7fb2e6a0f641ecfdd062b66c19d57088a1b2dae1 /src/map/packets_struct.h
parenta2cfc93a840e51fb1cc1ab132273890c200a9cd3 (diff)
downloadhercules-8ea98a7ff92e0f34f323342b1d69da42d92f39ae.tar.gz
hercules-8ea98a7ff92e0f34f323342b1d69da42d92f39ae.tar.bz2
hercules-8ea98a7ff92e0f34f323342b1d69da42d92f39ae.tar.xz
hercules-8ea98a7ff92e0f34f323342b1d69da42d92f39ae.zip
split clif_disp_overhead into 2 functions and convert to struct format
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 665ef78cc..18e787ed5 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1797,6 +1797,19 @@ struct packet_ZC_REFUSE_LOGIN {
char block_date[20];
} __attribute__((packed));
+struct PACKET_ZC_NOTIFY_CHAT {
+ int16 PacketType;
+ int16 PacketLength;
+ uint32 GID;
+ char Message[];
+} __attribute__((packed));
+
+struct PACKET_ZC_NOTIFY_PLAYERCHAT {
+ int16 PacketType;
+ int16 PacketLength;
+ char Message[];
+} __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