CommonLibSSE NG
BGSColorForm.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/C/Color.h
"
4
#include "
RE/F/FormTypes.h
"
5
#include "
RE/T/TESForm.h
"
6
#include "
RE/T/TESFullName.h
"
7
8
namespace
RE
9
{
10
class
BGSColorForm
:
11
public
TESForm
,
// 00
12
public
TESFullName
// 20
13
{
14
public
:
15
inline
static
constexpr
auto
RTTI
=
RTTI_BGSColorForm
;
16
inline
static
constexpr
auto
VTABLE
=
VTABLE_BGSColorForm
;
17
inline
static
constexpr
auto
FORMTYPE
=
FormType::ColorForm
;
18
19
enum class
Flag
// FNAM
20
{
21
kNone
= 0,
22
kPlayable
= 1 << 0
23
};
24
25
struct
RecordFlags
26
{
27
enum
RecordFlag
: std::uint32_t
28
{
29
kDeleted
= 1 << 5,
30
kIgnored
= 1 << 12
31
};
32
};
33
34
~BGSColorForm
()
override
;
// 00
35
36
// override (TESForm)
37
void
InitializeData
()
override
;
// 04
38
void
ClearData
()
override
;
// 05
39
bool
Load
(
TESFile
* a_mod)
override
;
// 06
40
41
[[nodiscard]]
bool
IsPlayable
()
const
;
42
43
// memebrs
44
Color
color
;
// 30 - CNAM
45
stl::enumeration<Flag, std::uint32_t>
flags
;
// 34 - FNAM
46
};
47
static_assert(
sizeof
(
BGSColorForm
) == 0x38);
48
}
Color.h
FormTypes.h
TESForm.h
TESFullName.h
RE::BGSColorForm
Definition:
BGSColorForm.h:13
RE::BGSColorForm::VTABLE
static constexpr auto VTABLE
Definition:
BGSColorForm.h:16
RE::BGSColorForm::color
Color color
Definition:
BGSColorForm.h:44
RE::BGSColorForm::InitializeData
void InitializeData() override
RE::BGSColorForm::FORMTYPE
static constexpr auto FORMTYPE
Definition:
BGSColorForm.h:17
RE::BGSColorForm::~BGSColorForm
~BGSColorForm() override
RE::BGSColorForm::RTTI
static constexpr auto RTTI
Definition:
BGSColorForm.h:15
RE::BGSColorForm::Load
bool Load(TESFile *a_mod) override
RE::BGSColorForm::Flag
Flag
Definition:
BGSColorForm.h:20
RE::BGSColorForm::Flag::kNone
@ kNone
RE::BGSColorForm::Flag::kPlayable
@ kPlayable
RE::BGSColorForm::IsPlayable
bool IsPlayable() const
RE::BGSColorForm::flags
stl::enumeration< Flag, std::uint32_t > flags
Definition:
BGSColorForm.h:45
RE::BGSColorForm::ClearData
void ClearData() override
RE::TESFile
Definition:
TESFile.h:17
RE::TESForm
Definition:
TESForm.h:36
RE::TESFullName
Definition:
TESFullName.h:9
SKSE::stl::enumeration< Flag, std::uint32_t >
RE
Definition:
AbsorbEffect.h:6
RE::FormType::ColorForm
@ ColorForm
RE::VTABLE_BGSColorForm
constexpr std::array< REL::VariantID, 2 > VTABLE_BGSColorForm
Definition:
Offsets_VTABLE.h:710
RE::RTTI_BGSColorForm
constexpr REL::VariantID RTTI_BGSColorForm(513992, 392999, 0x1ee1e68)
RE::BGSColorForm::RecordFlags
Definition:
BGSColorForm.h:26
RE::BGSColorForm::RecordFlags::RecordFlag
RecordFlag
Definition:
BGSColorForm.h:28
RE::BGSColorForm::RecordFlags::kDeleted
@ kDeleted
Definition:
BGSColorForm.h:29
RE::BGSColorForm::RecordFlags::kIgnored
@ kIgnored
Definition:
BGSColorForm.h:30
RE::Color
Definition:
Color.h:8
CommonLibSSE-NG
include
RE
B
BGSColorForm.h
Generated by
1.9.1