public HarmonyPatch(MethodType methodType, Type[] argumentTypes, ArgumentType[] argumentVariations) { }
public HarmonyPatch(MethodType methodType) { }
public HarmonyPatch(MethodType methodType, params Type[] argumentTypes) { }
public HarmonyPatch(Type declaringType, string methodName, MethodType methodType) { }
public HarmonyPatch(string methodName, MethodType methodType) { }
public HarmonyPatch(Type declaringType, MethodType methodType, params Type[] argumentTypes) { }
public HarmonyPatch(Type declaringType, MethodType methodType, Type[] argumentTypes, ArgumentType[] argumentVariations) { }
// new in v1.1.1 public HarmonyPatch(MethodType methodType = MethodType.Normal) { info.methodType = methodType; }
public HarmonyPatch(string methodName, MethodType methodType = MethodType.Normal) { info.methodName = methodName; info.methodType = methodType; }
// combined types - properties // =========================== // new in v1.1.1 public HarmonyPatch(Type declaringType, string propertyName, MethodType methodType) { info.declaringType = declaringType; info.methodName = propertyName; info.methodType = methodType; }
// new in v1.1.1 (complex) public HarmonyPatch(Type declaringType, MethodType methodType, Type[] argumentTypes, ArgumentType[] argumentVariations) { info.declaringType = declaringType; info.methodType = methodType; ParseSpecialArguments(argumentTypes, argumentVariations); }
// combined types - constructors // ============================= // new in v1.1.1 (simple) public HarmonyPatch(Type declaringType, MethodType methodType, params Type[] argumentTypes) { info.declaringType = declaringType; info.methodType = methodType; info.argumentTypes = argumentTypes; }