1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-22 20:57:47 +00:00
project-meteor-server/FFXIVClassic Map Server/packets/send/supportdesk/GMTicketSentResponsePacket.cs

22 lines
548 B
C#
Raw Normal View History

2016-08-22 10:43:04 -04:00
using FFXIVClassic.Common;
using FFXIVClassic.Common;
namespace FFXIVClassic_Map_Server.packets.send.supportdesk
{
class GMTicketSentResponsePacket
{
public const ushort OPCODE = 0x01D5;
public const uint PACKET_SIZE = 0x28;
public static SubPacket BuildPacket(uint playerActorID, bool wasSent)
{
byte[] data = new byte[PACKET_SIZE - 0x20];
data[0] = (byte)(wasSent ? 0x1 : 0x0);
return new SubPacket(OPCODE, playerActorID, playerActorID, data);
}
}
}