CommonLibVR
BSUIMessageData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 #include "RE/B/BSString.h"
5 #include "RE/I/IUIMessageData.h"
6 
7 namespace RE
8 {
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BSUIMessageData;
13  inline static constexpr auto VTABLE = VTABLE_BSUIMessageData;
14 
15  union Data
16  {
17  bool b;
18  std::uint32_t u;
19  float f;
20  void* p;
21  };
22  static_assert(sizeof(Data) == 0x8);
23 
24  ~BSUIMessageData() override; // 00
25 
26  // members
27  BSString* str; // 10
29  Data data; // 20
30  private:
31  KEEP_FOR_RE()
32  };
33  static_assert(sizeof(BSUIMessageData) == 0x28);
34 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSUIMessageData.h:10
Data data
Definition: BSUIMessageData.h:29
BSFixedString fixedStr
Definition: BSUIMessageData.h:28
BSString * str
Definition: BSUIMessageData.h:27
~BSUIMessageData() override
static constexpr auto RTTI
Definition: BSUIMessageData.h:12
static constexpr auto VTABLE
Definition: BSUIMessageData.h:13
Definition: IUIMessageData.h:6
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BSUIMessageData(static_cast< std::uint64_t >(514047))
constexpr std::array< REL::ID, 1 > VTABLE_BSUIMessageData
Definition: Offsets_VTABLE.h:10559
Definition: BSUIMessageData.h:16
std::uint32_t u
Definition: BSUIMessageData.h:18
void * p
Definition: BSUIMessageData.h:20
bool b
Definition: BSUIMessageData.h:17
float f
Definition: BSUIMessageData.h:19