FGameplayAbilitySpecDef

This is data that can be used to create an [FGameplayAbilitySpec](API\Plugins\GameplayAbilities\FGameplayAbilitySpec).

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayAbilitySpec.h

Include

#include "GameplayAbilitySpec.h"

Syntax

USTRUCT(BlueprintType)
struct FGameplayAbilitySpecDef

Remarks

This is data that can be used to create an FGameplayAbilitySpec. Has some data that is only relevant when granted by a GameplayEffect

Variables

Name Description

Public variable UProperty Category, EditDefaultsOnly notreplicated

TSubclassOf< UG...

 

Ability

What ability to grant

Public variable UProperty

FGameplayAbilit...

 

AssignedHandle

This handle can be set if the SpecDef is used to create a real FGameplaybilitySpec

Public variable UProperty Category, EditDefaultsOnly notreplicated

int32

 

InputID

Input ID to bind this ability to

Public variable UProperty Category, EditDefaultsOnly displayname, notreplicated

FScalableFloat

 

LevelScalableFloat

What level to grant this ability at

Public variable UProperty Category, EditDefaultsOnly notreplicated

EGameplayEffect...

 

RemovalPolicy

What will remove this ability later

Public variable

TMap< FGameplay...

 

SetByCallerTagMagnitudes

SetbyCaller Magnitudes that were passed in to this ability by a GE (GE's that grant abilities)

Public variable UProperty notreplicated

UObject *

 

SourceObject

What granted this spec, not replicated or settable in editor

Constructors

Name Description

Public function

FGameplayAbilitySpecDef()