forked from Pathoschild/SMAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModEventsBase.cs
More file actions
28 lines (25 loc) · 897 Bytes
/
ModEventsBase.cs
File metadata and controls
28 lines (25 loc) · 897 Bytes
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
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;
}
}
}