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.
39 lines
742 B
39 lines
742 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, EditAnywhere)
|
|
bool Repeatable;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
|
TArray<FString> ApplicableTags;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
|
int32 Cost;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
|
float CostPerLevelMultiplier;
|
|
};
|