This commit is contained in:
Tahir Akhlaq 2016-06-15 00:08:05 +01:00
parent b633126568
commit ba13d5798d
47 changed files with 144 additions and 144 deletions

View file

@ -27,10 +27,10 @@ namespace FFXIVClassic_Map_Server.packets.send.actor
public const ushort OPCODE = 0x134;
public const uint PACKET_SIZE = 0x28;
public static SubPacket BuildPacket(uint playerActorID, uint tarGetID, uint mainState, uint subState)
public static SubPacket BuildPacket(uint playerActorID, uint targetID, uint mainState, uint subState)
{
ulong combined = (mainState & 0xFF) | ((subState & 0xFF) << 8);
return new SubPacket(OPCODE, playerActorID, tarGetID, BitConverter.GetBytes(combined));
return new SubPacket(OPCODE, playerActorID, targetID, BitConverter.GetBytes(combined));
}
}
}