Server.Items.DisguiseTimers.StopTimer C# (CSharp) Méthode

StopTimer() public static méthode

public static StopTimer ( Server.Mobile m ) : bool
m Server.Mobile
Résultat bool
		public static bool StopTimer( Mobile m )
		{
			Timer t = (Timer)m_Timers[m];

			if ( t != null )
			{
				t.Delay = t.Next - DateTime.Now;
				t.Stop();
			}

			return ( t != null );
		}