using System.Reflection; using HarmonyLib; namespace TechbloxModdingAPI.Input { [HarmonyPatch] public static class FakeInputPatch { public static void Prefix() { FakeInput.inputEngine.HandleCustomInput(); // This gets called right before the input is sent to the server } public static MethodBase TargetMethod() { return AccessTools.Method("RobocraftX.Multiplayer.Input.NetworkInputRecorderEngine:RecordDeterministicInput"); } } }