2024-10-21 19:47:37 -07:00
|
|
|
#pragma once
|
2024-04-13 08:09:22 -07:00
|
|
|
|
|
|
|
#include "GasaCommon.h"
|
2024-10-21 19:47:37 -07:00
|
|
|
#include "Engine/DataTable.h"
|
2024-04-13 08:09:22 -07:00
|
|
|
|
2024-10-21 19:47:37 -07:00
|
|
|
#include "GasaAbilitySystem.generated.h"
|
|
|
|
|
|
|
|
|
|
|
|
USTRUCT(BlueprintType)
|
|
|
|
struct GASA_API FAttributeSetField : public FTableRowBase
|
|
|
|
{
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
FAttributeSetField()
|
|
|
|
: Name("Provide_Name")
|
|
|
|
, Category("Optional Category")
|
2024-10-22 10:07:50 -07:00
|
|
|
, Description("Provide Description")
|
2024-10-21 19:47:37 -07:00
|
|
|
, BaseValue(0)
|
|
|
|
, bUseMinAttribute(false)
|
|
|
|
, bUseMaxAttribute(false)
|
|
|
|
, MinAttribute("Attribute behaving has minimum value")
|
|
|
|
, MinValue(0)
|
|
|
|
, MaxAttribute("Attribute behaving has maximum value")
|
|
|
|
, MaxValue(0)
|
|
|
|
{}
|
|
|
|
virtual ~FAttributeSetField()
|
|
|
|
{}
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute")
|
2024-10-22 10:07:50 -07:00
|
|
|
FName Name;
|
2024-10-21 19:47:37 -07:00
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute")
|
2024-10-22 10:07:50 -07:00
|
|
|
FName Category;
|
2024-10-21 19:47:37 -07:00
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute")
|
2024-10-22 10:07:50 -07:00
|
|
|
FString Description;
|
2024-10-21 19:47:37 -07:00
|
|
|
|
|
|
|
// UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute")
|
|
|
|
// FGameplayTag Tag;
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute")
|
|
|
|
float BaseValue;
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute")
|
|
|
|
bool bUseMinAttribute;
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute")
|
|
|
|
bool bUseMaxAttribute;
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute", meta =( EditCondition="bUseMinAttribute", EditConditionHides))
|
|
|
|
FString MinAttribute;
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute", meta =( EditCondition="bUseMinAttribute==false", EditConditionHides))
|
|
|
|
float MinValue;
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute", meta =( EditCondition="bUseMaxAttribute", EditConditionHides))
|
|
|
|
FString MaxAttribute;
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Gameplay Attribute", meta =( EditCondition="bUseMaxAttribute==false", EditConditionHides))
|
|
|
|
float MaxValue;
|
|
|
|
};
|