summaryrefslogtreecommitdiff
path: root/src/SMAPI.Toolkit.CoreInterfaces/IManifestDependency.cs
blob: 49b7aed63330476fba33cf58ba0869dbe21a3c27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#nullable disable

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