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-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
|
|
|
|
|
2023-10-15 16:27:07 +02:00
|
|
|
|
public List<int> GetCostumeFlagArraySizes();
|
2023-09-09 14:58:20 +02:00
|
|
|
|
|
|
|
|
|
public ImmutableHashSet<Title> GetTitles();
|
|
|
|
|
}
|