Note that no MarketSimulation events are raised during the initial simulation to avoid race conditions.
+
Note that no MarketSimulation events are raised during the initial market simulation to avoid race conditions.
{|class="wikitable"
{|class="wikitable"
|GameSettings.IsDoneLoadingGame
|GameSettings.IsDoneLoadingGame
−
|Raised when a new game has finished loading. Beware that this can be raised before the simulation is done.
+
|Raised when a new game has finished loading. Beware that this can be raised before the initial market simulation is done.
|-
|-
|GameSettings.OnQuit
|GameSettings.OnQuit
Line 84:
Line 84:
|-
|-
|TimeOfDay.OnDayPassed
|TimeOfDay.OnDayPassed
−
|When a day has passed, after everything has updated (market simulation, etc.).
+
|When a day has passed, after everything has updated (market simulation, etc.). This is called right before OnMonthPassed when a month passes, so it is basically the same as OnMonthPassed with 1 days per month, except it happens before bills are processed.