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(); } } }
public void ShowStartBattleNotification(NodeRemoveEvent e, RoundWarmingUpStateNode round, [JoinAll] WarmingUpTimerNotificationsNode notifications) { notifications.warmingUpTimerNotifications.ShowStartBattleNotification(); }
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); }
public void DeactivateNotifications(NodeRemoveEvent e, RoundWarmingUpStateNode round, WarmingUpTimerNotificationsNode notifications) { notifications.warmingUpTimerNotifications.DeactivateNotifications(); }
public void HideWarmingUpTimer(NodeRemoveEvent e, RoundWarmingUpStateNode round, MainHUDNode hud) { hud.mainHUDTimers.HideWarmingUpTimer(); }
public void ShowWarmingUpTimer(NodeAddedEvent e, RoundWarmingUpStateNode round, MainHUDNode hud) { hud.mainHUDTimers.ShowWarmingUpTimer(); }