CommonLibSSE (Parapets fork)
LocalMapMenu.h
Go to the documentation of this file.
1 #pragma once
2 
5 #include "RE/B/BSTArray.h"
6 #include "RE/B/BSTSmartPointer.h"
7 #include "RE/G/GFxValue.h"
9 #include "RE/L/LocalMapCamera.h"
10 #include "RE/M/MenuEventHandler.h"
11 #include "RE/N/NiSmartPointer.h"
12 
13 namespace RE
14 {
15  class BSShaderAccumulator;
16  class NiCamera;
17  class NiNode;
18 
19  struct LocalMapMenu
20  {
21  public:
23  {
24  public:
25  struct Data
26  {
27  public:
28  // members
30  void* unk08; // 08 - smart ptr
32  std::uint64_t unk18; // 18
33  std::uint64_t unk20; // 20
34  std::uint64_t unk28; // 28
35  std::uint64_t unk30; // 30
36  std::uint64_t unk38; // 38
37  void* unk40; // 40 - smart ptr
38  };
39  static_assert(sizeof(Data) == 0x48);
40 
41  // members
43  Data unk301F8; // 301F8
44  std::uint64_t unk30240; // 30240
45  std::uint64_t unk30248; // 30248
46 #ifdef SKYRIMVR
47  std::uint64_t padVR1; // VR offset moved by 0x10
48  std::uint64_t padVR2;
49 #endif
50  std::uint64_t unk30250; // 30250
51  std::uint64_t unk30258; // 30258
55  std::uint64_t unk30350; // 30350
57 #ifdef SKYRIMVR
58  BSTArray<void*> unk30370;
59  BSTArray<void*> unk30388;
61  void* unk303B8;
62  NiCamera* unk303C0;
63  std::uint32_t unk303C8;
64  std::uint32_t pad303CC;
65  std::uint64_t unk303D0;
66 #endif
67  };
68 #ifndef SKYRIMVR
69  static_assert(sizeof(LocalMapCullingProcess) == 0x30360);
70 #else
71  static_assert(sizeof(LocalMapCullingProcess) == 0x303D8);
72 #endif
73 
75  {
76  public:
77  inline static constexpr auto RTTI = RTTI_LocalMapMenu__InputHandler;
78 
79  ~InputHandler() override; // 00
80 
81  // override (MenuEventHandler)
82  bool ShouldHandleEvent(const InputEvent* a_event) override; // 01
83  bool HandleEvent(const ButtonEvent* a_event) override; // 05
84  bool HandleEvent(const MouseMoveEvent* a_event) override; // 04
85  bool HandleEvent(const ThumbstickEvent* a_event) override; // 03
86 
87  // members
89  };
90  static_assert(sizeof(InputHandler) == 0x18);
91 
92  // members
94  GFxValue unk00018; // 00018
95  float unk00030; // 00030
96  float unk00034; // 00034
97  float unk00038; // 00038
98  float unk0003C; // 0003C
101  GFxValue unk303B8; // 303B8
102  GFxValue unk303D0; // 303D0
103  void* unk303E8; // 303E8
105  std::uint64_t unk303F8; // 303F8
106 #ifdef SKYRIMVR
107  std::uint32_t unk30478; // 30478
108  std::uint32_t pad3047C; // 3047C
109 #endif
110  };
111 #ifndef SKYRIMVR
112  static_assert(sizeof(LocalMapMenu) == 0x30400);
113 #else
114  static_assert(sizeof(LocalMapMenu) == 0x30480);
115 #endif
116 }
Definition: BSCullingProcess.h:17
Definition: BSScaleformExternalTexture.h:9
Definition: BSTSmartPointer.h:37
Definition: ButtonEvent.h:15
Definition: GFxValue.h:92
Definition: ImageSpaceShaderParam.h:11
Definition: InputEvent.h:26
Definition: LocalMapCamera.h:14
Definition: LocalMapMenu.h:75
static constexpr auto RTTI
Definition: LocalMapMenu.h:77
bool HandleEvent(const ButtonEvent *a_event) override
bool ShouldHandleEvent(const InputEvent *a_event) override
LocalMapMenu * localMapMenu
Definition: LocalMapMenu.h:88
bool HandleEvent(const ThumbstickEvent *a_event) override
bool HandleEvent(const MouseMoveEvent *a_event) override
Definition: MenuEventHandler.h:17
Definition: MouseMoveEvent.h:8
Definition: NiCamera.h:11
Definition: ThumbstickEvent.h:8
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_LocalMapMenu__InputHandler
Definition: Offsets_RTTI.h:5119
void * unk08
Definition: LocalMapMenu.h:30
std::uint64_t unk38
Definition: LocalMapMenu.h:36
std::uint64_t unk30
Definition: LocalMapMenu.h:35
std::uint64_t unk20
Definition: LocalMapMenu.h:33
std::uint64_t unk28
Definition: LocalMapMenu.h:34
NiPointer< NiCamera > camera
Definition: LocalMapMenu.h:31
void * unk40
Definition: LocalMapMenu.h:37
NiPointer< BSShaderAccumulator > shaderAccumulator
Definition: LocalMapMenu.h:29
std::uint64_t unk18
Definition: LocalMapMenu.h:32
Definition: LocalMapMenu.h:23
NiPointer< NiNode > unk30358
Definition: LocalMapMenu.h:56
std::uint64_t unk30250
Definition: LocalMapMenu.h:50
std::uint64_t unk30240
Definition: LocalMapMenu.h:44
std::uint64_t unk30350
Definition: LocalMapMenu.h:55
NiPointer< BSShaderAccumulator > unk302C8
Definition: LocalMapMenu.h:53
LocalMapCamera camera
Definition: LocalMapMenu.h:52
std::uint64_t unk30258
Definition: LocalMapMenu.h:51
Data unk301F8
Definition: LocalMapMenu.h:43
std::uint64_t unk30248
Definition: LocalMapMenu.h:45
ImageSpaceShaderParam unk302D0
Definition: LocalMapMenu.h:54
BSCullingProcess cullingProcess
Definition: LocalMapMenu.h:39
Definition: LocalMapMenu.h:20
BSScaleformExternalTexture unk303A0
Definition: LocalMapMenu.h:100
LocalMapCullingProcess localCullingProcess
Definition: LocalMapMenu.h:99
void * unk303E8
Definition: LocalMapMenu.h:103
float unk00038
Definition: LocalMapMenu.h:97
GFxValue unk303D0
Definition: LocalMapMenu.h:102
std::uint64_t unk303F8
Definition: LocalMapMenu.h:105
BSTSmartPointer< InputHandler > unk303F0
Definition: LocalMapMenu.h:104
BSTArray< void * > unk00000
Definition: LocalMapMenu.h:90
float unk00030
Definition: LocalMapMenu.h:95
float unk00034
Definition: LocalMapMenu.h:96
GFxValue unk00018
Definition: LocalMapMenu.h:94
float unk0003C
Definition: LocalMapMenu.h:98
GFxValue unk303B8
Definition: LocalMapMenu.h:101