Example #1
0
 public static SyncDelegate LocalFunc(Type parentType, string parentMethod, string name, Type[] parentArgs = null)
 {
     return(Sync.RegisterSyncDelegate(
                MpMethodUtil.GetLocalFunc(parentType, parentMethod, MethodType.Normal, parentArgs, name),
                null
                ));
 }
Example #2
0
 static MethodBase TargetMethod()
 {
     return(MpMethodUtil.GetLocalFunc(
                typeof(Dialog_BeginRitual),
                nameof(Dialog_BeginRitual.DoWindowContents),
                localFunc: "Start"
                ));
 }