@inject IGameDataService GameDataService @inject HttpClient Client @page "/Cards/{baid:int}/HighScores"

High Scores

Card: @Baid @if (response is null) { No data. } else { @foreach (var difficulty in Enum.GetValues()) { @if (difficulty is not Difficulty.None) { @if (songBestDataMap.TryGetValue(difficulty, out var value)) {
@context.Item.MusicName @context.Item.MusicArtist
@GameDataService.GetMusicStarLevel(@context.Item.SongId, difficulty) @GetGenreTitle(context.Item.Genre) @(GetCrownText(context.Item.BestCrown)) @if (context.Item.BestScoreRank is not ScoreRank.None) { @(GetRankText(context.Item.BestScoreRank)) } @(context.Item.ShowAiData ? "Hide" : "Show")
@if (context.Item.ShowAiData) { AI Battle Data Section No. Result Score Crown Good OK Bad Drumroll @(aiSectionContext.SectionIndex + 1) @if (@aiSectionContext.IsWin) { Win } else { Lose } @aiSectionContext.Score @(GetCrownText(aiSectionContext.Crown)) @aiSectionContext.GoodCount @aiSectionContext.OkCount @aiSectionContext.MissCount @aiSectionContext.DrumrollCount }
} else { No data for selected difficulty. }
} }
}