using StardewModdingAPI.Internal.ConsoleWriting; namespace StardewModdingAPI.Framework.Models { /// The SMAPI configuration settings. internal class SConfig { /******** ** Accessors ********/ /// Whether to enable development features. public bool DeveloperMode { get; set; } /// Whether to check for newer versions of SMAPI and mods on startup. public bool CheckForUpdates { get; set; } /// Whether to show beta versions as valid updates. public bool UseBetaChannel { get; set; } = Constants.ApiVersion.IsPrerelease(); /// SMAPI's GitHub project name, used to perform update checks. public string GitHubProjectName { get; set; } /// The base URL for SMAPI's web API, used to perform update checks. public string WebApiBaseUrl { get; set; } /// Whether SMAPI should log more information about the game context. public bool VerboseLogging { get; set; } /// The console color scheme to use. public MonitorColorScheme ColorScheme { get; set; } /// The mod IDs SMAPI should ignore when performing update checks or validating update keys. public string[] SuppressUpdateChecks { get; set; } } }