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)
 {
 }
示例#8
0
 // new in v1.1.1
 public HarmonyPatch(MethodType methodType = MethodType.Normal)
 {
     info.methodType = methodType;
 }
示例#9
0
 public HarmonyPatch(string methodName, MethodType methodType = MethodType.Normal)
 {
     info.methodName = methodName;
     info.methodType = methodType;
 }
示例#10
0
        // 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;
        }
示例#11
0
 // 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);
 }
示例#12
0
        // 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;
        }