Started doing multiplayer stuff.

This commit is contained in:
Filip Maj 2015-10-13 22:58:21 -04:00
parent 7116c96b2f
commit 1d20f8b8b8
6 changed files with 17 additions and 5 deletions

View file

@ -12,9 +12,12 @@ namespace FFXIVClassic_Map_Server.packets.send.actor
public const ushort OPCODE = 0x00CA;
public const uint PACKET_SIZE = 0x28;
public static SubPacket buildPacket(uint playerActorID, uint actorID)
public static SubPacket buildPacket(uint playerActorID, uint actorID, byte val)
{
return new SubPacket(OPCODE, playerActorID, actorID, new byte[8]);
byte[] data = new byte[PACKET_SIZE-0x20];
data[0] = val; //Why?
return new SubPacket(OPCODE, playerActorID, actorID, data);
}
}