kamihama-server/KamihamaWeb/Interfaces/IMasterService.cs

24 lines
772 B
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using KamihamaWeb.Models;
namespace KamihamaWeb.Interfaces
{
public interface IMasterService
{
Guid Guid { get; }
}
public interface IMasterSingleton : IMasterService
{
public Task<bool> UpdateMasterLists();
public bool IsReady { get; set; }
public long AssetsCurrentVersion { get; set; }
public Dictionary<string, GamedataAsset> EnglishMasterAssets { get; set; }
public Dictionary<string, Dictionary<string, GamedataAsset>> GamedataAssets { get; set; }
public Dictionary<string, string> Endpoints { get; set; }
public Task<string> ProvideJson(string which);
public Task<bool> RunUpdate();
}
}