Space Plunder
Loading...
Searching...
No Matches
LeaderboardEntryWidget.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Blueprint/UserWidget.h"
9#include "LeaderboardEntryWidget.generated.h"
10
15UCLASS()
16class STATSINTEGRATION_API ULeaderboardEntryWidget : public UUserWidget
17{
18 GENERATED_BODY()
19
20public:
21
22 UFUNCTION(BlueprintCallable, Category="Leaderboard")
23 void SetLeaderboardEntry(const FSteamLeaderboardEntry& LeaderboardEntry, const ESteamAvatarSize AvatarSize);
24 UFUNCTION(BlueprintImplementableEvent, Category="Leaderboard")
25 void OnLeaderboardEntrySet(const FSteamLeaderboardEntry& LeaderboardEntry, const ESteamAvatarSize AvatarSize);
26 UFUNCTION(BlueprintCallable, Category="Leaderboard")
27 void SetPlayerImage(UTexture2D* Texture);
28
29protected:
30 virtual bool Initialize() override;
31 virtual void NativeConstruct() override;
32
33 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget), Category="Leaderboard|Widgets")
34 class UImage* PlayerImage;
35 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget), Category="Leaderboard|Widgets")
36 class UTextBlock* NameTextBlock;
37 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget), Category="Leaderboard|Widgets")
38 class UTextBlock* RankTextBlock;
39 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget), Category="Leaderboard|Widgets")
40 class UTextBlock* ScoreTextBlock;
41
42
43};
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
ESteamAvatarSize
Definition SteamFriendsData.h:10
Definition LeaderboardEntryWidget.h:17
Definition LeaderboardData.h:11