mirror of
https://github.com/FortniteModdingHub/FNGameProj.git
synced 2026-09-03 04:23:31 +00:00
59 lines
1.7 KiB
C++
59 lines
1.7 KiB
C++
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "FortActivatablePanel.h"
|
|
#include "FortFeatureUnlockWidget.generated.h"
|
|
|
|
class UCommonLazyImage;
|
|
class UCommonWidgetSwitcher;
|
|
class UFortVideoPlayerWidget;
|
|
class UMediaSource;
|
|
class UTexture2D;
|
|
class UWidget;
|
|
|
|
UCLASS(Abstract, Blueprintable, EditInlineNew)
|
|
class UFortFeatureUnlockWidget : public UFortActivatablePanel {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UCommonWidgetSwitcher* MediaSwitcher;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UWidget* VideoContent;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UWidget* ImageContent;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UFortVideoPlayerWidget* VideoWidget;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
|
|
UCommonLazyImage* ImageWidget;
|
|
|
|
public:
|
|
UFortFeatureUnlockWidget();
|
|
UFUNCTION(BlueprintCallable)
|
|
void SetData(const FString& ItemTemplateID);
|
|
|
|
protected:
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void RefreshDataBP();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
UMediaSource* GetVideo() const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
FText GetTitle() const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
TSoftObjectPtr<UTexture2D> GetSmallIcon() const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
TSoftObjectPtr<UTexture2D> GetLargeIcon() const;
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
FText GetDescription() const;
|
|
|
|
};
|
|
|