summaryrefslogtreecommitdiff
path: root/src/SMAPI.Toolkit.CoreInterfaces/IManifestDependency.cs
blob: 58425eb2c2807b6c01a3ec9e0b4218bb2828f43a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace StardewModdingAPI
{
    /// <summary>A mod dependency listed in a mod manifest.</summary>
    public interface IManifestDependency
    {
        /*********
        ** Accessors
        *********/
        /// <summary>The unique mod ID to require.</summary>
        string UniqueID { get; }

        /// <summary>The minimum required version (if any).</summary>
        ISemanticVersion? MinimumVersion { get; }

        /// <summary>Whether the dependency must be installed to use the mod.</summary>
        bool IsRequired { get; }
    }
}