mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:23:22 +08:00
apply code inspection fixes
This commit is contained in:
parent
cc3468b4ab
commit
c56b34d2da
@ -224,7 +224,7 @@ namespace osu.Game.Rulesets
|
||||
public abstract string ShortName { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The playing verb to be shown in the <see cref="UserActivity.InSoloGame.Status"/>.
|
||||
/// The playing verb to be shown in the <see cref="UserActivity.InGame.Status"/>.
|
||||
/// </summary>
|
||||
public virtual string PlayingVerb => "Playing";
|
||||
|
||||
|
@ -25,7 +25,7 @@ namespace osu.Game.Users
|
||||
public override string Status => "Choosing a beatmap";
|
||||
}
|
||||
|
||||
public abstract class InGame : UserActivity
|
||||
public class InGame : UserActivity
|
||||
{
|
||||
public BeatmapInfo Beatmap { get; }
|
||||
|
||||
@ -36,6 +36,8 @@ namespace osu.Game.Users
|
||||
Beatmap = info;
|
||||
Ruleset = ruleset;
|
||||
}
|
||||
|
||||
public override string Status => Ruleset.CreateInstance().PlayingVerb;
|
||||
}
|
||||
|
||||
public class InMultiplayerGame : InGame
|
||||
@ -45,7 +47,7 @@ namespace osu.Game.Users
|
||||
{
|
||||
}
|
||||
|
||||
public override string Status => $@"{Ruleset.CreateInstance().PlayingVerb} with others";
|
||||
public override string Status => $@"{base.Status} with others";
|
||||
}
|
||||
|
||||
public class InSoloGame : InGame
|
||||
@ -54,8 +56,6 @@ namespace osu.Game.Users
|
||||
: base(info, ruleset)
|
||||
{
|
||||
}
|
||||
|
||||
public override string Status => Ruleset.CreateInstance().PlayingVerb;
|
||||
}
|
||||
|
||||
public class Editing : UserActivity
|
||||
|
Loading…
Reference in New Issue
Block a user