Add explicit todo about removing `BeatmapInfo.MaxCombo`

Using that property is a trap basically.
This commit is contained in:
Salman Ahmed 2022-03-20 05:01:32 +03:00
parent d681643c38
commit c5cc7eec79
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,7 @@
using osu.Game.Database;
using osu.Game.Models;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Overlays.BeatmapSet.Scores;
using osu.Game.Rulesets;
using osu.Game.Scoring;
using Realms;
@ -169,6 +170,10 @@ public BeatmapDifficulty BaseDifficulty
[Ignored]
public APIBeatmap? OnlineInfo { get; set; }
/// <summary>
/// The maximum achievable combo on this beatmap, populated for online info purposes only.
/// Todo: This should never be used nor exist, but is still relied on in <see cref="ScoresContainer.Scores"/> since <see cref="IBeatmapInfo"/> can't be used yet.
/// </summary>
[Ignored]
public int? MaxCombo { get; set; }