CommonLibSSE (powerof3)
MapMenu.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSSoundHandle.h"
4 #include "RE/B/BSTArray.h"
5 #include "RE/B/BSTEvent.h"
6 #include "RE/B/BSTSmartPointer.h"
7 #include "RE/G/GFxValue.h"
9 #include "RE/I/IMenu.h"
10 #include "RE/L/LocalMapMenu.h"
11 #include "RE/M/MapCamera.h"
12 
13 namespace RE
14 {
15  class BSAudioManager;
16  class MapLookHandler;
17  class MapMoveHandler;
18  class MapZoomHandler;
19  class MenuOpenCloseEvent;
20  class TESWorldSpace;
21 
22  // menuDepth = 3
23  // flags = kPausesGame | kUsesCursor | kRendersOffscreenTargets | kCustomRendering
24  // context = kMap
25  class MapMenu :
26  public IMenu, // 00000
27  public BSTEventSink<MenuOpenCloseEvent>, // 00030
28  public IMapCameraCallbacks // 00038
29  {
30  public:
31  inline static constexpr auto RTTI = RTTI_MapMenu;
32  constexpr static std::string_view MENU_NAME = "MapMenu";
33 
34  ~MapMenu() override; // 00
35 
36  // override (IMenu)
37  void Accept(CallbackProcessor* a_processor) override; // 01
38  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
39  void AdvanceMovie(float a_interval, std::uint32_t a_currentTime) override; // 05
40  void RefreshPlatform() override; // 08
41 
42  // override (BSTEventSink<MenuOpenCloseEvent>)
44 
45  // members
49  std::uint64_t unk00058; // 00058
51  RefHandle unk30460; // 30460
52  std::uint32_t unk30464; // 30464
53  std::uint32_t unk30468; // 30468
54  std::uint32_t unk3046C; // 3046C
57  MapCamera camera; // 304A0
58  std::uint64_t unk30530; // 30530
60  GFxValue unk30540; // 30540
61  std::uint64_t unk30558; // 30558
62  std::uint64_t unk30560; // 30560
63  std::uint64_t unk30568; // 30568
64  std::uint32_t unk30570; // 30570
66  std::uint64_t unk30580; // 30580
67  std::uint64_t unk30588; // 30588
68  std::uint64_t unk30590; // 30590
69  };
70  static_assert(sizeof(MapMenu) == 0x30598);
71 }
Definition: BSTEvent.h:146
Definition: BSTSmartPointer.h:37
Definition: FxDelegateHandler.h:19
Definition: GFxValue.h:90
Definition: IMenu.h:55
Definition: MapCamera.h:19
Definition: MapMenu.h:29
~MapMenu() override
std::uint64_t unk30588
Definition: MapMenu.h:67
MapCamera camera
Definition: MapMenu.h:57
void Accept(CallbackProcessor *a_processor) override
std::uint32_t unk3046C
Definition: MapMenu.h:54
constexpr static std::string_view MENU_NAME
Definition: MapMenu.h:32
LocalMapMenu localMapMenu
Definition: MapMenu.h:50
std::uint64_t unk30590
Definition: MapMenu.h:68
BSTSmartPointer< MapZoomHandler > zoomHandler
Definition: MapMenu.h:48
std::uint64_t unk30560
Definition: MapMenu.h:62
BSTSmartPointer< MapLookHandler > lookHandler
Definition: MapMenu.h:47
std::uint32_t unk30468
Definition: MapMenu.h:53
GFxValue unk30540
Definition: MapMenu.h:60
std::uint64_t unk30530
Definition: MapMenu.h:58
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
std::uint32_t unk30570
Definition: MapMenu.h:64
BSTArray< void * > unk30488
Definition: MapMenu.h:56
std::uint64_t unk00058
Definition: MapMenu.h:49
std::uint64_t unk30568
Definition: MapMenu.h:63
TESWorldSpace * worldSpace
Definition: MapMenu.h:59
std::uint64_t unk30558
Definition: MapMenu.h:61
BSTArray< void * > unk30470
Definition: MapMenu.h:55
RefHandle unk30460
Definition: MapMenu.h:51
std::uint64_t unk30580
Definition: MapMenu.h:66
BSSoundHandle unk30574
Definition: MapMenu.h:65
void AdvanceMovie(float a_interval, std::uint32_t a_currentTime) override
static constexpr auto RTTI
Definition: MapMenu.h:31
BSEventNotifyControl ProcessEvent(const MenuOpenCloseEvent *a_event, BSTEventSource< MenuOpenCloseEvent > *a_eventSource) override
std::uint32_t unk30464
Definition: MapMenu.h:52
void RefreshPlatform() override
BSTSmartPointer< MapMoveHandler > moveHandler
Definition: MapMenu.h:46
Definition: MenuOpenCloseEvent.h:8
Definition: TESWorldSpace.h:116
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition: IMenu.h:48
constexpr REL::ID RTTI_MapMenu
Definition: Offsets_RTTI.h:5148
std::uint32_t RefHandle
Definition: BSCoreTypes.h:6
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: BSSoundHandle.h:10
Definition: IMapCameraCallbacks.h:6
Definition: LocalMapMenu.h:20