mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 14:37:44 +00:00
Merge pull request #138 from goaaats/master
Fix chat opcode + packet struct
This commit is contained in:
commit
a2feaa0890
3 changed files with 5 additions and 5 deletions
|
@ -954,7 +954,7 @@ namespace Core {
|
|||
ToggleOrchestrionUnlock = 0x396
|
||||
};
|
||||
|
||||
enum struct ChatType : uint32_t
|
||||
enum struct ChatType : uint16_t
|
||||
{
|
||||
LogKindError,
|
||||
ServerDebug,
|
||||
|
|
|
@ -46,7 +46,7 @@ namespace Packets {
|
|||
{
|
||||
Ping = 0x0065,
|
||||
Init = 0x0066,
|
||||
Chat = 0x0067,
|
||||
Chat = 0x00B9,
|
||||
ChatBanned = 0x006B,
|
||||
Logout = 0x0077,
|
||||
CFNotify = 0x0078,
|
||||
|
@ -221,4 +221,4 @@ namespace Packets {
|
|||
} /* Network */
|
||||
} /* Core */
|
||||
|
||||
#endif /*_CORE_NETWORK_PACKETS_IPCS_H*/
|
||||
#endif /*_CORE_NETWORK_PACKETS_IPCS_H*/
|
|
@ -42,8 +42,8 @@ struct FFXIVIpcInit : FFXIVIpcBasePacket<Init>
|
|||
*/
|
||||
struct FFXIVIpcChat : FFXIVIpcBasePacket<Chat>
|
||||
{
|
||||
/* 0000 */ Common::ChatType chatType;
|
||||
uint8_t padding[16]; //Maybe this is SubCode, or some kind of talker ID...
|
||||
/* 0000 */ uint8_t padding[14]; //Maybe this is SubCode, or some kind of talker ID...
|
||||
Common::ChatType chatType;
|
||||
char name[32];
|
||||
char msg[1012];
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue