2021-11-27 00:53:57 +01:00
|
|
|
#pragma once
|
2017-08-22 21:36:20 +02:00
|
|
|
|
2018-03-06 22:22:19 +01:00
|
|
|
#include <Common.h>
|
|
|
|
#include <Network/CommonNetwork.h>
|
2017-08-22 21:36:20 +02:00
|
|
|
|
2019-06-03 00:21:58 +10:00
|
|
|
namespace Sapphire::Network::Packets::Server
|
2019-06-02 23:28:19 +10:00
|
|
|
{
|
2017-08-22 21:36:20 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Structural representation of the packet sent by the server as response
|
2017-08-22 23:53:20 +02:00
|
|
|
* to a tell request
|
2017-08-22 21:36:20 +02:00
|
|
|
*/
|
2021-11-27 00:53:57 +01:00
|
|
|
struct FFXIVChatFrom : FFXIVIpcBasePacket< ChatFrom >
|
2017-08-22 21:36:20 +02:00
|
|
|
{
|
2021-11-27 00:53:57 +01:00
|
|
|
uint64_t fromCharacterID;
|
|
|
|
uint8_t type;
|
|
|
|
char fromName[32]; //uint8_t
|
|
|
|
char message[1024]; //uint8_t
|
2017-08-22 21:36:20 +02:00
|
|
|
};
|
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
/**
|
2021-11-27 00:53:57 +01:00
|
|
|
* Structural representation of the packet sent by the server as
|
|
|
|
* message from a chat channel that the player is associated to
|
2017-08-22 23:53:20 +02:00
|
|
|
*/
|
2023-02-02 02:30:31 -03:00
|
|
|
struct FFXIVChatToChannel : FFXIVIpcBasePacket< ChatToChannel >
|
2017-08-22 23:53:20 +02:00
|
|
|
{
|
2021-11-27 00:53:57 +01:00
|
|
|
uint64_t channelID;
|
|
|
|
uint64_t speakerCharacterID;
|
|
|
|
uint32_t speakerEntityID;
|
|
|
|
uint8_t type;
|
|
|
|
char speakerName[32];
|
|
|
|
char message[1024];
|
2017-08-22 23:53:20 +02:00
|
|
|
};
|
2017-08-22 21:36:20 +02:00
|
|
|
|
2021-11-27 00:53:57 +01:00
|
|
|
struct FFXIVJoinChannelResult : FFXIVIpcBasePacket< JoinChannelResult >
|
2019-08-07 21:42:38 -07:00
|
|
|
{
|
2021-11-27 00:53:57 +01:00
|
|
|
uint64_t channelID;
|
|
|
|
uint64_t characterID;
|
|
|
|
uint8_t result;
|
2019-08-07 21:42:38 -07:00
|
|
|
};
|
|
|
|
|
2021-11-27 00:53:57 +01:00
|
|
|
struct FFXIVRecvBusyStatus : FFXIVIpcBasePacket< RecvBusyStatus >
|
|
|
|
{
|
|
|
|
char toName[32]; //uint8_t
|
|
|
|
};
|
|
|
|
|
|
|
|
struct FFXIVRecvFinderStatus : FFXIVIpcBasePacket< RecvFinderStatus >
|
|
|
|
{
|
|
|
|
char toName[32]; //uint8_t
|
|
|
|
};
|
2017-08-22 21:36:20 +02:00
|
|
|
|
2021-11-27 00:53:57 +01:00
|
|
|
/**
|
|
|
|
* Structural representation of the packet sent by the server as response
|
|
|
|
* to a failed tell because of unavailable target player
|
|
|
|
*/
|
|
|
|
struct FFXIVIpcTellNotFound : FFXIVIpcBasePacket< TellNotFound >
|
|
|
|
{
|
|
|
|
char toName[32]; //uint8_t
|
|
|
|
};
|
2017-08-22 21:36:20 +02:00
|
|
|
|
|
|
|
|
2021-11-27 00:53:57 +01:00
|
|
|
} /* Sapphire::Common::Network::Packets::Server */
|
|
|
|
|