CommonLibVR
Loading...
Searching...
No Matches
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"
7
8namespace 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
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 type; // 38 - some sort of identifier ranging from 0-29, being 25 the one with the "highest priority"
31 std::int32_t cancelOptionIndex; // 3C
33 std::uint32_t menuDepth; // 48
34 std::uint8_t optionIndexOffset; // 4C
35 bool useHtml; // 4D
36 bool verticalButtons; // 4E
37 bool isCancellable; // 4F
38 private:
40 };
41 static_assert(sizeof(MessageBoxData) == 0x50);
42}
#define KEEP_FOR_RE()
Definition PCH.h:517
#define RELOCATION_ID(SE, AE)
Definition PCH.h:506
Definition Relocation.h:210
Definition BSTArray.h:378
Definition BSTSmartPointer.h:37
Definition IUIMessageData.h:6
Definition MessageBoxData.h:13
BSString bodyText
Definition MessageBoxData.h:28
void QueueMessage()
Definition MessageBoxData.h:20
std::int32_t cancelOptionIndex
Definition MessageBoxData.h:31
bool verticalButtons
Definition MessageBoxData.h:36
BSTSmartPointer< IMessageBoxCallback > callback
Definition MessageBoxData.h:32
std::uint32_t type
Definition MessageBoxData.h:30
BSTArray< BSString > buttonText
Definition MessageBoxData.h:29
~MessageBoxData() override
static constexpr auto RTTI
Definition MessageBoxData.h:15
static constexpr auto VTABLE
Definition MessageBoxData.h:16
std::uint8_t optionIndexOffset
Definition MessageBoxData.h:34
bool useHtml
Definition MessageBoxData.h:35
bool isCancellable
Definition MessageBoxData.h:37
std::uint32_t menuDepth
Definition MessageBoxData.h:33
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