Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- 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.DeterministicInputRecorderEngine:RecordDeterministicInput");
- }
- }
- }
|