CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
BGSDialogueBranch.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/F/FormTypes.h"
5#include "RE/T/TESForm.h"
6
7namespace RE
8{
10 {
11 public:
12 inline static constexpr auto RTTI = RTTI_BGSDialogueBranch;
13 inline static constexpr auto FORMTYPE = FormType::DialogueBranch;
14
15 enum class Flag
16 {
17 kNone = 0,
18 kTopLevel = 1 << 0,
19 kBlocking = 1 << 1,
20 kExclusive = 1 << 2
21 };
22
24 {
25 enum RecordFlag : std::uint32_t
26 {
27 kDeleted = 1 << 5,
28 kIgnored = 1 << 12
29 };
30 };
31
32 ~BGSDialogueBranch() override; // 00
33
34 // override (TESForm)
35 void InitializeData() override; // 04
36 void ClearData() override; // 05
37 bool Load(TESFile* a_mod) override; // 06
38 void InitItemImpl() override; // 13
39
40 // members
42 std::uint32_t pad24; // 24
43 TESQuest* quest; // 28 - QNAM
44 TESTopic* startingTopic; // 30 - SNAM
45 DIALOGUE_TYPE type; // 38 - TNAM
46 std::uint32_t pad3C; // 3C
47 };
48 static_assert(sizeof(BGSDialogueBranch) == 0x40);
49}
Definition: BGSDialogueBranch.h:10
void InitializeData() override
void ClearData() override
~BGSDialogueBranch() override
stl::enumeration< Flag, std::uint32_t > flags
Definition: BGSDialogueBranch.h:41
std::uint32_t pad3C
Definition: BGSDialogueBranch.h:46
bool Load(TESFile *a_mod) override
TESTopic * startingTopic
Definition: BGSDialogueBranch.h:44
static constexpr auto RTTI
Definition: BGSDialogueBranch.h:12
static constexpr auto FORMTYPE
Definition: BGSDialogueBranch.h:13
Flag
Definition: BGSDialogueBranch.h:16
std::uint32_t pad24
Definition: BGSDialogueBranch.h:42
void InitItemImpl() override
TESQuest * quest
Definition: BGSDialogueBranch.h:43
DIALOGUE_TYPE type
Definition: BGSDialogueBranch.h:45
Definition: TESFile.h:14
Definition: TESForm.h:34
Definition: TESQuest.h:189
Definition: TESTopic.h:135
Definition: PCH.h:216
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSDialogueBranch
Definition: Offsets_RTTI.h:1282
Definition: BGSDialogueBranch.h:24
RecordFlag
Definition: BGSDialogueBranch.h:26
@ kIgnored
Definition: BGSDialogueBranch.h:28
@ kDeleted
Definition: BGSDialogueBranch.h:27
DIALOGUE_TYPE
Definition: DialogueTypes.h:8