Esempio n. 1
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;
            }
        }