summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/ModHelpers/BaseHelper.cs
blob: 16032da16c7fba5bd211a4b1f31e5f6d4a6cfea0 (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.ModHelpers
{
    /// <summary>The common base class for mod helpers.</summary>
    internal abstract class BaseHelper : IModLinked
    {
        /*********
        ** Accessors
        *********/
        /// <summary>The unique ID of the mod for which the helper was created.</summary>
        public string ModID { get; }


        /*********
        ** Protected methods
        *********/
        /// <summary>Construct an instance.</summary>
        /// <param name="modID">The unique ID of the relevant mod.</param>
        protected BaseHelper(string modID)
        {
            this.ModID = modID;
        }
    }
}