CommonLibSSE (powerof3)
ExtraTextDisplayData.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/B/BSExtraData.h
"
4
#include "
RE/B/BSFixedString.h
"
5
#include "
RE/E/ExtraDataTypes.h
"
6
7
namespace
RE
8
{
9
class
BGSMessage;
10
class
TESBoundObject;
11
class
TESQuest;
12
13
class
ExtraTextDisplayData
:
public
BSExtraData
14
{
15
public
:
16
inline
static
constexpr
auto
RTTI
=
RTTI_ExtraTextDisplayData
;
17
inline
static
constexpr
auto
VTABLE
=
VTABLE_ExtraTextDisplayData
;
18
inline
static
constexpr
auto
EXTRADATATYPE
=
ExtraDataType::kTextDisplayData
;
19
20
enum class
DisplayDataType
21
{
22
kUninitialized
= -1,
23
kCustomName
= -2
24
};
25
26
ExtraTextDisplayData
();
27
explicit
ExtraTextDisplayData
(
const
char
* a_name);
28
ExtraTextDisplayData
(
TESBoundObject
* a_form,
float
a_temperFactor);
29
virtual
~ExtraTextDisplayData
() =
default
;
// 00
30
31
// override (BSExtraData)
32
virtual
ExtraDataType
GetType
()
const override
;
// 01 - { return kTextDisplayData; }
33
34
const
char
*
GetDisplayName
(
TESBoundObject
* a_form,
float
a_temperFactor);
35
bool
IsPlayerSet
()
const
;
36
void
SetName
(
const
char
* a_name);
37
38
// members
39
BSFixedString
displayName
;
// 10
40
BGSMessage
*
displayNameText
;
// 18
41
TESQuest
*
ownerQuest
;
// 20
42
REX::EnumSet<DisplayDataType, std::int32_t>
ownerInstance
;
// 28
43
float
temperFactor
;
// 2C
44
std::uint16_t
customNameLength
;
// 30 - length w/o temper string, only valid if ownerInstance is kCustomName
45
std::uint16_t
pad32
;
// 32
46
std::uint32_t
pad34
;
// 34
47
};
48
static_assert(
sizeof
(
ExtraTextDisplayData
) == 0x38);
49
}
BSExtraData.h
BSFixedString.h
ExtraDataTypes.h
REX::EnumSet< DisplayDataType, std::int32_t >
RE::BGSMessage
Definition:
BGSMessage.h:17
RE::BSExtraData
Definition:
BSExtraData.h:9
RE::ExtraTextDisplayData
Definition:
ExtraTextDisplayData.h:14
RE::ExtraTextDisplayData::pad34
std::uint32_t pad34
Definition:
ExtraTextDisplayData.h:46
RE::ExtraTextDisplayData::SetName
void SetName(const char *a_name)
RE::ExtraTextDisplayData::GetType
virtual ExtraDataType GetType() const override
RE::ExtraTextDisplayData::VTABLE
static constexpr auto VTABLE
Definition:
ExtraTextDisplayData.h:17
RE::ExtraTextDisplayData::ownerInstance
REX::EnumSet< DisplayDataType, std::int32_t > ownerInstance
Definition:
ExtraTextDisplayData.h:42
RE::ExtraTextDisplayData::ExtraTextDisplayData
ExtraTextDisplayData()
RE::ExtraTextDisplayData::RTTI
static constexpr auto RTTI
Definition:
ExtraTextDisplayData.h:16
RE::ExtraTextDisplayData::IsPlayerSet
bool IsPlayerSet() const
RE::ExtraTextDisplayData::EXTRADATATYPE
static constexpr auto EXTRADATATYPE
Definition:
ExtraTextDisplayData.h:18
RE::ExtraTextDisplayData::customNameLength
std::uint16_t customNameLength
Definition:
ExtraTextDisplayData.h:44
RE::ExtraTextDisplayData::ExtraTextDisplayData
ExtraTextDisplayData(TESBoundObject *a_form, float a_temperFactor)
RE::ExtraTextDisplayData::temperFactor
float temperFactor
Definition:
ExtraTextDisplayData.h:43
RE::ExtraTextDisplayData::displayNameText
BGSMessage * displayNameText
Definition:
ExtraTextDisplayData.h:40
RE::ExtraTextDisplayData::displayName
BSFixedString displayName
Definition:
ExtraTextDisplayData.h:39
RE::ExtraTextDisplayData::ownerQuest
TESQuest * ownerQuest
Definition:
ExtraTextDisplayData.h:41
RE::ExtraTextDisplayData::GetDisplayName
const char * GetDisplayName(TESBoundObject *a_form, float a_temperFactor)
RE::ExtraTextDisplayData::DisplayDataType
DisplayDataType
Definition:
ExtraTextDisplayData.h:21
RE::ExtraTextDisplayData::DisplayDataType::kUninitialized
@ kUninitialized
RE::ExtraTextDisplayData::DisplayDataType::kCustomName
@ kCustomName
RE::ExtraTextDisplayData::ExtraTextDisplayData
ExtraTextDisplayData(const char *a_name)
RE::ExtraTextDisplayData::pad32
std::uint16_t pad32
Definition:
ExtraTextDisplayData.h:45
RE::ExtraTextDisplayData::~ExtraTextDisplayData
virtual ~ExtraTextDisplayData()=default
RE::TESBoundObject
Definition:
TESBoundObject.h:24
RE::TESQuest
Definition:
TESQuest.h:189
RE::detail::BSFixedString< char >
RE
Definition:
AbsorbEffect.h:6
RE::VTABLE_ExtraTextDisplayData
constexpr std::array< REL::ID, 1 > VTABLE_ExtraTextDisplayData
Definition:
Offsets_VTABLE.h:11628
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kTextDisplayData
@ kTextDisplayData
RE::RTTI_ExtraTextDisplayData
constexpr REL::ID RTTI_ExtraTextDisplayData(static_cast< std::uint64_t >(684693))
CommonLibSSE
include
RE
E
ExtraTextDisplayData.h
Generated by
1.9.1