diff options
author | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-27 03:52:43 -0400 |
---|---|---|
committer | Zoryn Aaron <zoryn4163@gmail.com> | 2016-03-27 03:52:43 -0400 |
commit | 863b6cb0448f1dfdca69e14e018c4820f3075b81 (patch) | |
tree | dfb682f9e34fd46d439adc6b1661830606b53700 /StardewModdingAPI/Events | |
parent | d127436533fba5168a89501f5b442b6575ed3723 (diff) | |
download | SMAPI-863b6cb0448f1dfdca69e14e018c4820f3075b81.tar.gz SMAPI-863b6cb0448f1dfdca69e14e018c4820f3075b81.tar.bz2 SMAPI-863b6cb0448f1dfdca69e14e018c4820f3075b81.zip |
holy fucking shit fuck my life
Diffstat (limited to 'StardewModdingAPI/Events')
-rw-r--r-- | StardewModdingAPI/Events/Time.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/StardewModdingAPI/Events/Time.cs b/StardewModdingAPI/Events/Time.cs index 56b23dc3..339cd560 100644 --- a/StardewModdingAPI/Events/Time.cs +++ b/StardewModdingAPI/Events/Time.cs @@ -8,6 +8,7 @@ namespace StardewModdingAPI.Events public static event EventHandler<EventArgsIntChanged> DayOfMonthChanged = delegate { };
public static event EventHandler<EventArgsIntChanged> YearOfGameChanged = delegate { };
public static event EventHandler<EventArgsStringChanged> SeasonOfYearChanged = delegate { };
+ public static event EventHandler OnNewDay = delegate { };
public static void InvokeTimeOfDayChanged(int priorInt, int newInt)
{
@@ -28,5 +29,10 @@ namespace StardewModdingAPI.Events {
SeasonOfYearChanged.Invoke(null, new EventArgsStringChanged(priorString, newString));
}
+
+ public static void InvokeOnNewDay(int priorInt, int newInt)
+ {
+ OnNewDay.Invoke(null, new EventArgsIntChanged(priorInt, newInt));
+ }
}
}
\ No newline at end of file |