public StaticFastInvokeHandler(Type classType, HarmonyLib.FastInvokeHandler invoker)
 {
     this.classType = classType;
     this.invoker   = invoker;
 }
예제 #2
0
 private static FastInvokeHandler ConvertFastInvokeHandler(HarmonyLib.FastInvokeHandler sourceDelegate) =>
 (FastInvokeHandler)Delegate.CreateDelegate(typeof(FastInvokeHandler), sourceDelegate.Target, sourceDelegate.Method);