1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 05:22:54 +08:00

Reintroduce IMod.Ranked

What goes around, comes around.
This commit is contained in:
Bartłomiej Dach 2024-01-31 14:48:27 +01:00
parent 7cdedfb6ca
commit e71c95f1fe
No known key found for this signature in database
2 changed files with 11 additions and 0 deletions

View File

@ -66,6 +66,11 @@ namespace osu.Game.Rulesets.Mods
/// </summary>
bool AlwaysValidForSubmission { get; }
/// <summary>
/// Whether scores with this mod active can give performance points.
/// </summary>
bool Ranked { get; }
/// <summary>
/// Create a fresh <see cref="Mod"/> instance based on this mod.
/// </summary>

View File

@ -167,6 +167,12 @@ namespace osu.Game.Rulesets.Mods
[JsonIgnore]
public virtual bool RequiresConfiguration => false;
/// <summary>
/// Whether scores with this mod active can give performance points.
/// </summary>
[JsonIgnore]
public virtual bool Ranked => false;
/// <summary>
/// The mods this mod cannot be enabled with.
/// </summary>