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