mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-12 03:37:27 +08:00
[O] enforce type for SetEntryValue and some comment and type chore
This commit is contained in:
@@ -24,7 +24,7 @@ public class JudgeAdjust
|
||||
[ConfigEntry(
|
||||
en: "Increase touch delay.",
|
||||
zh: "增加触摸延迟")]
|
||||
private static readonly int touchDelay = 0;
|
||||
private static readonly uint touchDelay = 0;
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(UserOption), "GetAdjustMSec")]
|
||||
@@ -45,6 +45,6 @@ public class JudgeAdjust
|
||||
public static void NewTouchPanelRecv()
|
||||
{
|
||||
if (touchDelay <= 0) return;
|
||||
Thread.Sleep(touchDelay);
|
||||
Thread.Sleep((int)touchDelay);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace AquaMai.Mods.GameSystem;
|
||||
Not recommand to enable when SinglePlayer is off.
|
||||
""",
|
||||
zh: """
|
||||
去除游戏中的倒计时(隐藏并设为 65535 秒)
|
||||
去除并隐藏游戏中的倒计时
|
||||
没有开启单人模式时,不建议启用
|
||||
""")]
|
||||
public class DisableTimeout
|
||||
|
||||
Reference in New Issue
Block a user