namespace StardewModdingAPI.Framework.ModHelpers
{
/// The common base class for mod helpers.
internal abstract class BaseHelper : IModLinked
{
/*********
** Fields
*********/
/// The mod using this instance.
protected readonly IModMetadata Mod;
/*********
** Accessors
*********/
///
public string ModID => this.Mod.Manifest.UniqueID;
/*********
** Protected methods
*********/
/// Construct an instance.
/// The mod using this instance.
protected BaseHelper(IModMetadata mod)
{
this.Mod = mod;
}
}
}