Server.Multis.BaseCamp.RefreshDecay C# (CSharp) Метод

RefreshDecay() публичный Метод

public RefreshDecay ( bool setDecayTime ) : void
setDecayTime bool
Результат void
		public virtual void RefreshDecay( bool setDecayTime )
		{
			if ( Deleted )
				return;

			if ( m_DecayTimer != null )
				m_DecayTimer.Stop();

			if ( setDecayTime )
				m_DecayTime = DateTime.Now + DecayDelay;

			m_DecayTimer = Timer.DelayCall( DecayDelay, new TimerCallback( Delete ) );
		}