#include <LeaderboardEntryWidget.h>
◆ Initialize()
| bool ULeaderboardEntryWidget::Initialize |
( |
| ) |
|
|
overrideprotectedvirtual |
10{
11 const bool bSuccess = Super::Initialize();
16 if(!bSuccess) return false;
17 return true;
18}
class UTextBlock * NameTextBlock
Definition LeaderboardEntryWidget.h:36
class UTextBlock * ScoreTextBlock
Definition LeaderboardEntryWidget.h:40
class UImage * PlayerImage
Definition LeaderboardEntryWidget.h:34
class UTextBlock * RankTextBlock
Definition LeaderboardEntryWidget.h:38
◆ NativeConstruct()
| void ULeaderboardEntryWidget::NativeConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
21{
22 Super::NativeConstruct();
23
24}
◆ OnLeaderboardEntrySet()
◆ SetLeaderboardEntry()
27{
28 const FText FormattedRank = FText::Format(NSLOCTEXT("","","#{0}"),
29 FText::AsNumber(LeaderboardEntry.
Rank));
34}
void OnLeaderboardEntrySet(const FSteamLeaderboardEntry &LeaderboardEntry, const ESteamAvatarSize AvatarSize)
int32 Score
Definition LeaderboardData.h:21
int32 Rank
Definition LeaderboardData.h:15
FString User
Definition LeaderboardData.h:19
◆ SetPlayerImage()
| void ULeaderboardEntryWidget::SetPlayerImage |
( |
UTexture2D * | Texture | ) |
|
◆ NameTextBlock
| class UTextBlock* ULeaderboardEntryWidget::NameTextBlock |
|
protected |
◆ PlayerImage
| class UImage* ULeaderboardEntryWidget::PlayerImage |
|
protected |
◆ RankTextBlock
| class UTextBlock* ULeaderboardEntryWidget::RankTextBlock |
|
protected |
◆ ScoreTextBlock
| class UTextBlock* ULeaderboardEntryWidget::ScoreTextBlock |
|
protected |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/SteamStats/Source/StatsIntegration/Public/Widgets/LeaderboardEntryWidget.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/SteamStats/Source/StatsIntegration/Private/Widgets/LeaderboardEntryWidget.cpp