diff options
Diffstat (limited to 'src/SMAPI/Framework/ExitState.cs')
-rw-r--r-- | src/SMAPI/Framework/ExitState.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/ExitState.cs b/src/SMAPI/Framework/ExitState.cs new file mode 100644 index 00000000..bc022d91 --- /dev/null +++ b/src/SMAPI/Framework/ExitState.cs @@ -0,0 +1,15 @@ +namespace StardewModdingAPI.Framework +{ + /// <summary>The SMAPI exit state.</summary> + internal enum ExitState + { + /// <summary>SMAPI didn't trigger an explicit exit.</summary> + None, + + /// <summary>The game is exiting normally.</summary> + GameExit, + + /// <summary>The game is exiting due to an error.</summary> + Crash + } +} |