summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Toolkit.CoreInterfaces/IManifestDependency.cs
blob: e86cd1f416bed9621ef79bc7c35796bcae3373a5 (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; }
    }
}