CommonLibSSE NG
Loading...
Searching...
No Matches
BGSReferenceEffect.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/F/FormTypes.h"
4#include "RE/T/TESForm.h"
5
6namespace RE
7{
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_BGSReferenceEffect;
12 inline static constexpr auto VTABLE = VTABLE_BGSReferenceEffect;
13 inline static constexpr auto FORMTYPE = FormType::ReferenceEffect;
14
15 enum class Flag
16 {
17 kNone = 0,
18 kFaceTarget = 1 << 0,
19 kAttachToCamera = 1 << 1,
20 kInheritRotation = 1 << 2
21 };
22
24 {
25 enum RecordFlag : std::uint32_t
26 {
27 kDeleted = 1 << 5,
28 kIgnored = 1 << 12
29 };
30 };
31
32 struct Data // DATA
33 {
34 public:
35 // members
39 std::uint32_t pad14; // 14
40 };
41 static_assert(sizeof(Data) == 0x18);
42
43 ~BGSReferenceEffect() override; // 00
44
45 // override (TESForm)
46 void InitializeData() override; // 04
47 void ClearData() override; // 05
48 bool Load(TESFile* a_mod) override; // 06
49 void InitItemImpl() override; // 13
50
51 // members
52 Data data; // 20 - DATA
53 };
54 static_assert(sizeof(BGSReferenceEffect) == 0x38);
55}
Definition BGSArtObject.h:12
Definition BGSReferenceEffect.h:9
bool Load(TESFile *a_mod) override
Flag
Definition BGSReferenceEffect.h:16
void InitItemImpl() override
void ClearData() override
static constexpr auto RTTI
Definition BGSReferenceEffect.h:11
Data data
Definition BGSReferenceEffect.h:52
void InitializeData() override
~BGSReferenceEffect() override
static constexpr auto VTABLE
Definition BGSReferenceEffect.h:12
static constexpr auto FORMTYPE
Definition BGSReferenceEffect.h:13
Definition TESEffectShader.h:182
Definition TESFile.h:15
Definition TESForm.h:35
Definition PCH.h:223
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BGSReferenceEffect(513873, 392258, 0x1ed7560)
constexpr std::array< REL::VariantID, 1 > VTABLE_BGSReferenceEffect
Definition Offsets_VTABLE.h:577
Definition BGSReferenceEffect.h:33
std::uint32_t pad14
Definition BGSReferenceEffect.h:39
BGSArtObject * artObject
Definition BGSReferenceEffect.h:36
TESEffectShader * effectShader
Definition BGSReferenceEffect.h:37
stl::enumeration< Flag, std::uint32_t > flags
Definition BGSReferenceEffect.h:38
Definition BGSReferenceEffect.h:24
RecordFlag
Definition BGSReferenceEffect.h:26
@ kDeleted
Definition BGSReferenceEffect.h:27
@ kIgnored
Definition BGSReferenceEffect.h:28