mirror of
https://github.com/ppy/osu.git
synced 2026-06-08 17:54:18 +08:00
Add xmldoc for MaxStarDifficulty and MaxLength
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user