CommonLibSSE (powerof3)
BGSStoryManagerBranchNode.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "RE/B/BSTArray.h"
5 #include "RE/F/FormTypes.h"
6 
7 namespace RE
8 {
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_BGSStoryManagerBranchNode;
13  inline static constexpr auto VTABLE = VTABLE_BGSStoryManagerBranchNode;
14  inline static constexpr auto FORMTYPE = FormType::StoryManagerBranchNode;
15 
16  struct RecordFlags
17  {
18  enum RecordFlag : std::uint32_t
19  {
20  kDeleted = 1 << 5,
21  kIgnored = 1 << 12
22  };
23  };
24 
25  ~BGSStoryManagerBranchNode() override; // 00
26 
27  // override (BGSStoryManagerNodeBase)
28  void ClearData() override; // 05 - { BGSStoryManagerNodeBase::ClearData(); }
29  void InitItemImpl() override; // 13
30  std::uint32_t QChildCount() const override; // 3B - { return nodeChildren.size(); }
31  BGSStoryManagerTreeForm* GetChild(std::uint32_t a_idx) const override; // 3C - { return children[a_idx]; }
32  BGSStoryManagerTreeVisitor::VisitControl AcceptVisitor(BGSStoryManagerTreeVisitor& a_visitor) override; // 3E - { return a_visitor->VisitBranchNode(this); }
33 
34  // members
36  };
37  static_assert(sizeof(BGSStoryManagerBranchNode) == 0x60);
38 }
Definition: BGSStoryManagerBranchNode.h:10
std::uint32_t QChildCount() const override
static constexpr auto FORMTYPE
Definition: BGSStoryManagerBranchNode.h:14
BGSStoryManagerTreeForm * GetChild(std::uint32_t a_idx) const override
static constexpr auto RTTI
Definition: BGSStoryManagerBranchNode.h:12
BGSStoryManagerTreeVisitor::VisitControl AcceptVisitor(BGSStoryManagerTreeVisitor &a_visitor) override
BSTArray< BGSStoryManagerNodeBase * > children
Definition: BGSStoryManagerBranchNode.h:35
static constexpr auto VTABLE
Definition: BGSStoryManagerBranchNode.h:13
Definition: BGSStoryManagerNodeBase.h:9
Definition: BGSStoryManagerTreeForm.h:45
Definition: BGSStoryManagerTreeForm.h:16
VisitControl
Definition: BGSStoryManagerTreeForm.h:22
Definition: BSTArray.h:378
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BGSStoryManagerBranchNode
Definition: Offsets_VTABLE.h:8871
constexpr REL::ID RTTI_BGSStoryManagerBranchNode(static_cast< std::uint64_t >(513924))
@ StoryManagerBranchNode
Definition: BGSStoryManagerBranchNode.h:17
RecordFlag
Definition: BGSStoryManagerBranchNode.h:19
@ kIgnored
Definition: BGSStoryManagerBranchNode.h:21
@ kDeleted
Definition: BGSStoryManagerBranchNode.h:20