mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
46 lines
890 B
C++
46 lines
890 B
C++
#ifndef _CORE_NETWORK_PACKETS_CHAT_SERVER_IPC_H
|
|
#define _CORE_NETWORK_PACKETS_CHAT_SERVER_IPC_H
|
|
|
|
#include <Common.h>
|
|
#include <Network/CommonNetwork.h>
|
|
|
|
namespace Sapphire {
|
|
namespace Network {
|
|
namespace Packets {
|
|
namespace Server {
|
|
|
|
/**
|
|
* Structural representation of the packet sent by the server as response
|
|
* to a tell request
|
|
*/
|
|
struct FFXIVIpcTell :
|
|
FFXIVIpcBasePacket< Tell >
|
|
{
|
|
uint32_t u1;
|
|
uint16_t u2a;
|
|
uint16_t u2b;
|
|
uint8_t preName;
|
|
uint8_t u3a;
|
|
bool isGm;
|
|
char receipientName[32];
|
|
char msg[1031];
|
|
};
|
|
|
|
/**
|
|
* Structural representation of the packet sent by the server as response
|
|
* to a failed tell because of unavailable target player
|
|
*/
|
|
struct FFXIVIpcTellErrNotFound :
|
|
FFXIVIpcBasePacket< TellErrNotFound >
|
|
{
|
|
char receipientName[32];
|
|
};
|
|
|
|
} /* Server */
|
|
} /* Packets */
|
|
} /* Network */
|
|
} /* Sapphire */
|
|
|
|
|
|
|
|
#endif /*_CORE_NETWORK_PACKETS_CHAT_SERVER_IPC_H*/
|