Skip to content

Commit

Permalink
Add CraftingMenu::QuitMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 committed Jul 1, 2024
1 parent d2c4243 commit af3e8a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/RE/C/CraftingMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_t> func{ RELOCATION_ID(50447, 51352) };
return func();
}

// members
CraftingSubMenus::CraftingSubMenu* subMenu; // 30
};
Expand Down

0 comments on commit af3e8a1

Please sign in to comment.