project-meteor-server/FFXIVClassic Map Server/packets/send/player/SetCurrentMountGoobbuePacket.cs
2016-06-14 21:29:10 +01:00

17 lines
492 B
C#

namespace FFXIVClassic_Map_Server.packets.send.player
{
class SetCurrentMountGoobbuePacket
{
public const ushort OPCODE = 0x01a0;
public const uint PACKET_SIZE = 0x28;
public static SubPacket BuildPacket(uint playerActorID, int appearanceId)
{
byte[] data = new byte[PACKET_SIZE - 0x20];
data[0] = (byte)(appearanceId & 0xFF);
return new SubPacket(OPCODE, playerActorID, playerActorID, data);
}
}
}