summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/Models/SConfig.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Framework/Models/SConfig.cs')
-rw-r--r--src/StardewModdingAPI/Framework/Models/SConfig.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Framework/Models/SConfig.cs b/src/StardewModdingAPI/Framework/Models/SConfig.cs
new file mode 100644
index 00000000..b2ca4113
--- /dev/null
+++ b/src/StardewModdingAPI/Framework/Models/SConfig.cs
@@ -0,0 +1,24 @@
+namespace StardewModdingAPI.Framework.Models
+{
+ /// <summary>The SMAPI configuration settings.</summary>
+ internal class SConfig
+ {
+ /********
+ ** Accessors
+ ********/
+ /// <summary>Whether to enable development features.</summary>
+ public bool DeveloperMode { get; set; }
+
+ /// <summary>Whether to check if a newer version of SMAPI is available on startup.</summary>
+ public bool CheckForUpdates { get; set; } = true;
+
+ /// <summary>Whether SMAPI should log more information about the game context.</summary>
+ public bool VerboseLogging { get; set; } = false;
+
+ /// <summary>A list of mod versions which should be considered compatible or incompatible regardless of whether SMAPI detects incompatible code.</summary>
+ public ModCompatibility[] ModCompatibility { get; set; }
+
+ /// <summary>A list of mods which should be considered obsolete and not loaded.</summary>
+ public DisabledMod[] DisabledMods { get; set; }
+ }
+}