CommonLibSSE (powerof3)
HUDNotifications.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 #include "RE/B/BSString.h"
5 #include "RE/B/BSTArray.h"
6 #include "RE/G/GFxValue.h"
7 #include "RE/H/HUDObject.h"
8 
9 namespace RE
10 {
11  class TESQuest;
12  class TESWordOfPower;
13 
14  class HUDNotifications : public HUDObject
15  {
16  public:
17  inline static constexpr auto RTTI = RTTI_HUDNotifications;
18  inline static constexpr auto VTABLE = VTABLE_HUDNotifications;
19 
20  struct Notification
21  {
22  public:
23  // members
24  BSString text; // 00
28  std::uint32_t type{ 0 }; // 40
29  std::uint32_t pad44{ 0 }; // 44
30  TESQuest* quest{ nullptr }; // 48
31  TESWordOfPower* word{ nullptr }; // 50
32  std::uint32_t time{ 0 }; // 58 - gameTime + iObjectivesWaitTime
33  std::uint32_t pad5C{ 0 }; // 5C
34  };
35  static_assert(sizeof(Notification) == 0x60);
36 
37  ~HUDNotifications() override; // 00
38 
39  // override (HUDObject)
40  void Update() override; // 01
41  bool ProcessMessage(UIMessage* a_message) override; // 02
42  void RegisterHUDComponent(FxDelegateArgs& a_params) override; // 03
43  void CleanUp() override; // 04
44 
45  // members
47  GFxValue root; // 40 - "HUDMovieBaseInstance.QuestUpdateBaseInstance"
48  GFxValue objectives; // 58 - "QuestNotification.ObjectivesA"
49  std::uint32_t time; // 70 - last meter update time
50  float levelPoints; // 74 - cached meter progress
51  };
52  static_assert(sizeof(HUDNotifications) == 0x78);
53 }
Definition: BSTArray.h:378
Definition: FxDelegateArgs.h:12
Definition: GFxValue.h:92
Definition: HUDNotifications.h:15
std::uint32_t time
Definition: HUDNotifications.h:49
~HUDNotifications() override
bool ProcessMessage(UIMessage *a_message) override
static constexpr auto VTABLE
Definition: HUDNotifications.h:18
static constexpr auto RTTI
Definition: HUDNotifications.h:17
void RegisterHUDComponent(FxDelegateArgs &a_params) override
GFxValue objectives
Definition: HUDNotifications.h:48
BSTArray< Notification > queue
Definition: HUDNotifications.h:46
float levelPoints
Definition: HUDNotifications.h:50
void Update() override
void CleanUp() override
GFxValue root
Definition: HUDNotifications.h:47
Definition: HUDObject.h:14
Definition: TESQuest.h:189
Definition: TESWordOfPower.h:13
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_HUDNotifications
Definition: Offsets_VTABLE.h:11735
constexpr REL::ID RTTI_HUDNotifications(static_cast< std::uint64_t >(688837))
Definition: HUDNotifications.h:21
std::uint32_t time
Definition: HUDNotifications.h:32
BSTArray< BSFixedString > objectives
Definition: HUDNotifications.h:27
TESWordOfPower * word
Definition: HUDNotifications.h:31
TESQuest * quest
Definition: HUDNotifications.h:30
std::uint32_t type
Definition: HUDNotifications.h:28
std::uint32_t pad44
Definition: HUDNotifications.h:29
BSString text
Definition: HUDNotifications.h:24
std::uint32_t pad5C
Definition: HUDNotifications.h:33
BSString status
Definition: HUDNotifications.h:25
BSFixedString sound
Definition: HUDNotifications.h:26