summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/ModOverrideConfig.cs
blob: 682c97e6fbf988d7bf21079297ebf56f827b6ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#nullable disable

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; }

        /// <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; }
    }
}