-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathToolkitMod.cs
32 lines (28 loc) · 1.04 KB
/
ToolkitMod.cs
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
31
32
using FelixDev.StardewMods.FeTK.Framework.Services;
using StardewModdingAPI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FelixDev.StardewMods.FeTK
{
/// <summary>The mod entry point.</summary>
internal class ToolkitMod : Mod
{
/// <summary>Provides access to the simplified APIs for writing mods provided by SMAPI.</summary>
public static IModHelper ModHelper { get; private set; }
/// <summary>Provides access to the <see cref="IMonitor"/> API provided by SMAPI.</summary>
public static IMonitor _Monitor { get; private set; }
/// <summary>
/// The mod entry point, called after the mod is first loaded.
/// </summary>
/// <param name="helper">Provides simplified APIs for writing mods.</param>
public override void Entry(IModHelper helper)
{
ModHelper = helper;
_Monitor = this.Monitor;
ServiceFactory.Setup(new MailManager());
}
}
}