#include <AttributeBar.h>
◆ UAttributeBar()
| UAttributeBar::UAttributeBar |
( |
const FObjectInitializer & | ObjectInitializer | ) |
|
|
explicit |
10 :Super(ObjectInitializer)
11{
12
13}
◆ Initialize()
| bool UAttributeBar::Initialize |
( |
| ) |
|
|
overrideprotectedvirtual |
33{
34 const bool Success = Super::Initialize();
39 return true;
40}
class UTextBlock * CurrentValueText
Definition AttributeBar.h:33
class UTextBlock * MaxValueText
Definition AttributeBar.h:35
class UProgressBar * ProgressBar
Definition AttributeBar.h:31
◆ NativeConstruct()
| void UAttributeBar::NativeConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
48{
49 Super::NativeConstruct();
50}
◆ NativePreConstruct()
| void UAttributeBar::NativePreConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
43{
44 Super::NativePreConstruct();
45}
◆ OnUpdateAttribute()
| void UAttributeBar::OnUpdateAttribute |
( |
const float | CurrentLevel, |
|
|
const float | MaxLevel ) |
◆ UpdateAttribute()
| void UAttributeBar::UpdateAttribute |
( |
const float | CurrentLevel, |
|
|
const float | MaxLevel ) |
16{
19 {
20 CurrentValueText->SetText(FText::FromString(FString::FromInt(CurrentLevel)));
21 }
23 {
24 MaxValueText->SetText(FText::FromString(FString::FromInt(MaxLevel)));
25 }
27 {
29 }
30}
void OnUpdateAttribute(const float CurrentLevel, const float MaxLevel)
◆ CurrentValueText
| class UTextBlock* UAttributeBar::CurrentValueText = nullptr |
|
protected |
◆ MaxValueText
| class UTextBlock* UAttributeBar::MaxValueText = nullptr |
|
protected |
◆ ProgressBar
| class UProgressBar* UAttributeBar::ProgressBar = nullptr |
|
protected |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/BaseHelpers/Source/BaseHelpers/Public/Widgets/AttributeBar.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/BaseHelpers/Source/BaseHelpers/Private/Widgets/AttributeBar.cpp