summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/IManifestDependency.cs
blob: 027c1d59dd117c341cbdcbc725bdf5860f26096f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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; }

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