mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-11 01:07:28 +08:00
formatting
This commit is contained in:
@@ -279,4 +279,4 @@
|
|||||||
<Content Include="AquaMai.toml" />
|
<Content Include="AquaMai.toml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ namespace AquaMai
|
|||||||
{
|
{
|
||||||
public UXConfig UX { get; set; }
|
public UXConfig UX { get; set; }
|
||||||
public CheatConfig Cheat { get; set; }
|
public CheatConfig Cheat { get; set; }
|
||||||
|
|
||||||
public class CheatConfig
|
public class CheatConfig
|
||||||
{
|
{
|
||||||
public bool TicketUnlock { get; set; }
|
public bool TicketUnlock { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UXConfig
|
public class UXConfig
|
||||||
{
|
{
|
||||||
public bool SkipWarningScreen { get; set; }
|
public bool SkipWarningScreen { get; set; }
|
||||||
@@ -20,4 +20,4 @@ namespace AquaMai
|
|||||||
public bool SkipToMusicSelection { get; set; }
|
public bool SkipToMusicSelection { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ namespace AquaMai
|
|||||||
if (AppConfig.Cheat.TicketUnlock)
|
if (AppConfig.Cheat.TicketUnlock)
|
||||||
Patch(typeof(TicketUnlock));
|
Patch(typeof(TicketUnlock));
|
||||||
|
|
||||||
|
|
||||||
if (AppConfig.UX.SkipToMusicSelection)
|
if (AppConfig.UX.SkipToMusicSelection)
|
||||||
{
|
{
|
||||||
Patch(typeof(SkipToMusicSelection));
|
Patch(typeof(SkipToMusicSelection));
|
||||||
|
|||||||
@@ -3,19 +3,19 @@ using Manager;
|
|||||||
using Process;
|
using Process;
|
||||||
using Process.Information;
|
using Process.Information;
|
||||||
|
|
||||||
namespace AquaMai.UX
|
namespace AquaMai.UX
|
||||||
{
|
{
|
||||||
public class SkipToMusicSelection
|
public class SkipToMusicSelection
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Highly experimental, may well break some stuff
|
* Highly experimental, may well break some stuff
|
||||||
* Works by overriding the info screen (where it shows new events and stuff)
|
* Works by overriding the info screen (where it shows new events and stuff)
|
||||||
* to directly exit to the music selection screen, skipping character and
|
* to directly exit to the music selection screen, skipping character and
|
||||||
* event selection, among others
|
* event selection, among others
|
||||||
*/
|
*/
|
||||||
[HarmonyPrefix]
|
[HarmonyPrefix]
|
||||||
[HarmonyPatch(typeof(InformationProcess), "OnUpdate")]
|
[HarmonyPatch(typeof(InformationProcess), "OnUpdate")]
|
||||||
public static bool OnUpdate(InformationProcess __instance, ProcessDataContainer ___container)
|
public static bool OnUpdate(InformationProcess __instance, ProcessDataContainer ___container)
|
||||||
{
|
{
|
||||||
GameManager.SetMaxTrack();
|
GameManager.SetMaxTrack();
|
||||||
___container.processManager.AddProcess(new MusicSelectProcess(___container), 50);
|
___container.processManager.AddProcess(new MusicSelectProcess(___container), 50);
|
||||||
|
|||||||
Reference in New Issue
Block a user