Started removing all target actor id references.

This commit is contained in:
Filip Maj 2017-06-27 13:23:05 -04:00
parent c09471ed43
commit a264745207
64 changed files with 141 additions and 136 deletions

View file

@ -7,11 +7,11 @@ namespace FFXIVClassic_Map_Server.packets.send.player
public const ushort OPCODE = 0x01A1;
public const uint PACKET_SIZE = 0x28;
public static SubPacket BuildPacket(uint playerActorID, bool hasGoobbue)
public static SubPacket BuildPacket(uint sourceActorId, bool hasGoobbue)
{
byte[] data = new byte[PACKET_SIZE - 0x20];
data[0] = (byte)(hasGoobbue ? 1 : 0);
return new SubPacket(OPCODE, playerActorID, playerActorID, data);
return new SubPacket(OPCODE, sourceActorId, data);
}
}
}