summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/RequestExitDelegate.cs
blob: 12d0ea0c1ad23a694768605a07cca6c3c62ee746 (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);
}