mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
Fix chat opcode + packet struct;
This commit is contained in:
parent
c048cf9b54
commit
57d21257a4
3 changed files with 5 additions and 5 deletions
|
@ -954,7 +954,7 @@ namespace Core {
|
||||||
ToggleOrchestrionUnlock = 0x396
|
ToggleOrchestrionUnlock = 0x396
|
||||||
};
|
};
|
||||||
|
|
||||||
enum struct ChatType : uint32_t
|
enum struct ChatType : uint16_t
|
||||||
{
|
{
|
||||||
LogKindError,
|
LogKindError,
|
||||||
ServerDebug,
|
ServerDebug,
|
||||||
|
|
|
@ -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,
|
||||||
|
@ -221,4 +221,4 @@ namespace Packets {
|
||||||
} /* Network */
|
} /* Network */
|
||||||
} /* Core */
|
} /* 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>
|
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];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue