namespace StardewModdingAPI.Framework.Events { /// An internal base class for event API classes. internal abstract class ModEventsBase { /********* ** Properties *********/ /// The underlying event manager. protected readonly EventManager EventManager; /// The mod which uses this instance. protected readonly IModMetadata Mod; /********* ** Public methods *********/ /// Construct an instance. /// The mod which uses this instance. /// The underlying event manager. internal ModEventsBase(IModMetadata mod, EventManager eventManager) { this.Mod = mod; this.EventManager = eventManager; } } }