From af3e8a1f46e57b114d6a97dc38f6afd6d4ffb2d7 Mon Sep 17 00:00:00 2001 From: powerof3 <32599957+powerof3@users.noreply.github.com> Date: Mon, 1 Jul 2024 20:20:38 +0530 Subject: [PATCH] Add `CraftingMenu::QuitMenu` --- include/RE/C/CraftingMenu.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/RE/C/CraftingMenu.h b/include/RE/C/CraftingMenu.h index 6d7652f77..67042eff5 100644 --- a/include/RE/C/CraftingMenu.h +++ b/include/RE/C/CraftingMenu.h @@ -26,6 +26,13 @@ namespace RE void AdvanceMovie(float a_interval, std::uint32_t a_currentTime) override; // 05 void PostDisplay() override; // 06 + static void QuitMenu() + { + using func_t = decltype(&CraftingMenu::QuitMenu); + REL::Relocation func{ RELOCATION_ID(50447, 51352) }; + return func(); + } + // members CraftingSubMenus::CraftingSubMenu* subMenu; // 30 };