protected override bool OnEnablePatch()
 {
     HarmonyHelper.UpdatePatchesState(harmonyInstance, infos, true);
     return(true);
 }
 protected override bool OnDisablePatch()
 {
     CollectPatches();
     HarmonyHelper.UpdatePatchesState(harmonyInstance, infos, false);
     return(true);
 }
 protected override bool OnDisablePatch()
 {
     HarmonyHelper.UpdatePatchesState(instance, infos, false);
     // instance.UnpatchAll();
     return(true);
 }