summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Events/EventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'StardewModdingAPI/Events/EventArgs.cs')
-rw-r--r--StardewModdingAPI/Events/EventArgs.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/StardewModdingAPI/Events/EventArgs.cs b/StardewModdingAPI/Events/EventArgs.cs
index 91151e86..d057796a 100644
--- a/StardewModdingAPI/Events/EventArgs.cs
+++ b/StardewModdingAPI/Events/EventArgs.cs
@@ -236,6 +236,19 @@ namespace StardewModdingAPI.Events
public bool LoadedGame { get; private set; }
}
+ public class EventArgsNewDay : EventArgs
+ {
+ public EventArgsNewDay(int prevDay, int curDay, bool newDay)
+ {
+ PreviousDay = prevDay;
+ CurrentDay = curDay;
+ IsNewDay = newDay;
+ }
+
+ public int PreviousDay { get; private set; }
+ public int CurrentDay { get; private set; }
+ public bool IsNewDay { get; private set; }
+ }
public class EventArgsCommand : EventArgs
{