1
0
mirror of synced 2024-11-28 00:20:53 +01:00

Change function name

This commit is contained in:
shiibe 2024-03-13 22:30:15 -04:00
parent 1d4523c4b0
commit c0bcf8eccc
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ public partial class Songs
var language = await JSRuntime.InvokeAsync<string>("blazorCulture.get");
musicMap = GameDataService.GetMusicMap();
musicMap = GameDataService.GetMusicList();
response.SongBestData.ForEach(data =>
{

View File

@ -60,7 +60,7 @@ public class GameDataService : IGameDataService
return data;
}
public List<MusicDetail> GetMusicMap()
public List<MusicDetail> GetMusicList()
{
return musicMap.Values.Where(musicDetail => musicDetail.SongId != 0).ToList();
}

View File

@ -7,7 +7,7 @@ public interface IGameDataService
{
public Task InitializeAsync(string dataBaseUrl);
public List<MusicDetail> GetMusicMap();
public List<MusicDetail> GetMusicList();
public string GetMusicNameBySongId(uint songId, string? language = null);