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 ) );
		}