summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/ModOverrideConfig.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-02-22 12:03:39 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-02-22 12:03:39 -0500
commit66079f2253a0c81bb33c1fee848a6cd2222d43d9 (patch)
treeca5fdd5f27c24f8d90665cb369e50f4580ce24fc /src/SMAPI.Web/Framework/ConfigModels/ModOverrideConfig.cs
parentc8d627cdf2ae3126584ec2500877ff19987db17f (diff)
parent585b23797e262073e0738069eff61e90819216b7 (diff)
downloadSMAPI-66079f2253a0c81bb33c1fee848a6cd2222d43d9.tar.gz
SMAPI-66079f2253a0c81bb33c1fee848a6cd2222d43d9.tar.bz2
SMAPI-66079f2253a0c81bb33c1fee848a6cd2222d43d9.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI.Web/Framework/ConfigModels/ModOverrideConfig.cs')
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/ModOverrideConfig.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/ModOverrideConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/ModOverrideConfig.cs
new file mode 100644
index 00000000..f382d7b5
--- /dev/null
+++ b/src/SMAPI.Web/Framework/ConfigModels/ModOverrideConfig.cs
@@ -0,0 +1,15 @@
+namespace StardewModdingAPI.Web.Framework.ConfigModels
+{
+ /// <summary>Override update-check metadata for a mod.</summary>
+ internal class ModOverrideConfig
+ {
+ /// <summary>The unique ID from the mod's manifest.</summary>
+ public string ID { get; set; }
+
+ /// <summary>Whether to allow non-standard versions.</summary>
+ public bool AllowNonStandardVersions { get; set; }
+
+ /// <summary>The mod page URL to use regardless of which site has the update, or <c>null</c> to use the site URL.</summary>
+ public string SetUrl { get; set; }
+ }
+}