summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModHelpers/BaseHelper.cs
blob: 1cd1a6b31d74d6f66f11dda30dfe7a209afaa94a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#nullable disable

namespace StardewModdingAPI.Framework.ModHelpers
{
    /// <summary>The common base class for mod helpers.</summary>
    internal abstract class BaseHelper : IModLinked
    {
        /*********
        ** Accessors
        *********/
        /// <inheritdoc />
        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;
        }
    }
}