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

Taiko Mode

Card: @Baid @if (response is null) { No data. } else { @foreach (var difficulty in Enum.GetValues()) { @if (difficulty is not Difficulty.None) { @if (songBestDataMap.ContainsKey(difficulty)) {
@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)) }
} else { No data for selected difficulty. }
} }
}