10 class BSSaveDataEvent;
17 #ifndef SKYRIM_CROSS_VR
28 constexpr
static std::string_view
MENU_NAME =
"Main Menu";
32 #define RUNTIME_DATA_CONTENT \
33 BSScaleformExternalTexture gamerIconTexture; \
34 std::uint32_t unk68; \
42 static_assert(
sizeof(RUNTIME_DATA) == 0x20);
49 void AdvanceMovie(
float a_interval, std::uint32_t a_currentTime)
override;
51 #ifndef SKYRIM_CROSS_VR
64 return &REL::RelocateMember<BSTEventSink<BSSystemEvent>>(
this, 0x30, 0x40);
74 return &REL::RelocateMember<BSTEventSink<BSSaveDataEvent>>(
this, 0x38, 0x48);
84 return &REL::RelocateMember<GFxFunctionHandler>(
this, 0x40, 0x50);
94 return REL::RelocateMember<RUNTIME_DATA>(
this, 0x50, 0x60);
99 return REL::RelocateMember<RUNTIME_DATA>(
this, 0x50, 0x60);
103 #ifndef SKYRIM_CROSS_VR
107 #ifndef ENABLE_SKYRIM_VR
108 static_assert(
sizeof(MainMenu) == 0x70);
109 #elif !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
110 static_assert(
sizeof(MainMenu) == 0x80);
113 #undef RUNTIME_DATA_CONTENT
#define RUNTIME_DATA_CONTENT
Definition: MainMenu.h:32
Definition: BSTEvent.h:143
Definition: BSTEvent.h:19
Definition: FxDelegateHandler.h:19
Definition: GFxFunctionHandler.h:12
Definition: MainMenu.h:25
BSEventNotifyControl ProcessEvent(const BSSaveDataEvent *a_event, BSTEventSource< BSSaveDataEvent > *a_eventSource) override
const BSTEventSink< BSSaveDataEvent > * AsBSSaveDataEventSink() const noexcept
Definition: MainMenu.h:77
const GFxFunctionHandler * AsGFxFunctionHandler() const noexcept
Definition: MainMenu.h:87
static constexpr auto RTTI
Definition: MainMenu.h:27
const BSTEventSink< BSSystemEvent > * AsBSSystemEventSink() const noexcept
Definition: MainMenu.h:67
BSTEventSink< BSSystemEvent > * AsBSSystemEventSink() noexcept
Definition: MainMenu.h:62
void Accept(CallbackProcessor *a_processor) override
BSEventNotifyControl ProcessEvent(const BSSystemEvent *a_event, BSTEventSource< BSSystemEvent > *a_eventSource) override
GFxFunctionHandler * AsGFxFunctionHandler() noexcept
Definition: MainMenu.h:82
BSTEventSink< BSSaveDataEvent > * AsBSSaveDataEventSink() noexcept
Definition: MainMenu.h:72
RUNTIME_DATA & GetRuntimeData() noexcept
Definition: MainMenu.h:92
void Call(Params &a_params) override
constexpr static std::string_view MENU_NAME
Definition: MainMenu.h:28
void AdvanceMovie(float a_interval, std::uint32_t a_currentTime) override
const RUNTIME_DATA & GetRuntimeData() const noexcept
Definition: MainMenu.h:97
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition: IMenu.h:48
constexpr REL::VariantID RTTI_MainMenu(688873, 396727, 0x1f47148)
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: GFxFunctionHandler.h:17
Definition: MainMenu.h:31