diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-11-27 23:59:13 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-11-27 23:59:13 -0500 |
commit | 3ca6fb562417748c87567d6bb6915d56b2c1b57c (patch) | |
tree | 207953024f9d79b52af2b5b9a384a3e3bc57b556 /src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs | |
parent | b64cec918d1511b6b71c9d2e30f987e9b5cc24fd (diff) | |
download | SMAPI-3ca6fb562417748c87567d6bb6915d56b2c1b57c.tar.gz SMAPI-3ca6fb562417748c87567d6bb6915d56b2c1b57c.tar.bz2 SMAPI-3ca6fb562417748c87567d6bb6915d56b2c1b57c.zip |
automatically include beta versions on Nexus for SMAPI update checks
Diffstat (limited to 'src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs')
-rw-r--r-- | src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs new file mode 100644 index 00000000..d69fabb3 --- /dev/null +++ b/src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs @@ -0,0 +1,15 @@ +namespace StardewModdingAPI.Web.Framework.ConfigModels +{ + /// <summary>The update-check config for SMAPI's own update checks.</summary> + internal class SmapiInfoConfig + { + /// <summary>The mod ID used for SMAPI update checks.</summary> + public string ID { get; set; } + + /// <summary>The default update key used for SMAPI update checks.</summary> + public string DefaultUpdateKey { get; set; } + + /// <summary>The update keys to add for SMAPI update checks when the player has a beta version installed.</summary> + public string[] AddBetaUpdateKeys { get; set; } + } +} |