/// <summary> /// Process when a player attacks a target. /// </summary> /// <param name="player">The attacker.</param> /// <param name="world">A reference to the gameworld.</param> private void ProcessSetTarget(Player player, GameWorld world) { uint targetID = netmsg.GetU32(); world.HandleCreatureTarget(player, targetID); }
/// <summary> /// Process when a player attacks a target. /// </summary> /// <param name="player">The attacker.</param> /// <param name="world">A reference to the gameworld.</param> private void ProcessSetTarget(Player player, GameWorld world) { uint targetID = netmsg.GetU32(); world.HandleCreatureTarget(player, targetID); }