CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
HUDMeter.h
Go to the documentation of this file.
1#pragma once
2
4#include "RE/H/HUDObject.h"
5
6namespace RE
7{
8 class HUDMeter : public HUDObject
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_HUDMeter;
12
14 ~HUDMeter() override = default; // 00
15
16 // override (HUDObject)
17 void Update() override; // 01
18 bool ProcessMessage(UIMessage* a_message) override; // 02 - { return false; }
19
20 // add
21 virtual float GetFillPct(); // 05 - { return 100.0; }
22
23 void SetFillPct(bool a_forceUpdate);
24
25 // members
29 float fillPct; // 40
30 std::uint32_t pad44; // 44
31 };
32 static_assert(sizeof(HUDMeter) == 0x48);
33}
Definition: GFxMovieView.h:24
Definition: HUDMeter.h:9
HUDMeter(GFxMovieView *a_view)
void SetFillPct(bool a_forceUpdate)
std::uint32_t pad44
Definition: HUDMeter.h:30
void Update() override
BSFixedString setBlinkingName
Definition: HUDMeter.h:27
BSFixedString setPctName
Definition: HUDMeter.h:26
bool ProcessMessage(UIMessage *a_message) override
virtual float GetFillPct()
float fillPct
Definition: HUDMeter.h:29
BSFixedString fadeOutName
Definition: HUDMeter.h:28
static constexpr auto RTTI
Definition: HUDMeter.h:11
~HUDMeter() override=default
Definition: HUDObject.h:14
Definition: UIMessage.h:28
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_HUDMeter
Definition: Offsets_RTTI.h:4881