// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Configuration; namespace osu.Game.Overlays.Mods { /// /// Stores global mod overlay statics. These will not be stored after disposal of /// public class ModSelectOverlayStatics : InMemoryConfigManager { protected override void InitialiseDefaults() { SetDefault(Static.LastModSelectPanelSamplePlaybackTime, (double?)null); } } public enum Static { /// /// The last playback time in milliseconds of an on/off sample (from ). /// Used to debounce on/off sounds game-wide to avoid volume saturation, especially in activating mod presets with many mods. /// LastModSelectPanelSamplePlaybackTime } }