mirror of https://github.com/ppy/osu
Add xmldoc for MaxStarDifficulty and MaxLength
This commit is contained in:
parent
79ddb8d5d3
commit
2d0c924bdf
|
@ -35,8 +35,14 @@ public int? OnlineBeatmapSetID
|
|||
[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