上传文件至 Common

This commit is contained in:
2025-10-13 18:18:47 +08:00
parent 535e955faf
commit 566c6190ff
25 changed files with 1487 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
using HarmonyLib;
using Monitor;
namespace SinmaiAssist.Common;
public class SkipWarningScreen
{
[HarmonyPrefix]
[HarmonyPatch(typeof(WarningMonitor), "PlayLogo")]
public static bool PlayLogo()
{
return false;
}
[HarmonyPrefix]
[HarmonyPatch(typeof(WarningMonitor), "IsLogoAnimationEnd")]
public static bool IsLogoAnimationEnd(ref bool __result)
{
__result = true;
return false;
}
}