summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/Models/SConfig.cs
blob: b2ca41136ffe02176a10f8ad44c1adc7ce8e79bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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; }
    }
}