Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/FGameplayEffectCustomExecutionPa- > API/Plugins/GameplayAbilities/FGameplayEffectCustomExecutionPa-/AttemptGetCaptur-
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectExecutionCalculation.h |
| Include | #include "GameplayEffectExecutionCalculation.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffectExecutionCalculation.cpp |
bool AttemptGetCapturedAttributeAggregatorSnapshot
&40;
const FGameplayEffectAttributeCaptureDefinition & InCaptureDef,
FAggregator & OutSnapshottedAggregator
&41; const
Remarks
Attempts to populate the specified aggregator with a snapshot of a backing captured aggregator. Can fail if the gameplay spec doesn't have a valid capture for the attribute. True if the aggregator was successfully snapshotted, false if it was not
Parameters
| Name | Description |
|---|---|
| InCaptureDef | Attribute definition to attempt to snapshot |
| OutSnapshottedAggregator | [OUT] Snapshotted aggregator, if possible |