23 lines
724 B
C++
23 lines
724 B
C++
#pragma once
|
|
|
|
#include "Util.h"
|
|
|
|
class HeroMenuPatch : public RE::MenuControls
|
|
{
|
|
public:
|
|
static void Install();
|
|
|
|
static uint64_t OpenStats(uint32_t arg_1, uint32_t arg_2, uint32_t arg_3, uint32_t arg_4, uint32_t arg_5);
|
|
|
|
static void FillMenuValues();
|
|
|
|
static void OpenHeroMenu();
|
|
|
|
inline static REL::Relocation<decltype(OpenStats)> _OpenStats;
|
|
|
|
RE::BSEventNotifyControl ProcessEvent_Hook(RE::InputEvent** a_event, RE::BSTEventSource<RE::InputEvent*>* a_source);
|
|
|
|
using ProcessEvent_t = decltype(static_cast<RE::BSEventNotifyControl (RE::MenuControls::*)(RE::InputEvent* const*, RE::BSTEventSource<RE::InputEvent*>*)>(&RE::MenuControls::ProcessEvent));
|
|
static inline REL::Relocation<ProcessEvent_t> _ProcessEvent;
|
|
};
|