depricated bunch of mods i will never touch or are native now

This commit is contained in:
NotAKidoS 2024-09-06 01:22:37 -05:00
parent 1ed32799a8
commit 7f4237bf95
29 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,22 @@
using MelonLoader;
using System.Reflection;
using ABI_RC.Systems.InputManagement;
using ABI_RC.Systems.InputManagement.InputModules;
namespace NAK.EzCurls;
public class EzCurls : MelonMod
{
public override void OnInitializeMelon()
{
HarmonyInstance.Patch(
typeof(CVRInputModule_XR).GetMethod(nameof(CVRInputModule_XR.ModuleAdded)),
postfix: new HarmonyLib.HarmonyMethod(typeof(EzCurls).GetMethod(nameof(OnCVRInputModule_XRModuleAdded_Postfix), BindingFlags.NonPublic | BindingFlags.Static))
);
ModSettings.Initialize();
}
private static void OnCVRInputModule_XRModuleAdded_Postfix()
=> CVRInputManager.Instance.AddInputModule(new InputModuleCurlAdjuster());
}