mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Cache and consume IRulesetStore
where feasible
This commit is contained in:
@ -29,9 +29,9 @@ namespace osu.Game.Users
|
||||
{
|
||||
public IBeatmapInfo BeatmapInfo { get; }
|
||||
|
||||
public RulesetInfo Ruleset { get; }
|
||||
public IRulesetInfo Ruleset { get; }
|
||||
|
||||
protected InGame(IBeatmapInfo beatmapInfo, RulesetInfo ruleset)
|
||||
protected InGame(IBeatmapInfo beatmapInfo, IRulesetInfo ruleset)
|
||||
{
|
||||
BeatmapInfo = beatmapInfo;
|
||||
Ruleset = ruleset;
|
||||
@ -42,7 +42,7 @@ namespace osu.Game.Users
|
||||
|
||||
public class InMultiplayerGame : InGame
|
||||
{
|
||||
public InMultiplayerGame(IBeatmapInfo beatmapInfo, RulesetInfo ruleset)
|
||||
public InMultiplayerGame(IBeatmapInfo beatmapInfo, IRulesetInfo ruleset)
|
||||
: base(beatmapInfo, ruleset)
|
||||
{
|
||||
}
|
||||
@ -52,7 +52,7 @@ namespace osu.Game.Users
|
||||
|
||||
public class InPlaylistGame : InGame
|
||||
{
|
||||
public InPlaylistGame(IBeatmapInfo beatmapInfo, RulesetInfo ruleset)
|
||||
public InPlaylistGame(IBeatmapInfo beatmapInfo, IRulesetInfo ruleset)
|
||||
: base(beatmapInfo, ruleset)
|
||||
{
|
||||
}
|
||||
@ -60,7 +60,7 @@ namespace osu.Game.Users
|
||||
|
||||
public class InSoloGame : InGame
|
||||
{
|
||||
public InSoloGame(IBeatmapInfo beatmapInfo, RulesetInfo ruleset)
|
||||
public InSoloGame(IBeatmapInfo beatmapInfo, IRulesetInfo ruleset)
|
||||
: base(beatmapInfo, ruleset)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user