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