CommonLibSSE NG
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 
21  ~BGSStoryTeller() override; // 00
22 
23  // override (BSTEventSink<TESQuestStageItemDoneEvent>)
24  BSEventNotifyControl ProcessEvent(const TESQuestStageItemDoneEvent* a_event, BSTEventSource<TESQuestStageItemDoneEvent>* a_eventSource) override; // 01
25 
27 
28  void BeginShutDownQuest(TESQuest* a_quest);
29  void BeginStartUpQuest(TESQuest* a_quest);
30 
31  // members
32  std::uint8_t pad09; // 09
33  std::uint16_t pad0A; // 0A
34  std::uint32_t pad0C; // 0C
42  std::uint8_t padA1; // A1
43  std::uint16_t padA2; // A2
44  std::uint32_t padA4; // A4
46  };
47  static_assert(sizeof(BGSStoryTeller) == 0xD8);
48 }
Definition: BGSStoryTeller.h:17
void BeginShutDownQuest(TESQuest *a_quest)
static constexpr auto RTTI
Definition: BGSStoryTeller.h:19
BSTArray< TESQuest * > queuedStopQuests
Definition: BGSStoryTeller.h:37
BSTArray< TESQuest * > infoClearQuests
Definition: BGSStoryTeller.h:38
BSTArray< TESQuest * > queuedStartQuests
Definition: BGSStoryTeller.h:35
std::uint16_t pad0A
Definition: BGSStoryTeller.h:33
std::uint8_t padA1
Definition: BGSStoryTeller.h:42
std::uint8_t pad09
Definition: BGSStoryTeller.h:32
std::uint32_t pad0C
Definition: BGSStoryTeller.h:34
BSTHashMap< std::uint32_t, BSTArray< BSTTuple< std::uint32_t, std::uint32_t > > * > questStageWaitMap
Definition: BGSStoryTeller.h:45
BSEventNotifyControl ProcessEvent(const TESQuestStageItemDoneEvent *a_event, BSTEventSource< TESQuestStageItemDoneEvent > *a_eventSource) override
std::uint16_t padA2
Definition: BGSStoryTeller.h:43
static BGSStoryTeller * GetSingleton()
BSTArray< TESQuest * > greetingTopicQuests
Definition: BGSStoryTeller.h:40
BSTArray< TESQuest * > helloTopicQuests
Definition: BGSStoryTeller.h:39
BSTArray< TESQuest * > runningQuests
Definition: BGSStoryTeller.h:36
std::uint32_t padA4
Definition: BGSStoryTeller.h:44
bool startUpQuestsInitialized
Definition: BGSStoryTeller.h:41
void BeginStartUpQuest(TESQuest *a_quest)
~BGSStoryTeller() override
Definition: BSTArray.h:377
Definition: BSTEvent.h:143
Definition: BSTHashMap.h:21
Definition: TESQuest.h:189
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BGSStoryTeller(686338, 394147, 0x1efbbf0)
BSEventNotifyControl
Definition: BSTEvent.h:12
Definition: BSTSingleton.h:50