mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Rename and add simple xmldoc
This commit is contained in:
parent
d01c30fd52
commit
a45f8c968b
@ -3,15 +3,18 @@
|
||||
|
||||
namespace osu.Game.Configuration
|
||||
{
|
||||
public class SessionStatics : InMemoryConfigManager<Statics>
|
||||
/// <summary>
|
||||
/// Stores global per-session statics. These will not be stored after exiting the game.
|
||||
/// </summary>
|
||||
public class SessionStatics : InMemoryConfigManager<Static>
|
||||
{
|
||||
protected override void InitialiseDefaults()
|
||||
{
|
||||
Set(Statics.LoginOverlayDisplayed, false);
|
||||
Set(Static.LoginOverlayDisplayed, false);
|
||||
}
|
||||
}
|
||||
|
||||
public enum Statics
|
||||
public enum Static
|
||||
{
|
||||
LoginOverlayDisplayed,
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ namespace osu.Game.Screens.Menu
|
||||
private void load(DirectOverlay direct, SettingsOverlay settings, OsuConfigManager config, SessionStatics statics)
|
||||
{
|
||||
holdDelay = config.GetBindable<int>(OsuSetting.UIHoldActivationDelay);
|
||||
loginDisplayed = statics.GetBindable<bool>(Statics.LoginOverlayDisplayed);
|
||||
loginDisplayed = statics.GetBindable<bool>(Static.LoginOverlayDisplayed);
|
||||
|
||||
if (host.CanExit)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user