2024-06-05 17:42:45 +02:00
|
|
|
|
using System.Collections.Immutable;
|
|
|
|
|
|
|
|
|
|
namespace TaikoWebUI.Services;
|
2023-09-09 14:58:20 +02:00
|
|
|
|
|
|
|
|
|
public interface IGameDataService
|
|
|
|
|
{
|
|
|
|
|
public Task InitializeAsync(string dataBaseUrl);
|
2024-03-09 00:42:56 +01:00
|
|
|
|
|
2024-05-25 19:12:30 +02:00
|
|
|
|
public Task<Dictionary<uint, MusicDetail>> GetMusicDetailDictionary();
|
|
|
|
|
|
|
|
|
|
public Task<Dictionary<uint, Title>> GetTitleDictionary();
|
|
|
|
|
|
|
|
|
|
public Task<List<Costume>> GetCostumeList();
|
|
|
|
|
|
|
|
|
|
public Task<Dictionary<string, List<uint>>> GetLockedCostumeDataDictionary();
|
|
|
|
|
|
|
|
|
|
public Task<Dictionary<string, List<uint>>> GetLockedTitleDataDictionary();
|
2024-03-14 03:27:55 +01:00
|
|
|
|
|
2024-05-25 19:12:30 +02:00
|
|
|
|
public string GetMusicNameBySongId(Dictionary<uint, MusicDetail> musicDetails,uint songId, string? language = null);
|
2023-09-09 14:58:20 +02:00
|
|
|
|
|
2024-05-25 19:12:30 +02:00
|
|
|
|
public string GetMusicArtistBySongId(Dictionary<uint, MusicDetail> musicDetails,uint songId, string? language = null);
|
2023-09-09 14:58:20 +02:00
|
|
|
|
|
2024-05-25 19:12:30 +02:00
|
|
|
|
public SongGenre GetMusicGenreBySongId(Dictionary<uint, MusicDetail> musicDetails,uint songId);
|
2023-09-09 14:58:20 +02:00
|
|
|
|
|
2024-05-25 19:12:30 +02:00
|
|
|
|
public int GetMusicIndexBySongId(Dictionary<uint, MusicDetail> musicDetails,uint songId);
|
2023-09-09 14:58:20 +02:00
|
|
|
|
|
2024-06-05 17:42:45 +02:00
|
|
|
|
public ImmutableDictionary<uint, DanData> GetDanMap();
|
2023-09-09 14:58:20 +02:00
|
|
|
|
|
2024-05-25 19:12:30 +02:00
|
|
|
|
public int GetMusicStarLevel(Dictionary<uint, MusicDetail> musicDetails, uint songId, Difficulty difficulty);
|
|
|
|
|
|
2024-10-25 15:51:42 +02:00
|
|
|
|
public string GetHeadTitle(IEnumerable<Costume> costumes, uint index, string? language = "ja");
|
|
|
|
|
public string GetKigurumiTitle(IEnumerable<Costume> costumes, uint index, string? language = "ja");
|
|
|
|
|
public string GetBodyTitle(IEnumerable<Costume> costumes, uint index, string? language = "ja");
|
|
|
|
|
public string GetFaceTitle(IEnumerable<Costume> costumes, uint index, string? language = "ja");
|
|
|
|
|
public string GetPuchiTitle(IEnumerable<Costume> costumes, uint index, string? language = "ja");
|
2023-09-09 14:58:20 +02:00
|
|
|
|
}
|