1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-01 08:27:46 +00:00

Added Biscuits findings to servernotices

This commit is contained in:
Mordred 2019-04-02 09:00:36 +02:00 committed by GitHub
parent 598dd50ff2
commit 8a7406565e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,13 +138,33 @@ namespace Sapphire::Network::Packets::Server
char padding; 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 * Structural representation of the packet sent by the server
* to display a server notice message * to display a server notice message
*/ */
struct FFXIVIpcServerNotice : FFXIVIpcBasePacket< ServerNotice > struct FFXIVIpcServerNotice : FFXIVIpcBasePacket< ServerNotice >
{ {
// these are actually display flags
/* 0000 */ uint8_t padding; /* 0000 */ uint8_t padding;
// 0 = chat log
// 2 = nothing
// 4 = on screen message
// 5 = on screen message + chat log
char message[775]; char message[775];
}; };