[F] Crash with the new modified SDEZ145 DLL with deleted methods

This commit is contained in:
Clansty
2024-09-17 02:48:07 +08:00
parent 5ee7add355
commit 9598ac5a50
4 changed files with 32 additions and 16 deletions

View File

@@ -1,7 +1,5 @@
using AMDaemon.Allnet;
using HarmonyLib;
using HarmonyLib;
using Manager;
using Manager.Operation;
using Monitor.MusicSelect.ChainList;
using Net;
using UnityEngine;
@@ -17,16 +15,6 @@ public class BasicFix
return false;
}
[HarmonyPostfix]
[HarmonyPatch(typeof(OperationManager), "CheckAuth_Proc")]
private static void PostCheckAuthProc(ref OperationData ____operationData)
{
if (Auth.GameServerUri.StartsWith("http://") || Auth.GameServerUri.StartsWith("https://"))
{
____operationData.ServerUri = Auth.GameServerUri;
}
}
[HarmonyPrefix]
[HarmonyPatch(typeof(DebugInput), "GetKey")]
private static bool GetKey(ref bool __result, KeyCode name)