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

High Scores

@if (LoginService.LoginRequired) { Card: @LoginService.GetCardNum() } else { Card: @Baid } @if (response is null) { No data. } else { @if (LoginService.LoginRequired && (!LoginService.IsLoggedIn || (LoginService.Baid != Baid && !LoginService.IsAdmin))) { Please log in by clicking on "cards" tab first. } 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. }
} }
} }