CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
HUDObject.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/G/GFxValue.h"
4#include "RE/G/GPtr.h"
6
7namespace RE
8{
9 class FxDelegateArgs;
10 class GFxMovieView;
11 class UIMessage;
12
14 {
15 public:
16 inline static constexpr auto RTTI = RTTI_HUDObject;
17
19 {
20 enum HudComponent : std::uint32_t
21 {
22 kThis = 0,
32 };
33 };
35
37 virtual ~HUDObject(); // 00
38
39 // add
40 virtual void Update() = 0; // 01
41 virtual bool ProcessMessage(UIMessage* a_message); // 02 - { return false; }
42 virtual void RegisterHUDComponent(FxDelegateArgs& a_params); // 03 - { root = a_params[0]; }
43 virtual void CleanUp(); // 04 - { return; }
44
46
47 // members
49 GFxValue root; // 10 - kDisplayObject - "_level0.HUDMovieBaseInstance"
50 };
51 static_assert(sizeof(HUDObject) == 0x28);
52}
Definition: FxDelegateArgs.h:12
Definition: GFxMovieView.h:24
Definition: GFxValue.h:90
Definition: GPtr.h:7
Definition: HUDObject.h:14
HUDObject(GFxMovieView *a_view)
GFxValue root
Definition: HUDObject.h:49
virtual ~HUDObject()
static constexpr auto RTTI
Definition: HUDObject.h:16
virtual bool ProcessMessage(UIMessage *a_message)
virtual void CleanUp()
virtual void Update()=0
virtual void RegisterHUDComponent(FxDelegateArgs &a_params)
GPtr< GFxMovieView > view
Definition: HUDObject.h:48
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_HUDObject
Definition: Offsets_RTTI.h:4883
Definition: HUDObject.h:19
HudComponent
Definition: HUDObject.h:21
@ kSneakTextInstance
Definition: HUDObject.h:31
@ kSneakTextHolder
Definition: HUDObject.h:30
@ kBracketsInstance
Definition: HUDObject.h:28
@ kRolloverNameInstance
Definition: HUDObject.h:29
@ kStealthMeterInstance
Definition: HUDObject.h:26
@ kHudElements
Definition: HUDObject.h:23
@ kThis
Definition: HUDObject.h:22
@ kEnemyHealthMeter
Definition: HUDObject.h:25
@ kSneakAnimInstance
Definition: HUDObject.h:27
@ kQuestUpdateBaseInstance
Definition: HUDObject.h:24