2016-08-22 10:43:04 -04:00
|
|
|
|
using FFXIVClassic.Common;
|
|
|
|
|
|
|
|
|
|
using FFXIVClassic.Common;
|
|
|
|
|
|
|
|
|
|
namespace FFXIVClassic_Map_Server.packets.send.supportdesk
|
2015-12-04 02:00:05 -05:00
|
|
|
|
{
|
|
|
|
|
class GMTicketSentResponsePacket
|
|
|
|
|
{
|
|
|
|
|
public const ushort OPCODE = 0x01D5;
|
|
|
|
|
public const uint PACKET_SIZE = 0x28;
|
|
|
|
|
|
2016-06-14 21:29:10 +01:00
|
|
|
|
public static SubPacket BuildPacket(uint playerActorID, bool wasSent)
|
2015-12-04 02:00:05 -05:00
|
|
|
|
{
|
|
|
|
|
byte[] data = new byte[PACKET_SIZE - 0x20];
|
|
|
|
|
|
|
|
|
|
data[0] = (byte)(wasSent ? 0x1 : 0x0);
|
|
|
|
|
|
2017-06-27 16:55:14 -04:00
|
|
|
|
return new SubPacket(OPCODE, playerActorID, data);
|
2015-12-04 02:00:05 -05:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|