summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/ModOverrideConfig.cs
blob: e46ecf2bc15379215baffce157069b079d06fdcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace StardewModdingAPI.Web.Framework.ConfigModels
{
    /// <summary>Override update-check metadata for a mod.</summary>
    internal class ModOverrideConfig
    {
        /// <summary>The unique ID from the mod's manifest.</summary>
        public string ID { get; set; } = null!;

        /// <summary>Whether to allow non-standard versions.</summary>
        public bool AllowNonStandardVersions { get; set; }

        /// <summary>The mod page URL to use regardless of which site has the update, or <c>null</c> to use the site URL.</summary>
        public string? SetUrl { get; set; }
    }
}