project-meteor-server/FFXIVClassic Map Server/packets/send/player/SetCurrentMountGoobbuePacket.cs
2016-08-22 10:43:04 -04:00

19 lines
520 B
C#

using FFXIVClassic.Common;
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);
}
}
}