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

CheckAggressed() public static méthode

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

                if( !info.CriminalAggression && info.Defender == target )
                    return true;
            }

            return false;
        }