20 class MenuOpenCloseEvent;
27 #if !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
31 #elif !defined(ENABLE_SKYRIM_VR)
41 constexpr
static std::string_view
MENU_NAME =
"MapMenu";
84 #define RUNTIME_DATA_CONTENT \
85 BSTSmartPointer<MapMoveHandler> moveHandler; \
86 BSTSmartPointer<MapLookHandler> lookHandler; \
87 BSTSmartPointer<MapZoomHandler> zoomHandler; \
88 ObjectRefHandle mapMarker; \
89 LocalMapMenu localMapMenu;
93 #ifndef ENABLE_SKYRIM_VR
94 static_assert(
sizeof(RUNTIME_DATA) == 0x30420);
95 #elif !defined(ENABLE_SKYRIM_AE) && !defined(ENABLE_SKYRIM_SE)
96 static_assert(
sizeof(RUNTIME_DATA) == 0x304A0);
101 #define RUNTIME_DATA2_CONTENT \
102 RefHandle unk30460; \
103 NiPoint3 playerMarkerPosition; \
104 BSTArray<Unk30470Entry*> unk30470; \
105 BSTArray<Unk30488Entry*> unk30488; \
107 std::uint64_t unk30530; \
108 TESWorldSpace* worldSpace; \
110 std::uint64_t unk30558; \
111 std::uint64_t unk30560; \
112 std::uint64_t unk30568; \
113 std::uint32_t unk30570; \
114 BSSoundHandle unk30574; \
115 std::uint64_t unk30580; \
116 std::uint64_t unk30588; \
117 std::uint64_t unk30590;
120 static_assert(
sizeof(RUNTIME_DATA2) == 0x138);
127 void AdvanceMovie(
float a_interval, std::uint32_t a_currentTime)
override;
131 #ifndef SKYRIM_CROSS_VR
147 return &REL::RelocateMember<WorldSpaceMenu>(
this, 0, 0);
157 return &REL::RelocateMember<BSTEventSink<MenuOpenCloseEvent>>(
this, 0x30, 0x58);
167 return &REL::RelocateMember<IMapCameraCallbacks>(
this, 0x38, 0x60);
177 return REL::RelocateMember<RUNTIME_DATA>(
this, 0x40, 0x68);
182 return REL::RelocateMember<RUNTIME_DATA>(
this, 0x40, 0x68);
187 return REL::RelocateMember<RUNTIME_DATA2>(
this, 0x30460, 0x30508);
192 return REL::RelocateMember<RUNTIME_DATA2>(
this, 0x30460, 0x30508);
196 #ifndef SKYRIM_CROSS_VR
202 #ifndef ENABLE_SKYRIM_VR
203 static_assert(
sizeof(MapMenu) == 0x30598);
207 #undef RUNTIME_DATA_CONTENT
208 #undef RUNTIME_DATA2_CONTENT
#define SKYRIM_REL_CONSTEXPR
Definition: Common.h:47
#define RELOCATION_ID(a_se, a_ae)
Definition: PCH.h:724
static SKYRIM_REL_VR bool IsVR() noexcept
Definition: Module.h:254
Definition: Relocation.h:204
Definition: BSTEvent.h:143
Definition: FxDelegateHandler.h:19
Definition: TESFullName.h:9
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_MapMenu(688986, 396841, 0x1f490d0)
UI_MESSAGE_RESULTS
Definition: IMenu.h:48
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: IMapCameraCallbacks.h:6