From 8a7406565ea8749c72bc3916d0ead745c6bbfe84 Mon Sep 17 00:00:00 2001 From: Mordred <30826167+SapphireMordred@users.noreply.github.com> Date: Tue, 2 Apr 2019 09:00:36 +0200 Subject: [PATCH] Added Biscuits findings to servernotices --- .../Network/PacketDef/Zone/ServerZoneDef.h | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/common/Network/PacketDef/Zone/ServerZoneDef.h b/src/common/Network/PacketDef/Zone/ServerZoneDef.h index 950c20c3..b8b4cdd0 100644 --- a/src/common/Network/PacketDef/Zone/ServerZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ServerZoneDef.h @@ -137,14 +137,34 @@ namespace Sapphire::Network::Packets::Server char searchComment[195]; char padding; }; - + + /** + * Structural representation of the packet sent by the server + * to display a server notice message + */ + struct FFXIVIpcServerNoticeShort : FFXIVIpcBasePacket< ServerNoticeShort > + { + // these are actually display flags + /* 0000 */ uint8_t padding; + // 0 = chat log + // 2 = nothing + // 4 = on screen message + // 5 = on screen message + chat log + char message[538]; + }; + /** * Structural representation of the packet sent by the server * to display a server notice message */ struct FFXIVIpcServerNotice : FFXIVIpcBasePacket< ServerNotice > { + // these are actually display flags /* 0000 */ uint8_t padding; + // 0 = chat log + // 2 = nothing + // 4 = on screen message + // 5 = on screen message + chat log char message[775]; };