blob: 33277711d99e5e6a71adcfe74106961e1de7a8ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
using System.Threading.Tasks;
using StardewModdingAPI.Toolkit.Framework.UpdateData;
namespace StardewModdingAPI.Web.Framework.Clients
{
/// <summary>A client for fetching update check info from a mod site.</summary>
internal interface IModSiteClient
{
/*********
** Accessors
*********/
/// <summary>The unique key for the mod site.</summary>
public ModSiteKey SiteKey { get; }
/*********
** Methods
*********/
/// <summary>Get update check info about a mod.</summary>
/// <param name="id">The mod ID.</param>
Task<IModPage> GetModData(string id);
}
}
|