mirror of https://github.com/hykilpikonna/AquaDX
[+] Unlock Utage
parent
d686c48a0b
commit
0f701ad2d3
|
@ -268,6 +268,7 @@
|
|||
<ItemGroup>
|
||||
<Compile Include="Cheat\MapUnlock.cs" />
|
||||
<Compile Include="Cheat\TicketUnlock.cs" />
|
||||
<Compile Include="Cheat\UnlockUtage.cs" />
|
||||
<Compile Include="Config.cs" />
|
||||
<Compile Include="Fix\FixCharaCrash.cs" />
|
||||
<Compile Include="Performance\ImproveLoadSpeed.cs" />
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
TicketUnlock=true
|
||||
# Unlock maps that are not in this version
|
||||
MapUnlock=true
|
||||
# Unlock Utage without the need of DXRating 10000
|
||||
UnlockUtage=true
|
||||
|
||||
# ===================================
|
||||
# UX: User Experience Improvements
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -13,6 +13,7 @@ namespace AquaMai
|
|||
{
|
||||
public bool TicketUnlock { get; set; }
|
||||
public bool MapUnlock { get; set; }
|
||||
public bool UnlockUtage { get; set; }
|
||||
}
|
||||
|
||||
public class UXConfig
|
||||
|
|
Loading…
Reference in New Issue