summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Web/Framework/ConfigModels
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-09-24 01:10:17 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-09-24 01:10:17 -0400
commitd3f0c8e4d2d9ada099cba67c359c5df1d69a1257 (patch)
tree992e6bbf83bb19357f7486f902998fec53c9f214 /src/StardewModdingAPI.Web/Framework/ConfigModels
parent0863f9b7e5f165f2b1db8750b20ed35bc0c3701a (diff)
downloadSMAPI-d3f0c8e4d2d9ada099cba67c359c5df1d69a1257.tar.gz
SMAPI-d3f0c8e4d2d9ada099cba67c359c5df1d69a1257.tar.bz2
SMAPI-d3f0c8e4d2d9ada099cba67c359c5df1d69a1257.zip
add support for update checks from the Chucklefish mod site (#336)
Diffstat (limited to 'src/StardewModdingAPI.Web/Framework/ConfigModels')
-rw-r--r--src/StardewModdingAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/StardewModdingAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs b/src/StardewModdingAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs
index 5d55ba18..8ca555a3 100644
--- a/src/StardewModdingAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs
+++ b/src/StardewModdingAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs
@@ -13,12 +13,28 @@ namespace StardewModdingAPI.Web.Framework.ConfigModels
public int CacheMinutes { get; set; }
/****
+ ** Chucklefish mod site
+ ****/
+ /// <summary>The repository key for the Chucklefish mod site.</summary>
+ public string ChucklefishKey { get; set; }
+
+ /// <summary>The user agent for the Chucklefish API client, where {0} is the SMAPI version.</summary>
+ public string ChucklefishUserAgent { get; set; }
+
+ /// <summary>The base URL for the Chucklefish mod site.</summary>
+ public string ChucklefishBaseUrl { get; set; }
+
+ /// <summary>The URL for a mod page on the Chucklefish mod site excluding the <see cref="GitHubBaseUrl"/>, where {0} is the mod ID.</summary>
+ public string ChucklefishModPageUrlFormat { get; set; }
+
+
+ /****
** GitHub
****/
/// <summary>The repository key for Nexus Mods.</summary>
public string GitHubKey { get; set; }
- /// <summary>The user agent for the GitHub API client.</summary>
+ /// <summary>The user agent for the GitHub API client, where {0} is the SMAPI version.</summary>
public string GitHubUserAgent { get; set; }
/// <summary>The base URL for the GitHub API.</summary>