CommonLibSSE NG
Loading...
Searching...
No Matches
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
8namespace RE
9{
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
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
46 };
47 static_assert(sizeof(BGSColorForm) == 0x38);
48}
Definition BGSColorForm.h:13
static constexpr auto VTABLE
Definition BGSColorForm.h:16
Color color
Definition BGSColorForm.h:44
void InitializeData() override
static constexpr auto FORMTYPE
Definition BGSColorForm.h:17
~BGSColorForm() override
static constexpr auto RTTI
Definition BGSColorForm.h:15
bool Load(TESFile *a_mod) override
Flag
Definition BGSColorForm.h:20
bool IsPlayable() const
stl::enumeration< Flag, std::uint32_t > flags
Definition BGSColorForm.h:45
void ClearData() override
Definition TESFile.h:15
Definition TESForm.h:35
Definition TESFullName.h:9
Definition PCH.h:223
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 2 > VTABLE_BGSColorForm
Definition Offsets_VTABLE.h:710
constexpr REL::VariantID RTTI_BGSColorForm(513992, 392999, 0x1ee1e68)
Definition BGSColorForm.h:26
RecordFlag
Definition BGSColorForm.h:28
@ kDeleted
Definition BGSColorForm.h:29
@ kIgnored
Definition BGSColorForm.h:30
Definition Color.h:8