mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Add HasPerformancePoints extension method
This commit is contained in:
@ -3,6 +3,12 @@
|
||||
|
||||
namespace osu.Game.Beatmaps
|
||||
{
|
||||
public static class BeatmapSetOnlineStatusExtensions
|
||||
{
|
||||
public static bool HasPerformancePoints(this BeatmapSetOnlineStatus status)
|
||||
=> status == BeatmapSetOnlineStatus.Ranked || status == BeatmapSetOnlineStatus.Approved;
|
||||
}
|
||||
|
||||
public enum BeatmapSetOnlineStatus
|
||||
{
|
||||
None = -3,
|
Reference in New Issue
Block a user