mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 20:07:29 +08:00
520e550764
Also fixes some remaining test failures due to locally constructed rulesets that are not being tracked by the game.
21 lines
662 B
C#
21 lines
662 B
C#
// 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.
|
|
|
|
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.
|
|
|
|
public readonly RealmContextFactory Realm;
|
|
|
|
public SettingsStore(RealmContextFactory realmFactory)
|
|
{
|
|
Realm = realmFactory;
|
|
}
|
|
}
|
|
}
|