2020-08-12 04:25:12 +00:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Wabbajack.Common;
|
|
|
|
|
using Wabbajack.Lib.Downloaders;
|
|
|
|
|
|
|
|
|
|
namespace Wabbajack.Lib.NexusApi
|
|
|
|
|
{
|
|
|
|
|
public interface INexusApi
|
|
|
|
|
{
|
|
|
|
|
public Task<string> GetNexusDownloadLink(NexusDownloader.State archive);
|
|
|
|
|
public Task<NexusApiClient.GetModFilesResponse> GetModFiles(Game game, long modid, bool useCache = true);
|
|
|
|
|
public Task<ModInfo> GetModInfo(Game game, long modId, bool useCache = true);
|
|
|
|
|
|
|
|
|
|
public Task<UserStatus> GetUserStatus();
|
|
|
|
|
public Task<bool> IsPremium();
|
|
|
|
|
public bool IsAuthenticated { get; }
|
2020-11-05 21:30:00 +00:00
|
|
|
|
|
|
|
|
|
public int RemainingAPICalls { get; }
|
2020-08-12 04:25:12 +00:00
|
|
|
|
}
|
|
|
|
|
}
|