mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Introduce multiplayer playability and free mod validity in Mod
This commit is contained in:
@ -94,6 +94,12 @@ namespace osu.Game.Rulesets.Mods
|
||||
[JsonIgnore]
|
||||
public virtual bool UserPlayable => true;
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual bool PlayableInMultiplayer => UserPlayable;
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual bool ValidFreeModInMultiplayer => PlayableInMultiplayer;
|
||||
|
||||
[Obsolete("Going forward, the concept of \"ranked\" doesn't exist. The only exceptions are automation mods, which should now override and set UserPlayable to false.")] // Can be removed 20211009
|
||||
public virtual bool Ranked => false;
|
||||
|
||||
|
Reference in New Issue
Block a user