예제 #1
0
 public static void RegisterRunOnceTask(UITimerTask.TimerTick action)
 {
     UI.UITimerTask uiTimerTask = new UI.UITimerTask(action);
     uiTimerTask.Enabled = true;
     uiTimerTask.RunOnce = true;
     UIMsgQueueSystem.InternalMsgPumpRegister(uiTimerTask);
 }
예제 #2
0
        public static void RegisterTimerTask(int intervalMillisec, UITimerTask.TimerTick timerTick)
        {
            UITimerTask timerTask = new UITimerTask(timerTick);

            timerTask.IntervalInMillisec = intervalMillisec;
            UIMsgQueueSystem.InternalMsgPumpRegister(timerTask);
            timerTask.Enabled = true;
        }
예제 #3
0
 public static void RegisterRunOnceTask(Action <UITimerTask> action)
 {
     UIMsgQueueSystem.InternalMsgPumpRegister(new UI.UITimerTask(action)
     {
         Enabled = true,
         RunOnce = true
     });
 }
예제 #4
0
 protected static void InvokeMsgPumpOneStep()
 {
     if (s_Closing)
     {
         return;
     }
     //
     UIMsgQueueSystem.InternalMsgPumpOneStep();
 }
예제 #5
0
 public static void RegisterTimerTask(UITimerTask uiTimerTask)
 {
     UIMsgQueueSystem.InternalMsgPumpRegister(uiTimerTask);
 }
예제 #6
0
 protected static void InvokeMsgPumpOneStep()
 {
     UIMsgQueueSystem.InternalMsgPumpOneStep();
 }