Space Plunder
Loading...
Searching...
No Matches
StatListWidget.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 "SteamRequests.h"
7#include "Blueprint/UserWidget.h"
8#include "StatListWidget.generated.h"
9
13UCLASS()
14class STATSINTEGRATION_API UStatListWidget : public UUserWidget
15{
16 GENERATED_BODY()
17
18public:
19 explicit UStatListWidget(const FObjectInitializer& ObjectInitializer);
20
22 UFUNCTION(BlueprintCallable, Category="Stat")
23 void CreateStats(const TArray<FSteamStat> StatData);
24
25protected:
26 virtual bool Initialize() override;
27
28 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta = (BindWidget), Category="Stat|Widgets")
29 class UPanelWidget* StatsPanel = nullptr;
30
31private:
32 UPROPERTY(EditDefaultsOnly, Category="Stat|Widgets")
33 TSubclassOf<UUserWidget> StatClass = nullptr;
34
35};
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition StatListWidget.h:15