summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Events/Time.cs
diff options
context:
space:
mode:
Diffstat (limited to 'StardewModdingAPI/Events/Time.cs')
-rw-r--r--StardewModdingAPI/Events/Time.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/StardewModdingAPI/Events/Time.cs b/StardewModdingAPI/Events/Time.cs
index 339cd560..f60fa0c4 100644
--- a/StardewModdingAPI/Events/Time.cs
+++ b/StardewModdingAPI/Events/Time.cs
@@ -8,31 +8,31 @@ 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 event EventHandler<EventArgsNewDay> OnNewDay = delegate { };
- public static void InvokeTimeOfDayChanged(int priorInt, int newInt)
+ internal static void InvokeTimeOfDayChanged(int priorInt, int newInt)
{
TimeOfDayChanged.Invoke(null, new EventArgsIntChanged(priorInt, newInt));
}
- public static void InvokeDayOfMonthChanged(int priorInt, int newInt)
+ internal static void InvokeDayOfMonthChanged(int priorInt, int newInt)
{
DayOfMonthChanged.Invoke(null, new EventArgsIntChanged(priorInt, newInt));
}
- public static void InvokeYearOfGameChanged(int priorInt, int newInt)
+ internal static void InvokeYearOfGameChanged(int priorInt, int newInt)
{
YearOfGameChanged.Invoke(null, new EventArgsIntChanged(priorInt, newInt));
}
- public static void InvokeSeasonOfYearChanged(string priorString, string newString)
+ internal static void InvokeSeasonOfYearChanged(string priorString, string newString)
{
SeasonOfYearChanged.Invoke(null, new EventArgsStringChanged(priorString, newString));
}
- public static void InvokeOnNewDay(int priorInt, int newInt)
+ internal static void InvokeOnNewDay(int priorInt, int newInt, bool newDay)
{
- OnNewDay.Invoke(null, new EventArgsIntChanged(priorInt, newInt));
+ OnNewDay.Invoke(null, new EventArgsNewDay(priorInt, newInt, newDay));
}
}
} \ No newline at end of file