2021-09-15 15:08:31 +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.
|
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2021-09-15 15:08:31 +08:00
|
|
|
|
using osu.Game.Database;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Configuration
|
|
|
|
|
{
|
|
|
|
|
public class SettingsStore
|
|
|
|
|
{
|
|
|
|
|
// this class mostly exists as a wrapper to avoid breaking the ruleset API (see usage in RulesetConfigManager).
|
|
|
|
|
// it may cease to exist going forward, depending on how the structure of the config data layer changes.
|
|
|
|
|
|
2022-01-24 18:59:58 +08:00
|
|
|
|
public readonly RealmAccess Realm;
|
2021-09-15 15:08:31 +08:00
|
|
|
|
|
2022-01-24 18:59:58 +08:00
|
|
|
|
public SettingsStore(RealmAccess realm)
|
2021-09-15 15:08:31 +08:00
|
|
|
|
{
|
2022-01-24 18:59:58 +08:00
|
|
|
|
Realm = realm;
|
2021-09-15 15:08:31 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|