コード例 #1
0
 public static void QuitGame_Postfix(bool quitToDesktop)
 {
     if (GameModeUtils.IsPermadeath())
     {
         KnownTechFixer.SaveAddedNotifications();
         ConstructableFixer.SaveLadderDirections();
     }
 }
コード例 #2
0
 public static bool Load_Prefix(MainMenuLoadButton __instance)
 {
     // Load added notifications if needed.
     if (!__instance.IsEmpty())
     {
         KnownTechFixer.LoadAddedNotifications(__instance.saveGame);
     }
     // Give back execution to original function.
     return(true);
 }
コード例 #3
0
 public static void SaveGame_Postfix()
 {
     KnownTechFixer.SaveAddedNotifications();
 }
コード例 #4
0
 public static void SaveGame_Postfix()
 {
     KnownTechFixer.SaveAddedNotifications();
     ConstructableFixer.SaveLadderDirections();
 }