@using TaikoWebUI.Utilities; @inject IGameDataService GameDataService @inject HttpClient Client @inject AuthService AuthService @inject NavigationManager NavigationManager @inject BreadcrumbsStateContainer BreadcrumbsStateContainer @inject Blazored.LocalStorage.ILocalStorageService LocalStorage @page "/Users/{baid:int}/HighScores" @if (response is null) { } else { @if (AuthService.LoginRequired && (!AuthService.IsLoggedIn || (AuthService.GetLoggedInBaid() != Baid && !AuthService.IsAdmin))) { NavigationManager.NavigateTo(AuthService.IsLoggedIn ? "/" : "/Login"); } else { @foreach (var difficulty in Enum.GetValues()) { @if (difficulty is not Difficulty.None) { @if (songBestDataMap.TryGetValue(difficulty, out var value)) { // Rows per page 25 @foreach (var genre in Enum.GetValues(typeof(SongGenre))) { var genreValue = (SongGenre)genre; @ScoreUtils.GetGenreTitle(genreValue) } @Localizer["Song Title / Artist"] @Localizer["Genre"] @Localizer["Level"] @Localizer["Best Score"] @Localizer["Best Crown"] @Localizer["Best Rank"] @* @Localizer["Good"] @Localizer["OK"] @Localizer["Bad"] @Localizer["Drumroll"] @Localizer["MAX Combo"] *@ @Localizer["Played"]
@ScoreUtils.GetGenreTitle(context.Genre) @GameDataService.GetMusicStarLevel(musicDetailDictionary, context.SongId, difficulty) @context.BestScore @(ScoreUtils.GetCrownText(context.BestCrown)) @if (context.BestScoreRank is not ScoreRank.None) { @(ScoreUtils.GetRankText(context.BestScoreRank)) } @* @context.GoodCount @context.OkCount @context.MissCount @context.DrumrollCount @context.ComboCount *@ @context.PlayTime
} else { @Localizer["No Data"] }
} }
} }