project-meteor-server/FFXIVClassic Map Server/packets/send/player/SetCurrentMountGoobbuePacket.cs

24 lines
650 B
C#

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