mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-10 05:07:27 +08:00
[+] Skip "Discovered new area"
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
|
using Process;
|
||||||
using Process.Information;
|
using Process.Information;
|
||||||
|
|
||||||
namespace AquaMai.UX
|
namespace AquaMai.UX
|
||||||
@@ -7,9 +9,16 @@ namespace AquaMai.UX
|
|||||||
{
|
{
|
||||||
[HarmonyPostfix]
|
[HarmonyPostfix]
|
||||||
[HarmonyPatch(typeof(InformationProcess), "OnStart")]
|
[HarmonyPatch(typeof(InformationProcess), "OnStart")]
|
||||||
public static void InformationProcessPreStart(ref uint ____state)
|
public static void InformationProcessPostStart(ref uint ____state)
|
||||||
{
|
{
|
||||||
____state = 3;
|
____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>() };
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user