blob: cc4cf8d75d5af33fc376c53c1ae45f8acfeaf967 (
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
|
using StardewModdingAPI.Events;
namespace StardewModdingAPI.Framework.Events
{
/// <summary>Manages access to events raised by SMAPI.</summary>
internal class ModEvents : IModEvents
{
/*********
** Accessors
*********/
/// <summary>Events raised when something changes in the world.</summary>
public IWorldEvents World { get; }
/*********
** 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>
public ModEvents(IModMetadata mod, EventManager eventManager)
{
this.World = new ModWorldEvents(mod, eventManager);
}
}
}
|