2015-12-04 23:39:18 -05:00
|
|
|
|
using FFXIVClassic_Lobby_Server.packets;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FFXIVClassic_Map_Server.packets.send.supportdesk
|
|
|
|
|
{
|
|
|
|
|
class StartGMTicketPacket
|
|
|
|
|
{
|
|
|
|
|
public const ushort OPCODE = 0x01D3;
|
|
|
|
|
public const uint PACKET_SIZE = 0x28;
|
|
|
|
|
|
2015-12-13 22:18:22 -05:00
|
|
|
|
public static SubPacket buildPacket(uint playerActorID, bool startGM)
|
2015-12-04 23:39:18 -05:00
|
|
|
|
{
|
|
|
|
|
byte[] data = new byte[PACKET_SIZE - 0x20];
|
2015-12-13 22:18:22 -05:00
|
|
|
|
data[0] = (byte)(startGM ? 1 : 0);
|
2015-12-04 23:39:18 -05:00
|
|
|
|
return new SubPacket(OPCODE, playerActorID, playerActorID, data);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|