protected Patch(HarmonyPatchType type, Reflect.Method patchMethod, Reflect.Method targetMethod, int priority) { _type = type; _patchMethod = patchMethod; _targetMethod = targetMethod; _priority = priority; }
public Postfix(string patchMethodName, Reflect.Method targetMethod, int priority = -1) : base(HarmonyPatchType.Postfix, new(typeof(TPatch), patchMethodName), targetMethod, priority)
public Finalizer(string patchMethodName, Reflect.Method targetMethod, int priority = -1) : base(HarmonyPatchType.Finalizer, new(typeof(TPatch), patchMethodName), targetMethod, priority)