Table of Contents
Extensions for Harmony stuff
public static class HarmonyExt
Inheritance System.Object HarmonyExt
Add a postfix patch
public static void PatchPostfix(this Harmony harmonyInstance, System.Reflection.MethodInfo methodToPatch, System.Reflection.MethodInfo myPatchMethod);
harmonyInstance
HarmonyLib.Harmony
methodToPatch
System.Reflection.MethodInfo
myPatchMethod
System.Reflection.MethodInfo
Add a postfix patch
public static void PatchPostfix(this Harmony harmonyInstance, System.Reflection.MethodInfo methodToPatch, System.Type myPatchClass, string myPatchMethod);
harmonyInstance
HarmonyLib.Harmony
methodToPatch
System.Reflection.MethodInfo
myPatchClass
System.Type
myPatchMethod
System.String
Add a postfix patch
public static void PatchPostfix(this Harmony harmonyInstance, System.Type classToPatch, int constructorIndex, System.Type myPatchClass, string myPatchMethod);
harmonyInstance
HarmonyLib.Harmony
classToPatch
System.Type
constructorIndex
System.Int32
myPatchClass
System.Type
myPatchMethod
System.String
Add a postfix patch
public static void PatchPostfix(this Harmony harmonyInstance, System.Type classToPatch, string methodToPatch, int methodOverloadIndex, System.Type myPatchClass, string myPatchMethod);
harmonyInstance
HarmonyLib.Harmony
classToPatch
System.Type
methodToPatch
System.String
methodOverloadIndex
System.Int32
myPatchClass
System.Type
myPatchMethod
System.String
Add a postfix patch
public static void PatchPostfix(this Harmony harmonyInstance, System.Type classToPatch, string methodToPatch, System.Type myPatchClass, string myPatchMethod);
harmonyInstance
HarmonyLib.Harmony
classToPatch
System.Type
methodToPatch
System.String
myPatchClass
System.Type
myPatchMethod
System.String
Add a postfix patch
public static void PatchPostfix<TClassToPatch,TMyPatchClass>(this Harmony harmonyInstance, int constructorIndex, string myPatchMethod);
TClassToPatch
TMyPatchClass
harmonyInstance
HarmonyLib.Harmony
constructorIndex
System.Int32
myPatchMethod
System.String
Add a postfix patch
public static void PatchPostfix<TClassToPatch,TMyPatchClass>(this Harmony harmonyInstance, string methodToPatch, int methodOverloadIndex, string myPatchMethod);
TClassToPatch
TMyPatchClass
harmonyInstance
HarmonyLib.Harmony
methodToPatch
System.String
methodOverloadIndex
System.Int32
myPatchMethod
System.String
Add a postfix patch
public static void PatchPostfix<TClassToPatch,TMyPatchClass>(this Harmony harmonyInstance, string methodToPatch, string myPatchMethod);
TClassToPatch
TMyPatchClass
harmonyInstance
HarmonyLib.Harmony
methodToPatch
System.String
myPatchMethod
System.String
Add a prefix patch
public static void PatchPrefix(this Harmony harmonyInstance, System.Reflection.MethodInfo methodToPatch, System.Reflection.MethodInfo myPatchMethod);
harmonyInstance
HarmonyLib.Harmony
methodToPatch
System.Reflection.MethodInfo
myPatchMethod
System.Reflection.MethodInfo
Add a prefix patch
public static void PatchPrefix(this Harmony harmonyInstance, System.Reflection.MethodInfo methodToPatch, System.Type myPatchClass, string myPatchMethod);
harmonyInstance
HarmonyLib.Harmony
methodToPatch
System.Reflection.MethodInfo
myPatchClass
System.Type
myPatchMethod
System.String
Add a prefix patch
public static void PatchPrefix(this Harmony harmonyInstance, System.Type classToPatch, int constructorIndex, System.Type myPatchClass, string myPatchMethod);
harmonyInstance
HarmonyLib.Harmony
classToPatch
System.Type
constructorIndex
System.Int32
myPatchClass
System.Type
myPatchMethod
System.String
Add a prefix patch
public static void PatchPrefix(this Harmony harmonyInstance, System.Type classToPatch, string methodToPatch, int methodOverloadIndex, System.Type myPatchClass, string myPatchMethod);
harmonyInstance
HarmonyLib.Harmony
classToPatch
System.Type
methodToPatch
System.String
methodOverloadIndex
System.Int32
myPatchClass
System.Type
myPatchMethod
System.String
Add a prefix patch
public static void PatchPrefix(this Harmony harmonyInstance, System.Type classToPatch, string methodToPatch, System.Type myPatchClass, string myPatchMethod);
harmonyInstance
HarmonyLib.Harmony
classToPatch
System.Type
methodToPatch
System.String
myPatchClass
System.Type
myPatchMethod
System.String
Add a prefix patch
public static void PatchPrefix<TClassToPatch,TMyPatchClass>(this Harmony harmonyInstance, int constructorIndex, string myPatchMethod);
TClassToPatch
TMyPatchClass
harmonyInstance
HarmonyLib.Harmony
constructorIndex
System.Int32
myPatchMethod
System.String
Add a prefix patch
public static void PatchPrefix<TClassToPatch,TMyPatchClass>(this Harmony harmonyInstance, string methodToPatch, int methodOverloadIndex, string myPatchMethod);
TClassToPatch
TMyPatchClass
harmonyInstance
HarmonyLib.Harmony
methodToPatch
System.String
methodOverloadIndex
System.Int32
myPatchMethod
System.String
Add a prefix patch
public static void PatchPrefix<TClassToPatch,TMyPatchClass>(this Harmony harmonyInstance, string methodToPatch, string myPatchMethod);
TClassToPatch
TMyPatchClass
harmonyInstance
HarmonyLib.Harmony
methodToPatch
System.String
myPatchMethod
System.String