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

Add chat restricted packet def

This commit is contained in:
Adam 2017-09-10 14:02:16 +09:00
parent 9739b92c46
commit 6ffb9e90d5
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];
};