Perform ordering using IComparable instead

This commit is contained in:
Dean Herbert
2022-01-27 15:59:20 +09:00
parent f30d63107a
commit 5637fd64d6
7 changed files with 21 additions and 10 deletions

View File

@ -11,7 +11,7 @@ namespace osu.Game.Rulesets
/// <summary>
/// A representation of a ruleset's metadata.
/// </summary>
public interface IRulesetInfo : IHasOnlineID<int>, IEquatable<IRulesetInfo>
public interface IRulesetInfo : IHasOnlineID<int>, IEquatable<IRulesetInfo>, IComparable<RulesetInfo>
{
/// <summary>
/// The user-exposed name of this ruleset.