CommonLibSSE (Parapets fork)
RaceSexMenu.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTArray.h"
4 #include "RE/I/IMenu.h"
6 #include "RE/R/RaceSexCamera.h"
7 #include "RE/S/Sexes.h"
8 
9 namespace RE
10 {
11  // menuDepth = 3
12  // flags = kPausesGame | kUsesMenuContext | kRequiresUpdate | kTopmostRenderedMenu | kUpdateUsesCursor
13  // context = kItemMenu
14  class RaceSexMenu :
15  public IMenu, // 00
16  public MenuEventHandler // 30
17  {
18  public:
19  inline static constexpr auto RTTI = RTTI_RaceSexMenu;
20  constexpr static std::string_view MENU_NAME = "RaceSex Menu";
21 
22  ~RaceSexMenu() override; // 00
23 
24  // override (IMenu)
25  void Accept(CallbackProcessor* a_processor) override; // 01
26  void PostCreate() override; // 02
27  UI_MESSAGE_RESULTS ProcessMessage(UIMessage& a_message) override; // 04
28  void AdvanceMovie(float a_interval, std::uint32_t a_currentTime) override; // 05
29 
30  // override (MenuEventHandler)
31  bool ShouldHandleEvent(const InputEvent* a_event) override = 0; // 01
32  bool HandleEvent(const ButtonEvent* a_event) override; // 05
33  bool HandleEvent(const MouseMoveEvent* a_event) override; // 04
34  bool HandleEvent(const ThumbstickEvent* a_event) override; // 03
35 
36  void ChangeName(const char* a_name);
37 
38  // members
40 #ifndef SKYRIMVR
42 #endif
45  std::uint64_t unk188; // 188
46  std::uint32_t unk190; // 190
47  std::uint32_t unk194; // 194
49  std::uint16_t unk19C; // 19C
50  std::uint8_t unk19E; // 19E
51  std::uint8_t pad19F; // 19F
52  std::uint8_t unk1A0; // 1A0
53  std::uint8_t unk1A1; // 1A1
54  std::uint16_t unk1A2; // 1A2
55  std::uint32_t unk1A4; // 1A4
56  };
57 #ifndef SKYRIMVR
58  static_assert(sizeof(RaceSexMenu) == 0x1A8);
59 #else
60  static_assert(sizeof(RaceSexMenu) == 0x160);
61 #endif
62 }
Definition: ButtonEvent.h:15
Definition: FxDelegateHandler.h:19
Definition: IMenu.h:56
Definition: InputEvent.h:26
Definition: MenuEventHandler.h:17
Definition: MouseMoveEvent.h:8
Definition: RaceSexCamera.h:10
Definition: RaceSexMenu.h:17
BSTArray< void * > unk040[7]
Definition: RaceSexMenu.h:39
BSTArray< void * > unk140[2]
Definition: RaceSexMenu.h:43
~RaceSexMenu() override
std::uint8_t pad19F
Definition: RaceSexMenu.h:51
std::uint16_t unk1A2
Definition: RaceSexMenu.h:54
bool ShouldHandleEvent(const InputEvent *a_event) override=0
std::uint32_t unk194
Definition: RaceSexMenu.h:47
void PostCreate() override
std::uint16_t unk19C
Definition: RaceSexMenu.h:49
UI_MESSAGE_RESULTS ProcessMessage(UIMessage &a_message) override
std::uint32_t unk1A4
Definition: RaceSexMenu.h:55
std::uint8_t unk19E
Definition: RaceSexMenu.h:50
RaceSexCamera camera
Definition: RaceSexMenu.h:41
std::uint8_t unk1A0
Definition: RaceSexMenu.h:52
std::uint64_t unk188
Definition: RaceSexMenu.h:45
std::uint8_t unk1A1
Definition: RaceSexMenu.h:53
constexpr static std::string_view MENU_NAME
Definition: RaceSexMenu.h:20
static constexpr auto RTTI
Definition: RaceSexMenu.h:19
bool HandleEvent(const ThumbstickEvent *a_event) override
bool HandleEvent(const MouseMoveEvent *a_event) override
std::uint32_t unk190
Definition: RaceSexMenu.h:46
stl::enumeration< SEX, std::uint32_t > sex
Definition: RaceSexMenu.h:48
void AdvanceMovie(float a_interval, std::uint32_t a_currentTime) override
void ChangeName(const char *a_name)
bool HandleEvent(const ButtonEvent *a_event) override
void Accept(CallbackProcessor *a_processor) override
BSTArray< void * > unk170
Definition: RaceSexMenu.h:44
Definition: ThumbstickEvent.h:8
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
UI_MESSAGE_RESULTS
Definition: IMenu.h:49
constexpr REL::ID RTTI_RaceSexMenu
Definition: Offsets_RTTI.h:5761