summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-01 18:16:09 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-01 18:16:09 -0400
commitc8ad50dad1d706a1901798f9396f6becfea36c0e (patch)
tree28bd818a5db39ec5ece1bd141a28de955950463b /src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs
parent451b70953ff4c0b1b27ae0de203ad99379b45b2a (diff)
parentf78093bdb58d477b400cde3f19b70ffd6ddf833d (diff)
downloadSMAPI-c8ad50dad1d706a1901798f9396f6becfea36c0e.tar.gz
SMAPI-c8ad50dad1d706a1901798f9396f6becfea36c0e.tar.bz2
SMAPI-c8ad50dad1d706a1901798f9396f6becfea36c0e.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs')
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs
index d69fabb3..a95e0048 100644
--- a/src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs
+++ b/src/SMAPI.Web/Framework/ConfigModels/SmapiInfoConfig.cs
@@ -1,15 +1,17 @@
+using System;
+
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; }
+ public string ID { get; set; } = null!;
/// <summary>The default update key used for SMAPI update checks.</summary>
- public string DefaultUpdateKey { get; set; }
+ public string DefaultUpdateKey { get; set; } = null!;
/// <summary>The update keys to add for SMAPI update checks when the player has a beta version installed.</summary>
- public string[] AddBetaUpdateKeys { get; set; }
+ public string[] AddBetaUpdateKeys { get; set; } = Array.Empty<string>();
}
}