예제 #1
0
 public HarmonyPatch(MethodType methodType, Type[] argumentTypes, ArgumentType[] argumentVariations)
 {
 }
예제 #2
0
 public HarmonyPatch(MethodType methodType)
 {
 }
예제 #3
0
 public HarmonyPatch(MethodType methodType, params Type[] argumentTypes)
 {
 }
예제 #4
0
 public HarmonyPatch(Type declaringType, string methodName, MethodType methodType)
 {
 }
예제 #5
0
 public HarmonyPatch(string methodName, MethodType methodType)
 {
 }
예제 #6
0
 public HarmonyPatch(Type declaringType, MethodType methodType, params Type[] argumentTypes)
 {
 }
예제 #7
0
 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;
        }