#include <ScoreboardRowWidget.h>
◆ Initialize()
| bool UScoreboardRowWidget::Initialize |
( |
| ) |
|
|
overridevirtual |
16{
17 const bool Success = Super::Initialize();
19 if (!ensure(
PingWidget !=
nullptr))
return false;
28 return true;
29}
◆ NativeConstruct()
| void UScoreboardRowWidget::NativeConstruct |
( |
| ) |
|
|
overridevirtual |
32{
33 Super::NativeConstruct();
35
36}
◆ SetPlayerState()
| void UScoreboardRowWidget::SetPlayerState |
( |
class APlayerState * | PlayerState | ) |
|
39{
40 if(PlayerState ==
nullptr){UE_LOG(LogMenuSystem,
Warning, TEXT(
"Player State Null in Scoreboard Row Widget"));
return;}
44
45
46
47
49 {
51
52 }
56 if(ProfilePicture != nullptr)
57 {
59 }
60 else
61 {
62 UE_LOG(LogMenuSystem,
Warning,TEXT(
"Profile Picture Failed - Scoreboard row widget"));
63 }
64}
static UTexture2D * GetProfilePictureImage(const UObject *WorldContextObject, const int32 PictureID)
Definition EpicOnlineBPLib.cpp:52
int32 ProfilePictureID
Definition BaseData.h:1249
◆ SetRowIndex()
| void UScoreboardRowWidget::SetRowIndex |
( |
int32 | Index | ) |
|
78{
81 {
83 }
84 else
85 {
87 }
89 {
91 }
92}
◆ UpdatePlayerStats()
| void UScoreboardRowWidget::UpdatePlayerStats |
( |
| ) |
|
67{
68 if(
AssociatedPlayerState ==
nullptr){UE_LOG(LogMenuSystem,
Warning, TEXT(
"AssociatedPlayerState Null in Scoreboard Row Widget"));
return;}
75}
static float CalculateRatio(const int32 Kills, const int32 Deaths)
Definition BaseHelpersBPLib.cpp:681
int32 Deaths
Definition BaseData.h:1193
float XP
Definition BaseData.h:1199
int32 Assists
Definition BaseData.h:1195
int32 Kills
Definition BaseData.h:1187
◆ AssistsTextBlock
| class UTextBlock* UScoreboardRowWidget::AssistsTextBlock |
|
protected |
◆ AssociatedPlayerState
◆ BackgroundImage
| class UImage* UScoreboardRowWidget::BackgroundImage |
|
protected |
◆ bIsLocalPlayer
| bool UScoreboardRowWidget::bIsLocalPlayer = false |
|
protected |
◆ DeathsTextBlock
| class UTextBlock* UScoreboardRowWidget::DeathsTextBlock |
|
protected |
◆ EvenColor
| FLinearColor UScoreboardRowWidget::EvenColor = FLinearColor::White |
|
protected |
◆ KDRatioTextBlock
| class UTextBlock* UScoreboardRowWidget::KDRatioTextBlock |
|
protected |
◆ KillsTextBlock
| class UTextBlock* UScoreboardRowWidget::KillsTextBlock |
|
protected |
◆ OddColor
| FLinearColor UScoreboardRowWidget::OddColor = FLinearColor::Black |
|
protected |
◆ PingWidget
◆ PlayerColor
| FLinearColor UScoreboardRowWidget::PlayerColor = FLinearColor::Blue |
|
protected |
◆ PlayerIconImage
| class UImage* UScoreboardRowWidget::PlayerIconImage |
|
protected |
◆ PlayerID
| int32 UScoreboardRowWidget::PlayerID = 0 |
|
protected |
◆ PlayerNameTextBlock
| class UTextBlock* UScoreboardRowWidget::PlayerNameTextBlock |
|
protected |
◆ ScoreboardID
| int32 UScoreboardRowWidget::ScoreboardID = 0 |
|
protected |
◆ StatWidth
| float UScoreboardRowWidget::StatWidth = 128.0f |
|
protected |
◆ TeamID
| int32 UScoreboardRowWidget::TeamID = 0 |
|
protected |
◆ XPTextBlock
| class UTextBlock* UScoreboardRowWidget::XPTextBlock |
|
protected |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/MenuSystem/Source/MenuSystem/Public/Widgets/Multiplayer/ScoreboardRowWidget.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/MenuSystem/Source/MenuSystem/Private/Widgets/Multiplayer/ScoreboardRowWidget.cpp