summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/IManifestDependency.cs
blob: 1fa6c812585f68e26c985d5da68c84141babae29 (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_1_x
        /// <summary>Whether the dependency must be installed to use the mod.</summary>
        bool IsRequired { get; }
#endif
    }
}