2023-09-09 14:58:20 +02:00
|
|
|
|
using System.Collections.Immutable;
|
|
|
|
|
using TaikoWebUI.Shared.Models;
|
|
|
|
|
|
|
|
|
|
namespace TaikoWebUI.Services;
|
|
|
|
|
|
|
|
|
|
public interface IGameDataService
|
|
|
|
|
{
|
|
|
|
|
public Task InitializeAsync(string dataBaseUrl);
|
2024-03-09 00:42:56 +01:00
|
|
|
|
|
2024-03-14 03:30:15 +01:00
|
|
|
|
public List<MusicDetail> GetMusicList();
|
2024-03-14 03:27:55 +01:00
|
|
|
|
|
2024-03-08 21:11:54 +01:00
|
|
|
|
public string GetMusicNameBySongId(uint songId, string? language = null);
|
2023-09-09 14:58:20 +02:00
|
|
|
|
|
2024-03-08 21:11:54 +01:00
|
|
|
|
public string GetMusicArtistBySongId(uint songId, string? language = null);
|
2023-09-09 14:58:20 +02:00
|
|
|
|
|
|
|
|
|
public SongGenre GetMusicGenreBySongId(uint songId);
|
|
|
|
|
|
|
|
|
|
public int GetMusicIndexBySongId(uint songId);
|
|
|
|
|
|
|
|
|
|
public DanData GetDanDataById(uint danId);
|
|
|
|
|
|
|
|
|
|
public int GetMusicStarLevel(uint songId, Difficulty difficulty);
|
|
|
|
|
|
|
|
|
|
public string GetHeadTitle(uint index);
|
|
|
|
|
public string GetKigurumiTitle(uint index);
|
|
|
|
|
public string GetBodyTitle(uint index);
|
|
|
|
|
public string GetFaceTitle(uint index);
|
|
|
|
|
public string GetPuchiTitle(uint index);
|
2024-03-09 00:42:56 +01:00
|
|
|
|
|
2024-05-01 17:13:47 +02:00
|
|
|
|
public List<uint> GetKigurumiUniqueIdList();
|
|
|
|
|
public List<uint> GetHeadUniqueIdList();
|
|
|
|
|
public List<uint> GetBodyUniqueIdList();
|
|
|
|
|
public List<uint> GetFaceUniqueIdList();
|
|
|
|
|
public List<uint> GetPuchiUniqueIdList();
|
|
|
|
|
public List<uint> GetTitleUniqueIdList();
|
|
|
|
|
public List<uint> GetTitlePlateIdList();
|
|
|
|
|
|
|
|
|
|
public List<uint> GetLockedKigurumiUniqueIdList();
|
|
|
|
|
public List<uint> GetLockedHeadUniqueIdList();
|
|
|
|
|
public List<uint> GetLockedBodyUniqueIdList();
|
|
|
|
|
public List<uint> GetLockedFaceUniqueIdList();
|
|
|
|
|
public List<uint> GetLockedPuchiUniqueIdList();
|
|
|
|
|
public List<uint> GetLockedTitleUniqueIdList();
|
|
|
|
|
public List<uint> GetLockedTitlePlateIdList();
|
2023-09-09 14:58:20 +02:00
|
|
|
|
|
|
|
|
|
public ImmutableHashSet<Title> GetTitles();
|
|
|
|
|
}
|