// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Engine/DataAsset.h" #include "Upgrade.generated.h" /** * */ UCLASS() class SPACEBATTLER_API UUpgrade : public UPrimaryDataAsset { GENERATED_BODY() public: TArray GetApplicableTags(); protected: UPROPERTY(BlueprintReadWrite) FText Name; UPROPERTY(BlueprintReadWrite, meta=(MultiLine=true)) FText Description; UPROPERTY(BlueprintReadWrite) bool Repeatable; UPROPERTY(BlueprintReadWrite, EditAnywhere) TArray ApplicableTags; UPROPERTY(BlueprintReadWrite, EditAnywhere) int32 Cost; UPROPERTY(BlueprintReadWrite, EditAnywhere) float CostPerLevelMultiplier; };