Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AttributeSet.h |
Include |
#include "AttributeSet.h" |
USTRUCT(BlueprintType)
struct FGameplayAttribute
Describes a FGameplayAttributeData or float property inside an attribute set. Using this provides editor UI and helper functions
Name | Description | ||
---|---|---|---|
|
AttributeName |
Name of the attribute, usually the same as property name |
Name | Description | |
---|---|---|
|
FGameplayAttribute() |
|
|
FGameplayAttribute ( |
Name | Description | ||
---|---|---|---|
|
GetAllAttributeProperties |
In editor, this will filter out properties with meta tag "HideInDetailsView" or equal to FilterMetaStr. |
|
|
UClass * |
GetAttributeSetClass() |
Returns the AttributeSet subclass holding this attribute |
|
FGameplayAtt... |
GetGameplayAttributeData ( |
Returns the AttributeData, will fail if this is a float attribute |
|
const FGamep... |
GetGameplayAttributeData ( |
Returns the AttributeData, will fail if this is a float attribute |
|
const FGamep... |
GetGameplayAttributeDataChecked ( |
Returns the AttributeData, will fail if this is a float attribute |
|
FGameplayAtt... |
GetGameplayAttributeDataChecked ( |
Returns the AttributeData, will fail if this is a float attribute |
|
GetName() |
Returns name of attribute, usually the same as the property |
|
|
float |
GetNumericValue ( |
Returns the current value of an attribute |
|
float |
GetNumericValueChecked ( |
Returns the current value of an attribute |
|
FProperty &#... |
GetUProperty() |
Returns raw property |
|
IsGameplayAttributeDataProperty ( |
Returns true if the variable associated with Property is of type FGameplayAttributeData or one of its subclasses |
|
|
IsSystemAttribute() |
Returns true if this is one of the special attributes defined on the AbilitySystemComponent itself |
|
|
IsValid() |
||
|
PostSerialize ( |
Custom serialization |
|
|
SetNumericValueChecked ( |
Modifies the current value of an attribute, will not modify base value if that is supported |
|
|
SetUProperty ( |
Set up from a FProperty inside a set |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
||
|
operator== ( |
Equality/Inequality operators |