#include <DelayedHpBarWidget.h>
◆ GetHealthPercent()
| float UDelayedHpBarWidget::GetHealthPercent |
( |
| ) |
const |
|
protected |
◆ NativeDestruct()
| void UDelayedHpBarWidget::NativeDestruct |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ RefreshDelayedHpBar()
| void UDelayedHpBarWidget::RefreshDelayedHpBar |
( |
| ) |
|
|
protected |
37{
39
41 {
43 return;
44 }
45
48}
◆ SetAbilitySystemComponent()
| void UDelayedHpBarWidget::SetAbilitySystemComponent |
( |
AActor * |
InOwner | ) |
|
|
overridevirtual |
◆ SetDelayedHpBarPercent()
| void UDelayedHpBarWidget::SetDelayedHpBarPercent |
( |
float |
InPercent | ) |
|
|
protected |
116{
118
120 {
121 return;
122 }
123
125}
◆ StartDelayedHpBarDecrease()
| void UDelayedHpBarWidget::StartDelayedHpBarDecrease |
( |
float |
InTargetPercent | ) |
|
|
protected |
52{
53 UWorld* World = GetWorld();
54
55 if (World == nullptr)
56 {
58 return;
59 }
60
64
66 {
69 return;
70 }
71
73}
◆ StopDelayedHpBarDecrease()
| void UDelayedHpBarWidget::StopDelayedHpBarDecrease |
( |
| ) |
|
|
protected |
77{
78 UWorld* World = GetWorld();
79
80 if (World == nullptr)
81 {
83 return;
84 }
85
87}
◆ UpdateDelayedHpBarDecrease()
| void UDelayedHpBarWidget::UpdateDelayedHpBarDecrease |
( |
| ) |
|
|
protected |
90{
91 UWorld* World = GetWorld();
92
93 if (World == nullptr)
94 {
97 return;
98 }
99
101
105
106 if (Alpha < 1.0f)
107 {
108 return;
109 }
110
112}
◆ UpdateHpBar()
| void UDelayedHpBarWidget::UpdateHpBar |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ UpdateHpText()
| void UDelayedHpBarWidget::UpdateHpText |
( |
| ) |
const |
|
protected |
135{
137 {
138 return;
139 }
140
141 FFormatNamedArguments Args;
142 Args.Add(TEXT(
"CHP"), FText::AsNumber(
static_cast<int32
>(
CurrentHealth)));
143 Args.Add(TEXT(
"MHP"), FText::AsNumber(
static_cast<int32
>(
CurrentMaxHealth)));
145}
◆ DelayedDecreaseDuration
| float UDelayedHpBarWidget::DelayedDecreaseDuration = 0.5f |
|
protected |
◆ DelayedDecreaseElapsedTime
| float UDelayedHpBarWidget::DelayedDecreaseElapsedTime = 0.0f |
|
protected |
◆ DelayedDecreaseStartPercent
| float UDelayedHpBarWidget::DelayedDecreaseStartPercent = 1.0f |
|
protected |
◆ DelayedDecreaseTargetPercent
| float UDelayedHpBarWidget::DelayedDecreaseTargetPercent = 1.0f |
|
protected |
◆ DelayedDecreaseTimerHandle
| FTimerHandle UDelayedHpBarWidget::DelayedDecreaseTimerHandle |
|
private |
◆ DelayedHealthPercent
| float UDelayedHpBarWidget::DelayedHealthPercent = 1.0f |
|
protected |
◆ DelayedHealthProgressBar
| TObjectPtr<UProgressBar> UDelayedHpBarWidget::DelayedHealthProgressBar |
|
protected |
◆ DelayedUpdateInterval
| float UDelayedHpBarWidget::DelayedUpdateInterval = 0.016f |
|
protected |
◆ HpText
| TObjectPtr<UTextBlock> UDelayedHpBarWidget::HpText |
|
protected |
◆ HpTextFormat
| FText UDelayedHpBarWidget::HpTextFormat = FText::FromString("{CHP} / {MHP}") |
|
protected |
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: