Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/FActiveGameplayEffectHandle
Description
Get a handle that represents an Instant (non-duration) Gameplay Effect. We use this as a sentinel value for FActiveGameplayEffectHandle returned from functions where the underlying GE has already completed execution (instantly) and thus cannot be queried further.
Such a handle has the following rules: IsValid() unintuitively returns false, as it does not represent an Active Gameplay Effect. WasSuccessfullyApplied() returns true, as it is assumed this represents the execution of the Instant GE. GetOwningAbilitySystemComponent() returns an undefined value and should not be relied upon.
| Name | GetInstantExecutedHandle |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/ActiveGameplayEffectHandle.h |
| Include Path | #include "ActiveGameplayEffectHandle.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/ActiveGameplayEffectHandle.cpp |
static FActiveGameplayEffectHandle GetInstantExecutedHandle()