CommonLibVR
MessageBoxData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSString.h"
4 #include "RE/B/BSTArray.h"
5 #include "RE/B/BSTSmartPointer.h"
6 #include "RE/I/IUIMessageData.h"
7 
8 namespace RE
9 {
10  class IMessageBoxCallback;
11 
13  {
14  public:
15  inline static constexpr auto RTTI = RTTI_MessageBoxData;
16  inline static constexpr auto VTABLE = VTABLE_MessageBoxData;
17 
18  ~MessageBoxData() override; // 00
19 
20  void QueueMessage()
21  {
22  using func_t = decltype(&MessageBoxData::QueueMessage);
23  static REL::Relocation<func_t> func{ RELOCATION_ID(51422, 52271) };
24  return func(this);
25  }
26 
27  // members
30  std::uint32_t unk38; // 38
31  std::int32_t unk3C; // 3C
33  std::uint32_t unk48; // 48
34  std::uint8_t unk4C; // 4C
35  std::uint8_t unk4D; // 4D
36  std::uint8_t unk4E; // 4E
37  std::uint8_t unk4F; // 4F
38  private:
39  KEEP_FOR_RE()
40  };
41  static_assert(sizeof(MessageBoxData) == 0x50);
42 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
#define RELOCATION_ID(SE, AE)
Definition: PCH.h:702
Definition: Relocation.h:210
Definition: BSTArray.h:378
Definition: BSTSmartPointer.h:37
Definition: IUIMessageData.h:6
Definition: MessageBoxData.h:13
std::uint8_t unk4F
Definition: MessageBoxData.h:37
BSString bodyText
Definition: MessageBoxData.h:28
void QueueMessage()
Definition: MessageBoxData.h:20
std::uint8_t unk4C
Definition: MessageBoxData.h:34
std::uint8_t unk4D
Definition: MessageBoxData.h:35
BSTSmartPointer< IMessageBoxCallback > callback
Definition: MessageBoxData.h:32
BSTArray< BSString > buttonText
Definition: MessageBoxData.h:29
~MessageBoxData() override
std::uint32_t unk38
Definition: MessageBoxData.h:30
static constexpr auto RTTI
Definition: MessageBoxData.h:15
static constexpr auto VTABLE
Definition: MessageBoxData.h:16
std::int32_t unk3C
Definition: MessageBoxData.h:31
std::uint32_t unk48
Definition: MessageBoxData.h:33
std::uint8_t unk4E
Definition: MessageBoxData.h:36
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_MessageBoxData(static_cast< std::uint64_t >(686417))
constexpr std::array< REL::ID, 1 > VTABLE_MessageBoxData
Definition: Offsets_VTABLE.h:12005