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

OnGotBeneficialAction() public méthode

public OnGotBeneficialAction ( Server.Mobile helper, Server.Mobile helped ) : void
helper Server.Mobile
helped Server.Mobile
Résultat void
		public override void OnGotBeneficialAction( Mobile helper, Mobile helped )
		{
			base.OnGotBeneficialAction( helper, helped );

			if ( IsDisabled() )
				return;

			int noto = Notoriety.Compute( helper, helped );

			if ( helper != helped && (noto == Notoriety.Criminal || noto == Notoriety.Murderer) )
				CheckGuardCandidate( helper );
		}