Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayAbilitySpec.h |
| Include | #include "GameplayAbilitySpec.h" |
Syntax
USTRUCT&40;BlueprintType&41;
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
| Type | Name | Description | |
|---|---|---|---|
| TSubclassOf< UGameplayAbility > | Ability | What ability to grant | |
| FGameplayAbilitySpecHandle | AssignedHandle | This handle can be set if the SpecDef is used to create a real FGameplaybilitySpec | |
| int32 | InputID | Input ID to bind this ability to | |
| FScalableFloat | LevelScalableFloat | What level to grant this ability at | |
| EGameplayEffectGrantedAbilityRemovePolicy | RemovalPolicy | What will remove this ability later | |
| TMap< FGameplayTag, float > | SetByCallerTagMagnitudes | SetbyCaller Magnitudes that were passed in to this ability by a GE (GE's that grant abilities) | |
| TWeakObjectPtr< UObject > | SourceObject | What granted this spec, not replicated or settable in editor |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FGameplayAbilitySpecDef& Other |
||
| bool | operator==
(
const FGameplayAbilitySpecDef& Other |