Map packet now sends region ID used to set various UI things (ie: search). Added weather ids to the weather packet. GM packet now takes a true/false value; the proper function is to send a 0x1D3 packet whenever client asks for it... false unless has GM then true.

This commit is contained in:
Filip Maj 2015-12-13 22:18:22 -05:00
parent 6f8125a947
commit fa3d69b8b3
3 changed files with 30 additions and 7 deletions

View file

@ -12,10 +12,10 @@ namespace FFXIVClassic_Map_Server.packets.send.supportdesk
public const ushort OPCODE = 0x01D3;
public const uint PACKET_SIZE = 0x28;
public static SubPacket buildPacket(uint playerActorID)
public static SubPacket buildPacket(uint playerActorID, bool startGM)
{
byte[] data = new byte[PACKET_SIZE - 0x20];
data[0] = 1;
data[0] = (byte)(startGM ? 1 : 0);
return new SubPacket(OPCODE, playerActorID, playerActorID, data);
}
}