[+] Unlock Utage

This commit is contained in:
Clansty
2024-06-19 20:55:31 +08:00
parent d686c48a0b
commit 0f701ad2d3
4 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using HarmonyLib;
using MAI2System;
using Manager;
namespace AquaMai.Cheat
{
public class UnlockUtage
{
[HarmonyPrefix]
[HarmonyPatch(typeof(GameManager), "CanUnlockUtageTotalJudgement")]
public static bool CanUnlockUtageTotalJudgement(out ConstParameter.ResultOfUnlockUtageJudgement result1P, out ConstParameter.ResultOfUnlockUtageJudgement result2P)
{
result1P = ConstParameter.ResultOfUnlockUtageJudgement.Unlocked;
result2P = ConstParameter.ResultOfUnlockUtageJudgement.Unlocked;
return false;
}
}
}