2022-09-15 17:47:46 +08:00
|
|
|
|
using System.Collections.Immutable;
|
|
|
|
|
using TaikoWebUI.Shared.Models;
|
|
|
|
|
|
|
|
|
|
namespace TaikoWebUI.Services;
|
2022-09-09 20:31:45 +08:00
|
|
|
|
|
|
|
|
|
public interface IGameDataService
|
|
|
|
|
{
|
|
|
|
|
public Task InitializeAsync(string dataBaseUrl);
|
|
|
|
|
|
|
|
|
|
public string GetMusicNameBySongId(uint songId);
|
|
|
|
|
|
|
|
|
|
public string GetMusicArtistBySongId(uint songId);
|
2022-09-10 23:45:18 +08:00
|
|
|
|
|
|
|
|
|
public SongGenre GetMusicGenreBySongId(uint songId);
|
|
|
|
|
|
|
|
|
|
public int GetMusicIndexBySongId(uint songId);
|
2022-09-12 00:28:12 +08:00
|
|
|
|
|
|
|
|
|
public DanData GetDanDataById(uint danId);
|
2022-09-12 22:17:15 +08:00
|
|
|
|
|
|
|
|
|
public int GetMusicStarLevel(uint songId, Difficulty difficulty);
|
2022-09-15 13:18:50 +08:00
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
2022-09-15 17:47:46 +08:00
|
|
|
|
public ImmutableHashSet<Title> GetTitles();
|
2022-09-09 20:31:45 +08:00
|
|
|
|
}
|