mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Implement config persistence through BasicStorage
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Framework.Platform;
|
||||
using osu.Game.GameModes.Play;
|
||||
using osu.Game.Online.API;
|
||||
|
||||
@ -25,6 +26,10 @@ namespace osu.Game.Configuration
|
||||
Set(OsuConfig.VolumeMusic, 1.0, 0, 1);
|
||||
Set(OsuConfig.VolumeEffect, 1.0, 0, 1);
|
||||
}
|
||||
|
||||
public OsuConfigManager(BasicStorage storage) : base(storage)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
enum OsuConfig
|
||||
|
Reference in New Issue
Block a user