Server.Multis.BaseCamp.RefreshDecay C# (CSharp) Method

RefreshDecay() public method

public RefreshDecay ( bool setDecayTime ) : void
setDecayTime bool
return 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 ) );
		}