Пример #1
0
 internal static void InvokeOnBeforeSave()
 {
     EventCommon.SafeInvoke(OnBeforeSave, null);
 }
Пример #2
0
 internal static void InvokeShowEndOfNightMenus()
 {
     EventCommon.SafeInvoke(OnShowEndOfNightMenus, null);
 }
Пример #3
0
 internal static void InvokeOnModError(Assembly erroredAssembly, Exception ex)
 {
     EventCommon.SafeInvoke(OnModError, null, new EventArgsOnModError(erroredAssembly, ex));
 }
Пример #4
0
 internal static void InvokeAfterBundleConstructed([ThisBind] object @this)
 {
     EventCommon.SafeInvoke(OnAfterBundleConstructed, @this);
 }
Пример #5
0
 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());
 }
Пример #7
0
 internal static void InvokeAfterGameLoaded(
     [InputBind(typeof(bool), "loadedGame")] bool loadedGame)
 {
     EventCommon.SafeInvoke(OnAfterGameLoaded, null, new EventArgsOnAfterGameLoaded(loadedGame));
 }
Пример #8
0
 internal static void InvokeAfterUnloadedContent([ThisBind] object @this)
 {
     EventCommon.SafeInvoke(OnAfterUnloadedContent, @this);
 }
Пример #9
0
 // Invoked by property watcher
 internal static void InvokeOnHalfSecondTick()
 {
     EventCommon.SafeInvoke(OnHalfSecondTick, null);
 }
Пример #10
0
 internal static void InvokeAfterGameInitialise([ThisBind] object @this)
 {
     EventCommon.SafeInvoke(OnAfterGameInitialised, @this, new EventArgsOnGameInitialised());
 }
Пример #11
0
 internal static void InvokeBeforeUnloadContent([ThisBind] object @this)
 {
     EventCommon.SafeInvoke(OnBeforeUnloadContent, @this);
 }
Пример #12
0
 internal static void InvokeAfterSeasonChanged()
 {
     EventCommon.SafeInvoke(OnAfterSeasonChanged, null);
 }
Пример #13
0
 internal static void InvokeBeforeSeasonChanged()
 {
     EventCommon.SafeInvoke(OnBeforeSeasonChanged, null);
 }
Пример #14
0
        internal static void InvokeAfterTimeChanged()
        {
            var oldTime = Game1.timeOfDay - 10;

            EventCommon.SafeInvoke(OnAfterTimeChanged, null, new EventArgsIntChanged(oldTime, Game1.timeOfDay));
        }
Пример #15
0
 // Triggered by PropertyWatcher
 internal static void InvokeOnAfterLoadProgress(int current)
 {
     EventCommon.SafeInvoke(OnAfterLoadProgress, null, new EventArgsOnProgress(current));
 }
Пример #16
0
 internal static void InvokeAfterUpdate([ThisBind] object @this)
 {
     TimeEvents.DidShouldTimePassCheckThisFrame = false;
     EventCommon.SafeInvoke(OnAfterUpdateTick, @this);
 }
Пример #17
0
 // Triggered by PropertyWatcher
 internal static void InvokeOnAfterSave()
 {
     EventCommon.SafeInvoke(OnAfterSave, null, new EventArgsOnAfterSave());
 }
Пример #18
0
 internal static void OnAfterOpenedMail([ThisBind] object @this, [InputBind(typeof(string), "text")] string text)
 {
     EventCommon.SafeInvoke(AfterOpenedLetter, @this, new EventArgsOpenedLetter(text));
 }