const [FGameplayEffectAttributeCaptureSpec](API\Plugins\GameplayAbilities\FGameplayEffectAttributeCaptureS-) * FindCaptureSpecByDefinition ( const [FGameplayEffectAttributeCaptureDefinition](API\Plugins\GameplayAbilities\FGameplayEffectAttributeCaptureD-) & InDefinition, bool bOnlyIncludeValidCapture ) const