mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
20 lines
641 B
C#
20 lines
641 B
C#
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; }
|
|
|
|
public int RemainingAPICalls { get; }
|
|
}
|
|
}
|