mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-14 10:47:27 +08:00
[+] Show tip when saving is done
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using HarmonyLib;
|
||||
using Main;
|
||||
using Process;
|
||||
|
||||
namespace AquaMai.Helpers;
|
||||
@@ -6,6 +7,7 @@ namespace AquaMai.Helpers;
|
||||
public class SharedInstances
|
||||
{
|
||||
public static ProcessDataContainer ProcessDataContainer { get; private set; }
|
||||
public static GameMainObject GameMainObject { get; private set; }
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(ProcessDataContainer), MethodType.Constructor)]
|
||||
@@ -13,4 +15,11 @@ public class SharedInstances
|
||||
{
|
||||
ProcessDataContainer = __instance;
|
||||
}
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(GameMainObject), "Awake")]
|
||||
public static void OnCreateGameMainObject(GameMainObject __instance)
|
||||
{
|
||||
GameMainObject = __instance;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user