blob: 295caa0dad8431f73c856103abe8cb3d88d72401 (
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
26
27
28
29
30
|
#nullable disable
namespace StardewModdingAPI.Framework.Events
{
/// <summary>An internal base class for event API classes.</summary>
internal abstract class ModEventsBase
{
/*********
** Fields
*********/
/// <summary>The underlying event manager.</summary>
protected readonly EventManager EventManager;
/// <summary>The mod which uses this instance.</summary>
protected readonly IModMetadata Mod;
/*********
** Public methods
*********/
/// <summary>Construct an instance.</summary>
/// <param name="mod">The mod which uses this instance.</param>
/// <param name="eventManager">The underlying event manager.</param>
internal ModEventsBase(IModMetadata mod, EventManager eventManager)
{
this.Mod = mod;
this.EventManager = eventManager;
}
}
}
|