1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 22:37:45 +00:00

Merge pull request #90 from Minoost/master

Add chat restricted packet def
This commit is contained in:
SapphireMordred 2017-09-10 09:55:35 +02:00 committed by GitHub
commit 09bf2cfddf
2 changed files with 8 additions and 2 deletions

View file

@ -47,7 +47,7 @@ namespace Packets {
Ping = 0x0065, // updated for sb
Init = 0x0066, // updated for sb
Chat = 0x0067, // updated for sb
ChatBanned = 0x006B,
Logout = 0x0077, // updated for sb
CFNotify = 0x0078,
CFMemberStatus = 0x0079,

View file

@ -48,6 +48,12 @@ struct FFXIVIpcChat : FFXIVIpcBasePacket<Chat>
char msg[1012];
};
struct FFXIVIpcChatBanned : FFXIVIpcBasePacket<ChatBanned>
{
uint8_t padding[4]; // I was not sure reinterpreting ZST is valid behavior in C++.
// client doesn't care about the data (zero sized) for this opcode anyway.
};
/**
* Structural representation of the packet sent by the server
* carrying chat messages
@ -1216,7 +1222,7 @@ struct FFXIVIpcCFNotify : FFXIVIpcBasePacket<CFNotify>
uint32_t param1; // usually classJobId
uint32_t param2; // usually flag
uint32_t param3; // usually languages, sometimes join in progress timestamp
uint16_t param4; // usually roulette id
uint16_t contents[5];
};