internal static void InvokeOnBeforeSave() { EventCommon.SafeInvoke(OnBeforeSave, null); }
internal static void InvokeShowEndOfNightMenus() { EventCommon.SafeInvoke(OnShowEndOfNightMenus, null); }
internal static void InvokeOnModError(Assembly erroredAssembly, Exception ex) { EventCommon.SafeInvoke(OnModError, null, new EventArgsOnModError(erroredAssembly, ex)); }
internal static void InvokeAfterBundleConstructed([ThisBind] object @this) { EventCommon.SafeInvoke(OnAfterBundleConstructed, @this); }
internal static void InvokeMenuChanged(IClickableMenu priorMenu, IClickableMenu newMenu) { EventCommon.SafeInvoke(OnMenuChanged, null, new EventArgsOnMenuChanged(priorMenu, newMenu)); }
internal static void InvokePostGetDwarfShopStock() { EventCommon.SafeInvoke(OnPostGetDwarfShopStock, null, new EventArgsOnGetDwarfShopStock()); }
internal static void InvokeAfterGameLoaded( [InputBind(typeof(bool), "loadedGame")] bool loadedGame) { EventCommon.SafeInvoke(OnAfterGameLoaded, null, new EventArgsOnAfterGameLoaded(loadedGame)); }
internal static void InvokeAfterUnloadedContent([ThisBind] object @this) { EventCommon.SafeInvoke(OnAfterUnloadedContent, @this); }
// Invoked by property watcher internal static void InvokeOnHalfSecondTick() { EventCommon.SafeInvoke(OnHalfSecondTick, null); }
internal static void InvokeAfterGameInitialise([ThisBind] object @this) { EventCommon.SafeInvoke(OnAfterGameInitialised, @this, new EventArgsOnGameInitialised()); }
internal static void InvokeBeforeUnloadContent([ThisBind] object @this) { EventCommon.SafeInvoke(OnBeforeUnloadContent, @this); }
internal static void InvokeAfterSeasonChanged() { EventCommon.SafeInvoke(OnAfterSeasonChanged, null); }
internal static void InvokeBeforeSeasonChanged() { EventCommon.SafeInvoke(OnBeforeSeasonChanged, null); }
internal static void InvokeAfterTimeChanged() { var oldTime = Game1.timeOfDay - 10; EventCommon.SafeInvoke(OnAfterTimeChanged, null, new EventArgsIntChanged(oldTime, Game1.timeOfDay)); }
// Triggered by PropertyWatcher internal static void InvokeOnAfterLoadProgress(int current) { EventCommon.SafeInvoke(OnAfterLoadProgress, null, new EventArgsOnProgress(current)); }
internal static void InvokeAfterUpdate([ThisBind] object @this) { TimeEvents.DidShouldTimePassCheckThisFrame = false; EventCommon.SafeInvoke(OnAfterUpdateTick, @this); }
// Triggered by PropertyWatcher internal static void InvokeOnAfterSave() { EventCommon.SafeInvoke(OnAfterSave, null, new EventArgsOnAfterSave()); }
internal static void OnAfterOpenedMail([ThisBind] object @this, [InputBind(typeof(string), "text")] string text) { EventCommon.SafeInvoke(AfterOpenedLetter, @this, new EventArgsOpenedLetter(text)); }