CommonLibSSE NG
Loading...
Searching...
No Matches
BGSAddonNode.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/F/FormTypes.h"
6
7namespace RE
8{
9 struct ADDON_DATA
10 {
11 public:
12 enum class Flag
13 {
14 kNone = 0,
16 };
17
18 // members
19 std::uint16_t masterParticleCap; // 0
21 std::uint8_t pad3; // 3
22 };
23 static_assert(sizeof(ADDON_DATA) == 0x4);
24
26 public TESBoundObject, // 00
27 public TESModelTextureSwap // 30
28 {
29 public:
30 inline static constexpr auto RTTI = RTTI_BGSAddonNode;
31 inline static constexpr auto VTABLE = VTABLE_BGSAddonNode;
32 inline static constexpr auto FORMTYPE = FormType::AddonNode;
33
35 {
36 enum RecordFlag : std::uint32_t
37 {
38 kDeleted = 1 << 5,
39 kIgnored = 1 << 12
40 };
41 };
42
43 ~BGSAddonNode() override; // 00
44
45 // override (TESBoundObject)
46 void InitializeData() override; // 04
47 bool Load(TESFile* a_mod) override; // 06
48 void InitItemImpl() override; // 13
49
50 // members
51 std::uint32_t index; // 68 - DATA
52 std::uint32_t pad6C; // 6C
54 ADDON_DATA data; // 78 - DNAM
55 std::uint32_t pad7C; // 7C
56 };
57 static_assert(sizeof(BGSAddonNode) == 0x80);
58}
Definition BGSAddonNode.h:28
static constexpr auto VTABLE
Definition BGSAddonNode.h:31
~BGSAddonNode() override
ADDON_DATA data
Definition BGSAddonNode.h:54
std::uint32_t pad7C
Definition BGSAddonNode.h:55
static constexpr auto RTTI
Definition BGSAddonNode.h:30
std::uint32_t index
Definition BGSAddonNode.h:51
BGSSoundDescriptorForm * sound
Definition BGSAddonNode.h:53
static constexpr auto FORMTYPE
Definition BGSAddonNode.h:32
std::uint32_t pad6C
Definition BGSAddonNode.h:52
void InitItemImpl() override
bool Load(TESFile *a_mod) override
void InitializeData() override
Definition BGSSoundDescriptorForm.h:14
Definition TESBoundObject.h:24
Definition TESFile.h:15
Definition TESModelTextureSwap.h:10
Definition PCH.h:223
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BGSAddonNode(513914, 392537, 0x1edaa30)
constexpr std::array< REL::VariantID, 2 > VTABLE_BGSAddonNode
Definition Offsets_VTABLE.h:437
Definition BGSAddonNode.h:10
std::uint16_t masterParticleCap
Definition BGSAddonNode.h:19
std::uint8_t pad3
Definition BGSAddonNode.h:21
stl::enumeration< Flag, std::uint8_t > flags
Definition BGSAddonNode.h:20
Flag
Definition BGSAddonNode.h:13
Definition BGSAddonNode.h:35
RecordFlag
Definition BGSAddonNode.h:37
@ kIgnored
Definition BGSAddonNode.h:39
@ kDeleted
Definition BGSAddonNode.h:38