Files

44 lines
1.5 KiB
C#
Raw Permalink Normal View History

2020-05-31 15:43:39 +02:00
using System.Collections.Generic;
using System.Threading.Tasks;
using WotBlitzStatisticsPro.Common.Dictionaries;
2020-09-30 19:30:36 +02:00
using WotBlitzStatisticsPro.Common.Model;
2021-03-23 13:44:03 +01:00
using WotBlitzStatisticsPro.DataAccess.Model;
2020-05-31 15:43:39 +02:00
namespace WotBlitzStatisticsPro.DataAccess
{
public interface IDictionariesDataAccessor
{
2020-06-24 12:19:03 +02:00
Task UpdateLanguages(List<ILanguageDictionary> languages);
2020-05-31 15:43:39 +02:00
2020-06-24 12:19:03 +02:00
Task UpdateNations(List<INationDictionary> nations);
2020-05-31 15:43:39 +02:00
2020-06-24 12:19:03 +02:00
Task UpdateVehicleTypes(List<IVehicleTypeDictionary> vehicleTypes);
2020-05-31 15:43:39 +02:00
2020-06-24 12:19:03 +02:00
Task UpdateClanRoles(List<IClanRoleDictionary> clanRoles);
2020-05-31 15:43:39 +02:00
2020-06-24 12:19:03 +02:00
Task UpdateAchievementsSections(List<IAchievementSectionDictionary> achievementSections);
2020-06-06 15:54:23 +02:00
2020-06-24 12:19:03 +02:00
Task UpdateAchievements(List<IAchievementDictionary> achievementDictionary);
2020-06-07 14:39:03 +02:00
2020-06-24 12:19:03 +02:00
Task UpdateVehicles(List<IVehiclesDictionary> vehiclesDictionary);
Task<List<ILanguageDictionary>> ReadLanguages();
Task<Dictionary<long, int>> GetTankTires(long[] tankIds);
2020-09-30 19:30:36 +02:00
Task<Dictionary<long, IVehiclesDictionary>> GetVehicles(long[] tankIds);
Task<Dictionary<string, string>> GetNations(RequestLanguage language);
Task<Dictionary<string, string>> GetTankTypes(RequestLanguage language);
2021-03-22 14:58:13 +01:00
Task<Dictionary<string, string>> GetClanRoles(RequestLanguage language);
2021-03-23 13:44:03 +01:00
Task<List<AchievementSectionDictionary>> GetAchievementSections();
Task<Dictionary<string, AchievementDictionary>> GetAchievements(string[] achievementIds);
2022-07-22 10:01:45 +02:00
Task<List<IVehiclesDictionary>> GetVehiclesByNation(string nationId);
2020-05-31 15:43:39 +02:00
}
}