mirror of
https://github.com/FortniteModdingHub/FNGameProj.git
synced 2026-09-02 19:27:55 +00:00
44 lines
1.2 KiB
C++
44 lines
1.2 KiB
C++
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "CommonUserWidget.h"
|
|
#include "GameplayTagContainer.h"
|
|
#include "StatGroupData.h"
|
|
#include "AthenaProfileStatWidgetBase.generated.h"
|
|
|
|
class UAthenaBaseStatView;
|
|
class UAthenaProfileStatBox;
|
|
|
|
UCLASS(Abstract, Blueprintable, EditInlineNew)
|
|
class UAthenaProfileStatWidgetBase : public UCommonUserWidget {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FGameplayTag Stat;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UAthenaProfileStatBox* ProfileStatBox;
|
|
|
|
public:
|
|
UAthenaProfileStatWidgetBase();
|
|
UFUNCTION(BlueprintCallable)
|
|
void SetStatView(UAthenaBaseStatView* InStatView, bool RespectParentStatView);
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
void SetAsStat(const FGameplayTag& InStat);
|
|
|
|
protected:
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void OnStatChanged();
|
|
|
|
private:
|
|
UFUNCTION(BlueprintCallable)
|
|
void HandleStatViewChanged(UAthenaBaseStatView* StatView);
|
|
|
|
public:
|
|
UFUNCTION(BlueprintCallable)
|
|
TArray<FStatGroupData> CreateWeaponGroupData(int32 MaxToReturn, bool bIncludeOtherCategory, bool bPercentages);
|
|
|
|
};
|
|
|