summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Events')
-rw-r--r--src/SMAPI/Events/DayEndingEventArgs.cs7
-rw-r--r--src/SMAPI/Events/IGameLoopEvents.cs3
2 files changed, 10 insertions, 0 deletions
diff --git a/src/SMAPI/Events/DayEndingEventArgs.cs b/src/SMAPI/Events/DayEndingEventArgs.cs
new file mode 100644
index 00000000..5cb433bc
--- /dev/null
+++ b/src/SMAPI/Events/DayEndingEventArgs.cs
@@ -0,0 +1,7 @@
+using System;
+
+namespace StardewModdingAPI.Events
+{
+ /// <summary>Event arguments for an <see cref="IGameLoopEvents.DayEnding"/> event.</summary>
+ public class DayEndingEventArgs : EventArgs { }
+}
diff --git a/src/SMAPI/Events/IGameLoopEvents.cs b/src/SMAPI/Events/IGameLoopEvents.cs
index 165aa0ce..5f531ba7 100644
--- a/src/SMAPI/Events/IGameLoopEvents.cs
+++ b/src/SMAPI/Events/IGameLoopEvents.cs
@@ -31,5 +31,8 @@ namespace StardewModdingAPI.Events
/// <summary>Raised after the game begins a new day (including when the player loads a save).</summary>
event EventHandler<DayStartedEventArgs> DayStarted;
+
+ /// <summary>Raised before the game ends the current day. This happens before it starts setting up the next day and before <see cref="Saving"/>.</summary>
+ event EventHandler<DayEndingEventArgs> DayEnding;
}
}