1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 03:20:16 +08:00

Add ranked play match type

This commit is contained in:
Dan Balasescu
2026-01-28 13:41:35 +09:00
Unverified
parent 70321e2f89
commit fa5a278cf3
+25 -1
View File
@@ -18,6 +18,30 @@ namespace osu.Game.Online.Rooms
[LocalisableDescription(typeof(MatchesStrings), nameof(MatchesStrings.MatchTeamTypesTeamVersus))]
TeamVersus,
Matchmaking
/// <summary>
/// Matchmaking: Quick play
/// </summary>
Matchmaking,
/// <summary>
/// Matchmaking: Ranked play
/// </summary>
RankedPlay
}
public static class MatchTypeExtensions
{
public static bool IsMatchmakingType(this MatchType type)
{
switch (type)
{
case MatchType.Matchmaking:
case MatchType.RankedPlay:
return true;
default:
return false;
}
}
}
}