mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-14 17:07:28 +08:00
[RF] Move some settings to TimeSavingConfig
This commit is contained in:
24
AquaMai/TimeSaving/SkipEventInfo.cs
Normal file
24
AquaMai/TimeSaving/SkipEventInfo.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using HarmonyLib;
|
||||
using Process;
|
||||
using Process.Information;
|
||||
|
||||
namespace AquaMai.TimeSaving
|
||||
{
|
||||
public class SkipEventInfo
|
||||
{
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(InformationProcess), "OnStart")]
|
||||
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>() };
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user