summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/RequestExitDelegate.cs
blob: 93ef1cf9e97330bcdf289634ecfa62eb002ad5b6 (plain)
1
2
3
4
5
6
7
8
9
#nullable disable

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);
}