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

Fix chat opcode + packet struct;

This commit is contained in:
amibu 2017-10-17 18:33:36 +02:00
parent c048cf9b54
commit 57d21257a4
3 changed files with 5 additions and 5 deletions

View file

@ -954,7 +954,7 @@ namespace Core {
ToggleOrchestrionUnlock = 0x396 ToggleOrchestrionUnlock = 0x396
}; };
enum struct ChatType : uint32_t enum struct ChatType : uint16_t
{ {
LogKindError, LogKindError,
ServerDebug, ServerDebug,

View file

@ -46,7 +46,7 @@ namespace Packets {
{ {
Ping = 0x0065, Ping = 0x0065,
Init = 0x0066, Init = 0x0066,
Chat = 0x0067, Chat = 0x00B9,
ChatBanned = 0x006B, ChatBanned = 0x006B,
Logout = 0x0077, Logout = 0x0077,
CFNotify = 0x0078, CFNotify = 0x0078,

View file

@ -42,8 +42,8 @@ struct FFXIVIpcInit : FFXIVIpcBasePacket<Init>
*/ */
struct FFXIVIpcChat : FFXIVIpcBasePacket<Chat> struct FFXIVIpcChat : FFXIVIpcBasePacket<Chat>
{ {
/* 0000 */ Common::ChatType chatType; /* 0000 */ uint8_t padding[14]; //Maybe this is SubCode, or some kind of talker ID...
uint8_t padding[16]; //Maybe this is SubCode, or some kind of talker ID... Common::ChatType chatType;
char name[32]; char name[32];
char msg[1012]; char msg[1012];
}; };