You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
absg/Source/SpaceBattler/Public/Upgrade.h

39 lines
728 B

// 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<FString> GetApplicableTags();
protected:
UPROPERTY(BlueprintReadWrite)
FText Name;
UPROPERTY(BlueprintReadWrite, meta=(MultiLine=true))
FText Description;
UPROPERTY(BlueprintReadWrite)
bool Repeatable;
UPROPERTY(BlueprintReadWrite, EditAnywhere)
TArray<FString> ApplicableTags;
UPROPERTY(BlueprintReadWrite, EditAnywhere)
int32 Cost;
UPROPERTY(BlueprintReadWrite, EditAnywhere)
float CostPerLevelMultiplier;
};