XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEWarframe

【WinUI】基于Warframe游戏本体的公开服务器以及安装器

公开
关注 0 Fork 0 Star 0
UTF-8
using XFEExtension.NetCore.WinUIHelper.Interface.Services;
using XFEWarframe.Client;
using XFEWarframe.Player.Models;

namespace XFEWarframe.Player.Interface.Services;

public interface IPlayerAccountService : IGlobalService
{
    PlayerAccountState State { get; }
    Task InitializeAsync();
    Task LoginAsync(string email, string password);
    Task SetRememberAccountAsync(bool remember);
    Task<XFEWarframe.Client.Runtime.GameLoginRequest> GameLoginAsync(CancellationToken cancellation = default);
    Task RegisterAsync(string email, string password, string displayName);
    Task RefreshAsync();
    Task<PlayerInventory> InventoryAsync(string query, string category, int skip);
    Task GrantAsync(string currency, long amount);
    Task<PlayerCatalog> CatalogAsync(string query, string category, int skip);
    Task GrantItemAsync(string type, int count);
    Task<Newtonsoft.Json.Linq.JObject> ReadEditorAsync(string category, string query, string? item, int skip);
    Task<Newtonsoft.Json.Linq.JObject> SaveEditorAsync(Newtonsoft.Json.Linq.JObject body);
    Task<PlayerEditorRevision> EditorRevisionAsync();
    Task<Newtonsoft.Json.Linq.JObject> ExportArchiveAsync();
    Task<Newtonsoft.Json.Linq.JObject> ImportArchiveAsync(string version, Newtonsoft.Json.Linq.JObject inventory);
    Task<Newtonsoft.Json.Linq.JObject> RivenCatalogAsync(string? family);
    Task<Newtonsoft.Json.Linq.JObject> CalculateRivenAsync(Newtonsoft.Json.Linq.JObject body);
    Task LogoutAsync();
    Task EditIdentityAsync(string action, string password, string value);
    void Stop();
}