Server.Items.EffectController.OnMovement C# (CSharp) Méthode

OnMovement() public méthode

public OnMovement ( Mobile m, Point3D oldLocation ) : void
m Mobile
oldLocation Point3D
Résultat void
		public override void OnMovement( Mobile m, Point3D oldLocation )
		{
			if ( m.Location != oldLocation && m_TriggerType == EffectTriggerType.InRange && Utility.InRange( GetWorldLocation(), m.Location, m_TriggerRange ) && !Utility.InRange( GetWorldLocation(), oldLocation, m_TriggerRange ) )
				DoEffect( m );
		}