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.actor { class AddActorPacket { public const ushort OPCODE = 0x00CA; public const uint PACKET_SIZE = 0x28; public static SubPacket buildPacket(uint playerActorID, uint actorID, byte val) { byte[] data = new byte[PACKET_SIZE-0x20]; data[0] = val; //Why? return new SubPacket(OPCODE, playerActorID, actorID, data); } } }