summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/Models/ManifestDependency.cs
blob: 2f580c1dc9f11e3979b4183d15cedc5c32cf26a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace StardewModdingAPI.Framework.Models
{
    /// <summary>A mod dependency listed in a mod manifest.</summary>
    internal class ManifestDependency : IManifestDependency
    {
        /*********
        ** Accessors
        *********/
        /// <summary>The unique mod ID to require.</summary>
        public string UniqueID { get; set; }


        /*********
        ** Public methods
        *********/
        /// <summary>Construct an instance.</summary>
        /// <param name="uniqueID">The unique mod ID to require.</param>
        public ManifestDependency(string uniqueID)
        {
            this.UniqueID = uniqueID;
        }
    }
}