Server.Misc.NotorietyHandlers.CheckAggressor C# (CSharp) Méthode

CheckAggressor() public static méthode

public static CheckAggressor ( List list, Server.Mobile target ) : bool
list List
target Server.Mobile
Résultat bool
        public static bool CheckAggressor( List<AggressorInfo> list, Mobile target )
        {
            for( int i = 0; i < list.Count; ++i )
                if( list[i].Attacker == target )
                    return true;

            return false;
        }