public TryToRetrieveDialoguePatch(IMonitor monitor, IHarmonyWrapper wrapper, IDialogueLogic dialogueLogic, IWrapperFactory factory) : base(monitor, wrapper) { HarmonyWrapper.Patch( AccessTools.Method(typeof(NPC), "tryToRetrieveDialogue"), new HarmonyMethod(typeof(TryToRetrieveDialoguePatch), "Prefix"), new HarmonyMethod(typeof(TryToRetrieveDialoguePatch), "Postfix")); _dialogueLogic = dialogueLogic; _wrapperFactory = factory; }