SMAPI/StardewModdingAPI/Events/Mine.cs

15 lines
446 B
C#
Raw Normal View History

2016-03-27 06:27:07 +08:00
using System;
namespace StardewModdingAPI.Events
{
public static class MineEvents
{
public static event EventHandler<EventArgsMineLevelChanged> MineLevelChanged = delegate { };
2016-03-27 06:27:07 +08:00
public static void InvokeMineLevelChanged(int previousMinelevel, int currentMineLevel)
2016-03-27 06:27:07 +08:00
{
MineLevelChanged.Invoke(null, new EventArgsMineLevelChanged(previousMinelevel, currentMineLevel));
2016-03-27 06:27:07 +08:00
}
}
}