CommonLibSSE NG
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 inline static constexpr auto VTABLE = VTABLE_HUDMeter;
13
15 ~HUDMeter() override = default; // 00
16
17 // override (HUDObject)
18 void Update() override; // 01
19 bool ProcessMessage(UIMessage* a_message) override; // 02 - { return false; }
20
21 // add
22 virtual float GetFillPct(); // 05 - { return 100.0; }
23
24 void SetFillPct(bool a_forceUpdate);
25
26 // members
30 float fillPct; // 40
31 std::uint32_t pad44; // 44
32 };
33 static_assert(sizeof(HUDMeter) == 0x48);
34}
Definition GFxMovieView.h:24
Definition HUDMeter.h:9
HUDMeter(GFxMovieView *a_view)
void SetFillPct(bool a_forceUpdate)
std::uint32_t pad44
Definition HUDMeter.h:31
void Update() override
BSFixedString setBlinkingName
Definition HUDMeter.h:28
BSFixedString setPctName
Definition HUDMeter.h:27
bool ProcessMessage(UIMessage *a_message) override
static constexpr auto VTABLE
Definition HUDMeter.h:12
virtual float GetFillPct()
float fillPct
Definition HUDMeter.h:30
BSFixedString fadeOutName
Definition HUDMeter.h:29
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::VariantID RTTI_HUDMeter(688835, 396687, 0x1f467f8)
constexpr std::array< REL::VariantID, 1 > VTABLE_HUDMeter
Definition Offsets_VTABLE.h:4041