CommonLibSSE (Parapets fork)
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 FORMTYPE = FormType::StoryManagerBranchNode;
14 
15  struct RecordFlags
16  {
17  enum RecordFlag : std::uint32_t
18  {
19  kDeleted = 1 << 5,
20  kIgnored = 1 << 12
21  };
22  };
23 
24  ~BGSStoryManagerBranchNode() override; // 00
25 
26  // override (BGSStoryManagerNodeBase)
27  void ClearData() override; // 05 - { BGSStoryManagerNodeBase::ClearData(); }
28  void InitItemImpl() override; // 13
29  std::uint32_t QChildCount() const override; // 3B - { return nodeChildren.size(); }
30  BGSStoryManagerTreeForm* GetChild(std::uint32_t a_idx) const override; // 3C - { return children[a_idx]; }
31  BGSStoryManagerTreeVisitor::VisitControl AcceptVisitor(BGSStoryManagerTreeVisitor& a_visitor) override; // 3E - { return a_visitor->VisitBranchNode(this); }
32 
33  // members
35  };
36  static_assert(sizeof(BGSStoryManagerBranchNode) == 0x60);
37 }
Definition: BGSStoryManagerBranchNode.h:10
std::uint32_t QChildCount() const override
static constexpr auto FORMTYPE
Definition: BGSStoryManagerBranchNode.h:13
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:34
Definition: BGSStoryManagerNodeBase.h:9
Definition: BGSStoryManagerTreeForm.h:44
Definition: BGSStoryManagerTreeForm.h:16
VisitControl
Definition: BGSStoryManagerTreeForm.h:21
Definition: BSTArray.h:377
Definition: AbsorbEffect.h:6
@ StoryManagerBranchNode
constexpr REL::ID RTTI_BGSStoryManagerBranchNode
Definition: Offsets_RTTI.h:1549
Definition: BGSStoryManagerBranchNode.h:16
RecordFlag
Definition: BGSStoryManagerBranchNode.h:18
@ kIgnored
Definition: BGSStoryManagerBranchNode.h:20
@ kDeleted
Definition: BGSStoryManagerBranchNode.h:19