FGameplayAbilitySpecHandle

This file exists in addition so that GameplayEffect.h can use [FGameplayAbilitySpec](API\Plugins\GameplayAbilities\FGameplayAbilitySpec) without having to include GameplayAbilityTypes.h which has depancies on GameplayEffect.hHandle that points to a specific granted ability.

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 FGameplayAbilitySpecHandle

Remarks

This file exists in addition so that GameplayEffect.h can use FGameplayAbilitySpec without having to include GameplayAbilityTypes.h which has depancies on GameplayEffect.hHandle that points to a specific granted ability. These are globally unique

Constructors

Name Description

Public function

FGameplayAbilitySpecHandle()

Functions

Name Description

Public function

void

 

GenerateNewHandle()

Sets this to a valid handle

Public function Const

bool

 

IsValid()

True if GenerateNewHandle was called on this handle

Public function Const

FString

 

ToString()

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FGameplayAbilitySpecHandle& ...
)

Public function Const

bool

 

operator==

(
    const FGameplayAbilitySpecHandle& ...
)