mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
Add xmldoc for MaxStarDifficulty and MaxLength
This commit is contained in:
parent
79ddb8d5d3
commit
2d0c924bdf
@ -35,8 +35,14 @@ namespace osu.Game.Beatmaps
|
||||
[NotMapped]
|
||||
public BeatmapSetMetrics Metrics { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The maximum star difficulty of all beatmaps in this set.
|
||||
/// </summary>
|
||||
public double MaxStarDifficulty => Beatmaps?.Max(b => b.StarDifficulty) ?? 0;
|
||||
|
||||
/// <summary>
|
||||
/// The maximum playable length of all beatmaps in this set.
|
||||
/// </summary>
|
||||
public double MaxLength => Beatmaps?.Max(b => b.Length) ?? 0;
|
||||
|
||||
[NotMapped]
|
||||
|
Loading…
Reference in New Issue
Block a user