예제 #1
0
 public void ShowWarmingUpTimerNotifications(UpdateEvent e, BattleNode battle, [JoinByBattle] SelfBattleUserNode self, [JoinByBattle] RoundWarmingUpStateNode round, [JoinAll] WarmingUpTimerNotificationsNode notifications)
 {
     if (notifications.warmingUpTimerNotifications.HasNotifications())
     {
         float num = battle.battleStartTime.RoundStartTime.UnityTime - Date.Now.UnityTime;
         if (notifications.warmingUpTimerNotifications.NextNotificationTime > num)
         {
             base.ScheduleEvent <DisableOldMultikillNotificationsEvent>(notifications);
             notifications.warmingUpTimerNotifications.ShowNextNotification();
         }
     }
 }
예제 #2
0
 public void ShowStartBattleNotification(NodeRemoveEvent e, RoundWarmingUpStateNode round, [JoinAll] WarmingUpTimerNotificationsNode notifications)
 {
     notifications.warmingUpTimerNotifications.ShowStartBattleNotification();
 }
예제 #3
0
        public void InitNotifications(NodeAddedEvent e, BattleNode battle, [JoinByBattle, Context] RoundWarmingUpStateNode round, WarmingUpTimerNotificationsNode notifications)
        {
            float remainingTime = battle.battleStartTime.RoundStartTime.UnityTime - Date.Now.UnityTime;

            notifications.warmingUpTimerNotifications.Init(remainingTime);
        }
예제 #4
0
 public void DeactivateNotifications(NodeRemoveEvent e, RoundWarmingUpStateNode round, WarmingUpTimerNotificationsNode notifications)
 {
     notifications.warmingUpTimerNotifications.DeactivateNotifications();
 }
예제 #5
0
 public void HideWarmingUpTimer(NodeRemoveEvent e, RoundWarmingUpStateNode round, MainHUDNode hud)
 {
     hud.mainHUDTimers.HideWarmingUpTimer();
 }
예제 #6
0
 public void ShowWarmingUpTimer(NodeAddedEvent e, RoundWarmingUpStateNode round, MainHUDNode hud)
 {
     hud.mainHUDTimers.ShowWarmingUpTimer();
 }