Files
WotBlitzStatisticsBlazor/WotBlitzStatisticsPro.Blazor/Services/IGraphQlBackendService.cs
T

21 lines
634 B
C#
Raw Normal View History

using System.Collections.Generic;
using System.Threading.Tasks;
using WotBlitzStatisticsPro.Blazor.GraphQl;
namespace WotBlitzStatisticsPro.Blazor.Services
{
public interface IGraphQlBackendService
{
2021-06-04 15:35:53 +02:00
Task<IReadOnlyList<IPlayerShortInfo>?> FindPlayers(
string accountNick,
2021-05-15 19:47:48 +02:00
RealmType realmType);
2021-06-04 15:35:53 +02:00
Task<IReadOnlyList<IClanShortInfo>?> FindClans(
string clanNameOrTag,
2021-05-15 19:47:48 +02:00
RealmType realmType);
2021-05-28 15:27:36 +02:00
2021-06-04 15:35:53 +02:00
Task<(IAccount accountInfo, IReadOnlyList<ISection> achievementsBySection)> GetPlayerInfo(
2021-05-28 15:27:36 +02:00
long accountId,
RealmType realmType);
}
}