You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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");
- }
- }
- }
|