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 )); }
static MethodBase TargetMethod() { return(MpMethodUtil.GetLocalFunc( typeof(Dialog_BeginRitual), nameof(Dialog_BeginRitual.DoWindowContents), localFunc: "Start" )); }