Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
This file exists in addition so that GameplayEffect.h can use FGameplayAbilitySpec without having to include GameplayAbilityTypes.h which has dependencies on GameplayEffect.h Handle that points to a specific granted ability. These are globally unique
| Name | FGameplayAbilitySpecHandle |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayAbilitySpecHandle.h |
| Include Path | #include "GameplayAbilitySpecHandle.h" |
Syntax
USTRUCT (BlueprintType )
struct FGameplayAbilitySpecHandle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGameplayAbilitySpecHandle() |
GameplayAbilitySpecHandle.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Handle | int32 | GameplayAbilitySpecHandle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GenerateNewHandle() |
Sets this to a valid handle | GameplayAbilitySpecHandle.h | |
bool IsValid() |
True if GenerateNewHandle was called on this handle | GameplayAbilitySpecHandle.h | |
FString ToString() |
GameplayAbilitySpecHandle.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FGameplayAbilitySpecHandle& Other |
GameplayAbilitySpecHandle.h | ||
bool operator==
(
const FGameplayAbilitySpecHandle& Other |
GameplayAbilitySpecHandle.h |