2021-09-15 07:08:31 +00: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 07:37:17 +00:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2021-09-15 07:08:31 +00: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 10:59:58 +00:00
|
|
|
|
public readonly RealmAccess Realm;
|
2021-09-15 07:08:31 +00:00
|
|
|
|
|
2022-01-24 10:59:58 +00:00
|
|
|
|
public SettingsStore(RealmAccess realm)
|
2021-09-15 07:08:31 +00:00
|
|
|
|
{
|
2022-01-24 10:59:58 +00:00
|
|
|
|
Realm = realm;
|
2021-09-15 07:08:31 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|