Fix missing interface implementation of IRulesetStore

This commit is contained in:
Dean Herbert 2021-12-14 19:52:54 +09:00
parent d70e292828
commit a3da8dc49d

View File

@ -16,7 +16,7 @@ using osu.Game.Database;
namespace osu.Game.Rulesets namespace osu.Game.Rulesets
{ {
public class RulesetStore : IDisposable public class RulesetStore : IDisposable, IRulesetStore
{ {
private readonly RealmContextFactory realmFactory; private readonly RealmContextFactory realmFactory;
@ -259,8 +259,8 @@ namespace osu.Game.Rulesets
#region Implementation of IRulesetStore #region Implementation of IRulesetStore
IRulesetInfo IRulesetStore.GetRuleset(int id) => GetRuleset(id); IRulesetInfo? IRulesetStore.GetRuleset(int id) => GetRuleset(id);
IRulesetInfo IRulesetStore.GetRuleset(string shortName) => GetRuleset(shortName); IRulesetInfo? IRulesetStore.GetRuleset(string shortName) => GetRuleset(shortName);
IEnumerable<IRulesetInfo> IRulesetStore.AvailableRulesets => AvailableRulesets; IEnumerable<IRulesetInfo> IRulesetStore.AvailableRulesets => AvailableRulesets;
#endregion #endregion