Patch_GameScript_SelectPage.cs 406 B

123456789101112131415161718
  1. using GadgetCore.API;
  2. using HarmonyLib;
  3. namespace StorageExpansion.Patches
  4. {
  5. [HarmonyPatch(typeof(GameScript))]
  6. [HarmonyPatch("SelectPage")]
  7. [HarmonyGadget("StorageExpansion")]
  8. public static class Patch_GameScript_SelectPage
  9. {
  10. [HarmonyPrefix]
  11. public static bool Prefix(GameScript __instance, int a, int ___storageLevel, ref int ___curStoragePage)
  12. {
  13. return true;
  14. }
  15. }
  16. }