Пример #1
0
 /// <summary>
 /// Notifies other players, that player used auto attack.
 /// </summary>
 private void Character_OnAttack(IKiller sender, IKillable target, AttackResult attackResult)
 {
     foreach (var player in GetAllPlayers(true))
     {
         _packetsHelper.SendCharacterUsualAttack(player.Client, sender, target, attackResult);
     }
 }