2022-05-23 18:41:30 +00:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "GameplayEffectUIData.h"
|
2022-09-13 07:18:28 +00:00
|
|
|
#include "Internationalization/Text.h"
|
|
|
|
#include "UObject/ObjectPtr.h"
|
|
|
|
#include "UObject/UObjectGlobals.h"
|
|
|
|
|
2022-05-23 18:41:30 +00:00
|
|
|
#include "TopDownArenaPickupUIData.generated.h"
|
|
|
|
|
|
|
|
class UNiagaraSystem;
|
2022-09-13 07:18:28 +00:00
|
|
|
class UObject;
|
2022-05-23 18:41:30 +00:00
|
|
|
class USoundBase;
|
2022-09-13 07:18:28 +00:00
|
|
|
class UTexture2D;
|
2022-05-23 18:41:30 +00:00
|
|
|
|
|
|
|
// Icon and display name for pickups in the top-down arena game
|
|
|
|
UCLASS(BlueprintType)
|
|
|
|
class UTopDownArenaPickupUIData : public UGameplayEffectUIData
|
|
|
|
{
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
// The full description of the pickup
|
|
|
|
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category=Data, meta=(MultiLine="true"))
|
|
|
|
FText Description;
|
|
|
|
|
|
|
|
// The short description of the pickup (displayed by the player name when picked up)
|
|
|
|
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category=Data, meta=(MultiLine="true"))
|
|
|
|
FText ShortDescriptionForToast;
|
|
|
|
|
|
|
|
// The icon material used to show the pickup in the world
|
|
|
|
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category=Data)
|
|
|
|
TObjectPtr<UTexture2D> IconTexture;
|
|
|
|
|
|
|
|
// The pickup VFX override
|
|
|
|
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = Data)
|
|
|
|
TObjectPtr<UNiagaraSystem> PickupVFX;
|
|
|
|
|
|
|
|
// The pickup SFX override (if not set, a default will play)
|
|
|
|
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = Data)
|
|
|
|
TObjectPtr<USoundBase> PickupSFX;
|
|
|
|
};
|