[+] Skip "Discovered new area"

This commit is contained in:
Clansty 2024-05-26 13:36:56 +08:00
parent 2ef8219f15
commit f6d55fec35

View File

@ -1,4 +1,6 @@
using System.Collections.Generic;
using HarmonyLib;
using Process;
using Process.Information;
namespace AquaMai.UX
@ -7,9 +9,16 @@ namespace AquaMai.UX
{
[HarmonyPostfix]
[HarmonyPatch(typeof(InformationProcess), "OnStart")]
public static void InformationProcessPreStart(ref uint ____state)
public static void InformationProcessPostStart(ref uint ____state)
{
____state = 3;
}
[HarmonyPostfix]
[HarmonyPatch(typeof(RegionalSelectProcess), "OnStart")]
public static void RegionalSelectProcessPreStart(ref Queue<int>[] ____discoverList)
{
____discoverList = new Queue<int>[] { new Queue<int>(), new Queue<int>() };
}
}
}