Allow UserStatusSoloGame to provide metadata such as the ruleset the current beatmap is played in

This commit is contained in:
Lucas A
2019-04-13 13:18:44 +02:00
parent 5ab278f9ea
commit 361c0ec9f2
4 changed files with 9 additions and 3 deletions

View File

@ -42,14 +42,17 @@ namespace osu.Game.Users
public class UserStatusSoloGame : UserStatusBusy
{
public UserStatusSoloGame(BeatmapInfo info)
public UserStatusSoloGame(BeatmapInfo info, Rulesets.RulesetInfo ruleset)
{
Beatmap = info;
Ruleset = ruleset;
}
public override string Message => @"Solo Game";
public BeatmapInfo Beatmap { get; }
public Rulesets.RulesetInfo Ruleset { get; }
}
public class UserStatusEditing : UserStatusBusy