mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 08:27:49 +08:00
Reintroduce IMod.Ranked
What goes around, comes around.
This commit is contained in:
parent
7cdedfb6ca
commit
e71c95f1fe
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user