mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Add more ToString output
This commit is contained in:
@ -25,5 +25,7 @@ namespace osu.Game.Rulesets
|
||||
public virtual Ruleset CreateInstance() => (Ruleset)Activator.CreateInstance(Type.GetType(InstantiationInfo), this);
|
||||
|
||||
public bool Equals(RulesetInfo other) => other != null && ID == other.ID && Available == other.Available && Name == other.Name && InstantiationInfo == other.InstantiationInfo;
|
||||
|
||||
public override string ToString() => $"{Name} ({ShortName}) ID: {ID}";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user