#include <StatListWidget.h>
|
| TSubclassOf< UUserWidget > | StatClass = nullptr |
| |
◆ UStatListWidget()
| UStatListWidget::UStatListWidget |
( |
const FObjectInitializer & | ObjectInitializer | ) |
|
|
explicit |
10 :Super(ObjectInitializer)
11{
12 const ConstructorHelpers::FClassFinder<UUserWidget> StatWidget(TEXT("/StatsIntegration/Widgets/WBP_Stat"));
13 if (!ensure(StatWidget.Class != nullptr)) return;
15}
◆ CreateStats()
| void UStatListWidget::CreateStats |
( |
const TArray< FSteamStat > | StatData | ) |
|
Only Name, API Name, and Type should be filled
18{
20 for (auto Element : StatData)
21 {
23 if(NewStat == nullptr){return;}
26 }
27}
◆ Initialize()
| bool UStatListWidget::Initialize |
( |
| ) |
|
|
overrideprotectedvirtual |
30{
31 const bool bSuccess = Super::Initialize();
32 if (!ensure(
StatsPanel !=
nullptr))
return false;
33 if(!bSuccess) return false;
34 return true;
35}
◆ StatClass
| TSubclassOf<UUserWidget> UStatListWidget::StatClass = nullptr |
|
private |
◆ StatsPanel
| class UPanelWidget* UStatListWidget::StatsPanel = nullptr |
|
protected |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/SteamStats/Source/StatsIntegration/Public/Widgets/StatListWidget.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/SteamStats/Source/StatsIntegration/Private/Widgets/StatListWidget.cpp