Esempio n. 1
0
 public static void RemoveAllDisplays()
 {
     StatusTextManager.DestroyAllPopups();
     if (Integrations.scoreOverlayFound)
     {
         ScoreOverlay.RemoveAllOverlays();
     }
 }
Esempio n. 2
0
 public static void RequestStatusDisplays(ModifierType type, string command, string amount, string user, string color)
 {
     StatusTextManager.RequestPopup(type, command, amount);
     if (Integrations.scoreOverlayFound)
     {
         ScoreOverlay.RequestOverlayDisplay(type, command, amount, user, color);
     }
 }
Esempio n. 3
0
        public static void RemoveStatusDisplays(ModifierType type, UpdateType updateType)
        {
            switch (updateType)
            {
            case UpdateType.All:
                StatusTextManager.RemovePopup(type);
                if (Integrations.scoreOverlayFound)
                {
                    ScoreOverlay.RemoveOverlay(type);
                }
                break;

            case UpdateType.Ingame:
                StatusTextManager.RemovePopup(type);
                break;

            case UpdateType.ScoreOverlay:
                if (Integrations.scoreOverlayFound)
                {
                    ScoreOverlay.RemoveOverlay(type);
                }
                break;
            }
        }
Esempio n. 4
0
        public static void UpdateStatusDisplays(ModifierType type, string command, string amount, string user, string color, UpdateType updateType)
        {
            switch (updateType)
            {
            case UpdateType.All:
                StatusTextManager.UpdatePopup(type, command, amount);
                if (Integrations.scoreOverlayFound)
                {
                    ScoreOverlay.UpdateOverlay(type, command, amount, user, color, ScoreOverlay.State.Active);
                }
                break;

            case UpdateType.Ingame:
                StatusTextManager.UpdatePopup(type, command, amount);
                break;

            case UpdateType.ScoreOverlay:
                if (Integrations.scoreOverlayFound)
                {
                    ScoreOverlay.UpdateOverlay(type, command, amount, user, color, ScoreOverlay.State.Cooldown);
                }
                break;
            }
        }