CommonLibSSE NG
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 
17  ~MessageBoxData() override; // 00
18 
19  void QueueMessage()
20  {
21  using func_t = decltype(&MessageBoxData::QueueMessage);
22  REL::Relocation<func_t> func{ RELOCATION_ID(51422, 52271) };
23  return func(this);
24  }
25 
26  // members
29  std::uint32_t unk38; // 38
30  std::int32_t unk3C; // 3C
32  std::uint32_t unk48; // 48
33  std::uint8_t unk4C; // 4C
34  std::uint8_t unk4D; // 4D
35  std::uint8_t unk4E; // 4E
36  std::uint8_t unk4F; // 4F
37  };
38  static_assert(sizeof(MessageBoxData) == 0x50);
39 }
#define RELOCATION_ID(a_se, a_ae)
Definition: PCH.h:724
Definition: Relocation.h:204
Definition: BSTArray.h:377
Definition: BSTSmartPointer.h:36
Definition: IUIMessageData.h:6
Definition: MessageBoxData.h:13
std::uint8_t unk4F
Definition: MessageBoxData.h:36
BSString bodyText
Definition: MessageBoxData.h:27
void QueueMessage()
Definition: MessageBoxData.h:19
std::uint8_t unk4C
Definition: MessageBoxData.h:33
std::uint8_t unk4D
Definition: MessageBoxData.h:34
BSTSmartPointer< IMessageBoxCallback > callback
Definition: MessageBoxData.h:31
BSTArray< BSString > buttonText
Definition: MessageBoxData.h:28
~MessageBoxData() override
std::uint32_t unk38
Definition: MessageBoxData.h:29
static constexpr auto RTTI
Definition: MessageBoxData.h:15
std::int32_t unk3C
Definition: MessageBoxData.h:30
std::uint32_t unk48
Definition: MessageBoxData.h:32
std::uint8_t unk4E
Definition: MessageBoxData.h:35
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_MessageBoxData(686417, 394237, 0x1efd8b0)