コード例 #1
0
 public static void Stop()
 {
     Asda2EventMgr.SendMessageToWorld("STAY ONLINE Event ended.");
     GetRewardQueue.CancelTimer(_timer);
     _timer  = null;
     Started = false;
 }
コード例 #2
0
ファイル: TimerEntry.cs プロジェクト: KroneckerX/WCell
		internal void Execute(SelfRunningTaskQueue queue)
		{
			Callback();
			LastCallTime = queue.LastUpdateTime;
			if (IsOneShot)
			{
				queue.CancelTimer(this);
			}
		}
コード例 #3
0
ファイル: TimerEntry.cs プロジェクト: NecroSharper/WCell
 internal void Execute(SelfRunningTaskQueue queue)
 {
     Callback();
     LastCallTime = queue.LastUpdateTime;
     if (IsOneShot)
     {
         queue.CancelTimer(this);
     }
 }
コード例 #4
0
ファイル: SimpleTimerEntry.cs プロジェクト: uvbs/Asda2-Server
 internal void Execute(SelfRunningTaskQueue queue)
 {
     this.Callback();
     this.LastCallTime = queue.LastUpdateTime;
     if (!this.IsOneShot)
     {
         return;
     }
     queue.CancelTimer(this);
 }