#include <QuestPlayerStats.h>
◆ Initialize()
| bool UQuestPlayerStats::Initialize |
( |
| ) |
|
|
overrideprotectedvirtual |
12{
13 const bool Success = Super::Initialize();
16 if (!ensure(
XPOverlay !=
nullptr))
return false;
20
21 return true;
22}
class UOverlay * CreditsOverlay
Definition QuestPlayerStats.h:37
class UOverlay * XPOverlay
Definition QuestPlayerStats.h:39
class UProgressBar * XPProgressBar
Definition QuestPlayerStats.h:41
class UTextBlock * XPTextBlock
Definition QuestPlayerStats.h:44
class UTextBlock * CreditsTextBlock
Definition QuestPlayerStats.h:46
◆ NativeConstruct()
| void UQuestPlayerStats::NativeConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
30{
31 Super::NativeConstruct();
32}
◆ NativePreConstruct()
| void UQuestPlayerStats::NativePreConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
25{
26 Super::NativePreConstruct();
27}
◆ OnExperienceSet()
| void UQuestPlayerStats::OnExperienceSet |
( |
const int32 | Value | ) |
|
◆ SetCredits()
| void UQuestPlayerStats::SetCredits |
( |
const int32 | Value | ) |
|
|
overridevirtual |
◆ SetExperience()
| void UQuestPlayerStats::SetExperience |
( |
const int32 | Value | ) |
|
|
overridevirtual |
Implements IRewards.
41{
43 XPTextBlock->SetText(FText::FromString(FString::FromInt(Value)));
45 {
48 }
50}
static int32 XP_PER_LEVEL
Definition BaseData.h:707
void OnExperienceSet(const int32 Value)
◆ bDebuggingMode
| bool UQuestPlayerStats::bDebuggingMode = false |
|
protected |
◆ CreditsOverlay
| class UOverlay* UQuestPlayerStats::CreditsOverlay = nullptr |
|
protected |
◆ CreditsTextBlock
| class UTextBlock* UQuestPlayerStats::CreditsTextBlock = nullptr |
|
protected |
◆ XPOverlay
| class UOverlay* UQuestPlayerStats::XPOverlay = nullptr |
|
protected |
◆ XPProgressBar
| class UProgressBar* UQuestPlayerStats::XPProgressBar = nullptr |
|
protected |
◆ XPTextBlock
| class UTextBlock* UQuestPlayerStats::XPTextBlock = nullptr |
|
protected |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/QuestSystem/Source/QuestSystem/Public/Widgets/QuestPlayerStats.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/QuestSystem/Source/QuestSystem/Private/Widgets/QuestPlayerStats.cpp