CommonLibSSE (powerof3)
BGSStoryTeller.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSTArray.h"
4 #include "RE/B/BSTEvent.h"
5 #include "RE/B/BSTHashMap.h"
6 #include "RE/B/BSTSingleton.h"
7 #include "RE/B/BSTTuple.h"
8 
9 namespace RE
10 {
11  class TESQuest;
12  struct TESQuestStageItemDoneEvent;
13 
15  public BSTSingletonSDM<BGSStoryTeller>, // 08
16  public BSTEventSink<TESQuestStageItemDoneEvent> // 00
17  {
18  public:
19  inline static constexpr auto RTTI = RTTI_BGSStoryTeller;
20  inline static constexpr auto VTABLE = VTABLE_BGSStoryTeller;
21 
22  ~BGSStoryTeller() override; // 00
23 
24  // override (BSTEventSink<TESQuestStageItemDoneEvent>)
25  BSEventNotifyControl ProcessEvent(const TESQuestStageItemDoneEvent* a_event, BSTEventSource<TESQuestStageItemDoneEvent>* a_eventSource) override; // 01
26 
28 
29  void BeginShutDownQuest(TESQuest* a_quest);
30  void BeginStartUpQuest(TESQuest* a_quest);
31 
32  // members
33  std::uint8_t pad09; // 09
34  std::uint16_t pad0A; // 0A
35  std::uint32_t pad0C; // 0C
43  std::uint8_t padA1; // A1
44  std::uint16_t padA2; // A2
45  std::uint32_t padA4; // A4
47  };
48  static_assert(sizeof(BGSStoryTeller) == 0xD8);
49 }
Definition: BGSStoryTeller.h:17
void BeginShutDownQuest(TESQuest *a_quest)
static constexpr auto RTTI
Definition: BGSStoryTeller.h:19
static constexpr auto VTABLE
Definition: BGSStoryTeller.h:20
BSTArray< TESQuest * > queuedStopQuests
Definition: BGSStoryTeller.h:38
BSTArray< TESQuest * > infoClearQuests
Definition: BGSStoryTeller.h:39
BSTArray< TESQuest * > queuedStartQuests
Definition: BGSStoryTeller.h:36
std::uint16_t pad0A
Definition: BGSStoryTeller.h:34
std::uint8_t padA1
Definition: BGSStoryTeller.h:43
std::uint8_t pad09
Definition: BGSStoryTeller.h:33
std::uint32_t pad0C
Definition: BGSStoryTeller.h:35
BSTHashMap< std::uint32_t, BSTArray< BSTTuple< std::uint32_t, std::uint32_t > > * > questStageWaitMap
Definition: BGSStoryTeller.h:46
BSEventNotifyControl ProcessEvent(const TESQuestStageItemDoneEvent *a_event, BSTEventSource< TESQuestStageItemDoneEvent > *a_eventSource) override
std::uint16_t padA2
Definition: BGSStoryTeller.h:44
static BGSStoryTeller * GetSingleton()
BSTArray< TESQuest * > greetingTopicQuests
Definition: BGSStoryTeller.h:41
BSTArray< TESQuest * > helloTopicQuests
Definition: BGSStoryTeller.h:40
BSTArray< TESQuest * > runningQuests
Definition: BGSStoryTeller.h:37
std::uint32_t padA4
Definition: BGSStoryTeller.h:45
bool startUpQuestsInitialized
Definition: BGSStoryTeller.h:42
void BeginStartUpQuest(TESQuest *a_quest)
~BGSStoryTeller() override
Definition: BSTArray.h:378
Definition: BSTEvent.h:143
Definition: BSTHashMap.h:21
Definition: TESQuest.h:189
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_BGSStoryTeller(static_cast< std::uint64_t >(686338))
constexpr std::array< REL::ID, 1 > VTABLE_BGSStoryTeller
Definition: Offsets_VTABLE.h:8878
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: BSTSingleton.h:50