1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 15:17:28 +08:00
osu-lazer/osu.Game/Configuration/SessionStatics.cs

24 lines
693 B
C#
Raw Normal View History

2019-09-23 13:15:27 +08:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Configuration
{
2019-09-28 20:21:51 +08:00
/// <summary>
/// Stores global per-session statics. These will not be stored after exiting the game.
/// </summary>
public class SessionStatics : InMemoryConfigManager<Static>
2019-09-23 13:15:27 +08:00
{
2019-09-25 06:25:05 +08:00
protected override void InitialiseDefaults()
2019-09-23 13:15:27 +08:00
{
2019-09-28 20:21:51 +08:00
Set(Static.LoginOverlayDisplayed, false);
2019-10-01 23:39:01 +08:00
Set(Static.MutedAudioNotificationShownOnce, false);
2019-09-23 13:15:27 +08:00
}
}
2019-09-28 20:21:51 +08:00
public enum Static
2019-09-23 13:15:27 +08:00
{
LoginOverlayDisplayed,
2019-10-01 23:39:01 +08:00
MutedAudioNotificationShownOnce
2019-09-23 13:15:27 +08:00
}
}