summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/RequestExitDelegate.cs
blob: 810c399b346af51fc4734e328a8d0973bd1d7308 (plain)
1
2
3
4
5
6
7
namespace StardewModdingAPI.Framework
{
    /// <summary>A delegate which requests that SMAPI immediately exit the game. This should only be invoked when an irrecoverable fatal error happens that risks save corruption or game-breaking bugs.</summary>
    /// <param name="module">The module which requested an immediate exit.</param>
    /// <param name="reason">The reason provided for the shutdown.</param>
    internal delegate void RequestExitDelegate(string module, string reason);
}