[+] Skip track start screen

pull/55/head
Clansty 2024-09-27 19:33:37 +08:00
parent 9605264b9a
commit a2db465825
No known key found for this signature in database
GPG Key ID: 3A6BE8BAF2EDE134
5 changed files with 21 additions and 0 deletions

View File

@ -309,6 +309,7 @@
<Compile Include="TimeSaving\SkipEventInfo.cs" />
<Compile Include="TimeSaving\SkipGameOverScreen.cs" />
<Compile Include="TimeSaving\SkipToMusicSelection.cs" />
<Compile Include="TimeSaving\SkipTrackStart.cs" />
<Compile Include="TimeSaving\SkipWarningScreen.cs" />
<Compile Include="TouchSensitivity\Enable.cs" />
<Compile Include="Utils\JudgeAdjust.cs" />

View File

@ -90,6 +90,8 @@ SkipEventInfo=true
IWontTapOrSlideVigorously=true
# Skip the "Goodbye" screen at the end of the game
SkipGameOverScreen=true
# Skip TrackStart screen
SkipTrackStart=true
[TouchSensitivity]
# Enable custom sensitivity

View File

@ -107,6 +107,8 @@ SkipEventInfo=true
IWontTapOrSlideVigorously=true
# 跳过游戏结束的“再见”界面
SkipGameOverScreen=true
# 跳过乐曲开始界面
SkipTrackStart=true
[TouchSensitivity]
# 是否启用自定义灵敏度

View File

@ -68,6 +68,7 @@ namespace AquaMai
public bool SkipEventInfo { get; set; }
public bool IWontTapOrSlideVigorously { get; set; }
public bool SkipGameOverScreen { get; set; }
public bool SkipTrackStart { get; set; }
}
public class TouchSensitivityConfig

View File

@ -0,0 +1,15 @@
using HarmonyLib;
using Monitor;
namespace AquaMai.TimeSaving;
public class SkipTrackStart
{
[HarmonyPrefix]
[HarmonyPatch(typeof (TrackStartMonitor), "IsEnd")]
public static bool IsEnd(ref bool __result)
{
__result = true;
return false;
}
}