2017-08-22 21:36:20 +02:00
|
|
|
#ifndef _CORE_NETWORK_PACKETS_CHAT_SERVER_IPC_H
|
|
|
|
#define _CORE_NETWORK_PACKETS_CHAT_SERVER_IPC_H
|
|
|
|
|
2018-03-06 22:22:19 +01:00
|
|
|
#include <Common.h>
|
|
|
|
#include <Network/CommonNetwork.h>
|
2017-08-22 21:36:20 +02:00
|
|
|
|
2018-11-29 16:55:48 +01:00
|
|
|
namespace Sapphire {
|
2017-08-22 21:36:20 +02:00
|
|
|
namespace Network {
|
|
|
|
namespace Packets {
|
|
|
|
namespace Server {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
*/
|
2018-08-29 21:40:59 +02:00
|
|
|
struct FFXIVIpcTell :
|
|
|
|
FFXIVIpcBasePacket< Tell >
|
2017-08-22 21:36:20 +02:00
|
|
|
{
|
2018-08-29 21:40:59 +02:00
|
|
|
uint32_t u1;
|
|
|
|
uint16_t u2a;
|
|
|
|
uint16_t u2b;
|
|
|
|
uint8_t preName;
|
|
|
|
uint8_t u3a;
|
|
|
|
uint8_t u3b; //Setting this to 1 seems to mark the tell as a GM tell (More research needed)
|
|
|
|
char receipientName[32];
|
|
|
|
char msg[1031];
|
2017-08-22 21:36:20 +02:00
|
|
|
};
|
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
/**
|
2017-08-22 23:53:20 +02:00
|
|
|
* Structural representation of the packet sent by the server as response
|
|
|
|
* to a failed tell because of unavailable target player
|
|
|
|
*/
|
2018-08-29 21:40:59 +02:00
|
|
|
struct FFXIVIpcTellErrNotFound :
|
|
|
|
FFXIVIpcBasePacket< TellErrNotFound >
|
2017-08-22 23:53:20 +02:00
|
|
|
{
|
2018-08-29 21:40:59 +02:00
|
|
|
char receipientName[32];
|
2017-08-22 23:53:20 +02:00
|
|
|
};
|
2017-08-22 21:36:20 +02:00
|
|
|
|
|
|
|
} /* Server */
|
|
|
|
} /* Packets */
|
|
|
|
} /* Network */
|
2018-11-29 16:55:48 +01:00
|
|
|
} /* Sapphire */
|
2017-08-22 21:36:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /*_CORE_NETWORK_PACKETS_CHAT_SERVER_IPC_H*/
|