CommonLibSSE (Parapets fork)
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
FORMTYPE
=
FormType::ColorForm
;
17
18
enum class
Flag
// FNAM
19
{
20
kNone
= 0,
21
kPlayable
= 1 << 0
22
};
23
24
struct
RecordFlags
25
{
26
enum
RecordFlag
: std::uint32_t
27
{
28
kDeleted
= 1 << 5,
29
kIgnored
= 1 << 12
30
};
31
};
32
33
~BGSColorForm
()
override
;
// 00
34
35
// override (TESForm)
36
void
InitializeData
()
override
;
// 04
37
void
ClearData
()
override
;
// 05
38
bool
Load
(
TESFile
* a_mod)
override
;
// 06
39
40
[[nodiscard]]
bool
IsPlayable
()
const
;
41
42
// memebrs
43
Color
color
;
// 30 - CNAM
44
stl::enumeration<Flag, std::uint32_t>
flags
;
// 34 - FNAM
45
};
46
static_assert(
sizeof
(
BGSColorForm
) == 0x38);
47
}
Color.h
FormTypes.h
TESForm.h
TESFullName.h
RE::BGSColorForm
Definition:
BGSColorForm.h:13
RE::BGSColorForm::color
Color color
Definition:
BGSColorForm.h:43
RE::BGSColorForm::InitializeData
void InitializeData() override
RE::BGSColorForm::FORMTYPE
static constexpr auto FORMTYPE
Definition:
BGSColorForm.h:16
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:19
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:44
RE::BGSColorForm::ClearData
void ClearData() override
RE::TESFile
Definition:
TESFile.h:14
RE::TESForm
Definition:
TESForm.h:34
RE::TESFullName
Definition:
TESFullName.h:9
SKSE::stl::enumeration< Flag, std::uint32_t >
RE
Definition:
AbsorbEffect.h:6
RE::FormType::ColorForm
@ ColorForm
RE::RTTI_BGSColorForm
constexpr REL::ID RTTI_BGSColorForm
Definition:
Offsets_RTTI.h:1276
RE::BGSColorForm::RecordFlags
Definition:
BGSColorForm.h:25
RE::BGSColorForm::RecordFlags::RecordFlag
RecordFlag
Definition:
BGSColorForm.h:27
RE::BGSColorForm::RecordFlags::kDeleted
@ kDeleted
Definition:
BGSColorForm.h:28
RE::BGSColorForm::RecordFlags::kIgnored
@ kIgnored
Definition:
BGSColorForm.h:29
RE::Color
Definition:
Color.h:6
CommonLibSSE
include
RE
B
BGSColorForm.h
Generated by
1.9.1