FGameplayEffectSpec::HasValidCapturedAttributes

Determines if the spec has capture specs with valid captures for all of the specified definitions.

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffect.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffect.cpp

Syntax

bool HasValidCapturedAttributes
(
    const TArray< FGameplayEffectAttributeCaptureDefinition > & InCaptureDefsToCheck
) const

Remarks

Determines if the spec has capture specs with valid captures for all of the specified definitions.

Returns

True if the container has valid capture attributes for all of the specified definitions, false if it does not

Parameters

Parameter

Description

InCaptureDefsToCheck

Capture definitions to check for