summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/ModOverrideConfig.cs
blob: f382d7b5d354f25842f9a63725d6f8bbc89ec836 (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; }

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