/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h
Find a capture spec within the container matching the specified capture definition, if possible.
The found attribute spec matching the specified search params, if any
const [FGameplayEffectAttributeCaptureSpec](API\Plugins\GameplayAbilities\FGameplayEffectAttributeCaptureS-) * FindCaptureSpecByDefinition ( const [FGameplayEffectAttributeCaptureDefinition](API\Plugins\GameplayAbilities\FGameplayEffectAttributeCaptureD-) & InDefinition, bool bOnlyIncludeValidCapture ) const