Server.Regions.GuardedRegion.IsGuardCandidate C# (CSharp) Méthode

IsGuardCandidate() public méthode

public IsGuardCandidate ( Server.Mobile m ) : bool
m Server.Mobile
Résultat bool
		public bool IsGuardCandidate( Mobile m )
		{
			if ( m is BaseGuard || !m.Alive || m.AccessLevel > AccessLevel.Player || m.Blessed || ( m is BaseCreature && ((BaseCreature)m).IsInvulnerable ) || IsDisabled() )
				return false;

			return (!AllowReds && m.Kills >= 5) || m.Criminal;
		}