CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
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
EXTRADATATYPE
=
ExtraDataType::kTextDisplayData
;
18
19
enum class
DisplayDataType
20
{
21
kUninitialized
= -1,
22
kCustomName
= -2
23
};
24
25
ExtraTextDisplayData
();
26
explicit
ExtraTextDisplayData
(
const
char
* a_name);
27
ExtraTextDisplayData
(
TESBoundObject
* a_form,
float
a_temperFactor);
28
virtual
~ExtraTextDisplayData
() =
default
;
// 00
29
30
// override (BSExtraData)
31
virtual
ExtraDataType
GetType
()
const override
;
// 01 - { return kTextDisplayData; }
32
33
const
char
*
GetDisplayName
(
TESBoundObject
* a_form,
float
a_temperFactor);
34
bool
IsPlayerSet
()
const
;
35
void
SetName
(
const
char
* a_name);
36
37
// members
38
BSFixedString
displayName
;
// 10
39
BGSMessage
*
displayNameText
;
// 18
40
TESQuest
*
ownerQuest
;
// 20
41
stl::enumeration<DisplayDataType, std::int32_t>
ownerInstance
;
// 28
42
float
temperFactor
;
// 2C
43
std::uint16_t
customNameLength
;
// 30 - length w/o temper string, only valid if ownerInstance is kCustomName
44
std::uint16_t
pad32
;
// 32
45
std::uint32_t
pad34
;
// 34
46
};
47
static_assert
(
sizeof
(
ExtraTextDisplayData
) == 0x38);
48
}
BSExtraData.h
BSFixedString.h
ExtraDataTypes.h
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:45
RE::ExtraTextDisplayData::SetName
void SetName(const char *a_name)
RE::ExtraTextDisplayData::GetType
virtual ExtraDataType GetType() const override
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:17
RE::ExtraTextDisplayData::customNameLength
std::uint16_t customNameLength
Definition:
ExtraTextDisplayData.h:43
RE::ExtraTextDisplayData::ExtraTextDisplayData
ExtraTextDisplayData(TESBoundObject *a_form, float a_temperFactor)
RE::ExtraTextDisplayData::temperFactor
float temperFactor
Definition:
ExtraTextDisplayData.h:42
RE::ExtraTextDisplayData::displayNameText
BGSMessage * displayNameText
Definition:
ExtraTextDisplayData.h:39
RE::ExtraTextDisplayData::displayName
BSFixedString displayName
Definition:
ExtraTextDisplayData.h:38
RE::ExtraTextDisplayData::ownerQuest
TESQuest * ownerQuest
Definition:
ExtraTextDisplayData.h:40
RE::ExtraTextDisplayData::DisplayDataType
DisplayDataType
Definition:
ExtraTextDisplayData.h:20
RE::ExtraTextDisplayData::DisplayDataType::kUninitialized
@ kUninitialized
RE::ExtraTextDisplayData::DisplayDataType::kCustomName
@ kCustomName
RE::ExtraTextDisplayData::ExtraTextDisplayData
ExtraTextDisplayData(const char *a_name)
RE::ExtraTextDisplayData::ownerInstance
stl::enumeration< DisplayDataType, std::int32_t > ownerInstance
Definition:
ExtraTextDisplayData.h:41
RE::ExtraTextDisplayData::GetDisplayName
const char * GetDisplayName(TESBoundObject *a_form, float a_temperFactor)
RE::ExtraTextDisplayData::pad32
std::uint16_t pad32
Definition:
ExtraTextDisplayData.h:44
RE::ExtraTextDisplayData::~ExtraTextDisplayData
virtual ~ExtraTextDisplayData()=default
RE::TESBoundObject
Definition:
TESBoundObject.h:24
RE::TESQuest
Definition:
TESQuest.h:189
RE::detail::BSFixedString< char >
SKSE::stl::enumeration
Definition:
PCH.h:216
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_ExtraTextDisplayData
constexpr REL::ID RTTI_ExtraTextDisplayData
Definition:
Offsets_RTTI.h:4773
RE::ExtraDataType
ExtraDataType
Definition:
ExtraDataTypes.h:173
RE::ExtraDataType::kTextDisplayData
@ kTextDisplayData
CommonLibSSE
include
RE
E
ExtraTextDisplayData.h
Generated by
1.9.6