CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
BGSStoryManagerNodeBase.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/T/TESCondition.h"
5
6namespace RE
7{
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_BGSStoryManagerNodeBase;
12 inline static constexpr auto VTABLE = VTABLE_BGSStoryManagerNodeBase;
13
14 struct Flags // DNAM
15 {
16 public:
17 enum class NodeFlag
18 {
19 kNone = 0,
20 kRandom = 1 << 0,
22 };
23
24 enum class QuestFlag
25 {
26 kNone = 0,
27 kDoAllBeforeRepeating = 1 << 0,
28 kSharesEvent = 1 << 1,
29 kNumQuestsToRun = 1 << 2
30 };
31
32 // members
35 };
36 static_assert(sizeof(Flags) == 0x4);
37
38 ~BGSStoryManagerNodeBase() override; // 00
39
40 // override (BGSStoryManagerTreeForm)
41 void InitializeData() override; // 04
42 void ClearData() override; // 05
43 bool Load(TESFile* a_mod) override; // 06
44 void InitItemImpl() override; // 13
45 TESCondition* QConditions() override; // 3D - { return &conditions; }
46
47 // members
50 std::uint32_t maxQuests; // 38 - XNAM
51 Flags flags; // 3C - DNAM
53 };
54 static_assert(sizeof(BGSStoryManagerNodeBase) == 0x48);
55}
Definition EnumSet.h:9
Definition BGSStoryManagerBranchNode.h:10
Definition BGSStoryManagerNodeBase.h:9
BGSStoryManagerNodeBase * previousSibling
Definition BGSStoryManagerNodeBase.h:49
Flags flags
Definition BGSStoryManagerNodeBase.h:51
std::uint32_t maxQuests
Definition BGSStoryManagerNodeBase.h:50
static constexpr auto VTABLE
Definition BGSStoryManagerNodeBase.h:12
BGSStoryManagerBranchNode * parent
Definition BGSStoryManagerNodeBase.h:48
void InitItemImpl() override
static constexpr auto RTTI
Definition BGSStoryManagerNodeBase.h:11
TESCondition * QConditions() override
void InitializeData() override
TESCondition conditions
Definition BGSStoryManagerNodeBase.h:52
bool Load(TESFile *a_mod) override
Definition BGSStoryManagerTreeForm.h:45
Definition TESCondition.h:992
Definition TESFile.h:17
Definition AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSStoryManagerNodeBase(static_cast< std::uint64_t >(513925))
constexpr std::array< REL::ID, 1 > VTABLE_BGSStoryManagerNodeBase
Definition Offsets_VTABLE.h:8873
Definition BGSStoryManagerNodeBase.h:15
NodeFlag
Definition BGSStoryManagerNodeBase.h:18
REX::EnumSet< NodeFlag, std::uint16_t > nodeFlags
Definition BGSStoryManagerNodeBase.h:33
REX::EnumSet< QuestFlag, std::uint16_t > questFags
Definition BGSStoryManagerNodeBase.h:34
QuestFlag
Definition BGSStoryManagerNodeBase.h:25