FGameplayEffectCustomExecutionParameters::AttemptGetCapturedAttributeAggregatorSnapshot

Attempts to populate the specified aggregator with a snapshot of a backing transient aggregator.

Windows
MacOS
Linux

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

Syntax

bool AttemptGetCapturedAttributeAggregatorSnapshot
(
    const FGameplayTag & InAggregatorIdentifier,
    OUTFAggregator & OutSnapshottedAggregator
) const

Remarks

Attempts to populate the specified aggregator with a snapshot of a backing transient aggregator. Can fail if the transient aggregator doesn't exist as a result of no scoped mods targeting it.

Returns

True if the aggregator was successfully snapshotted, false if it was not

Parameters

Parameter

Description

InAggregatorIdentifier

Tag identifying the transient aggregator to attempt to snapshot

OutSnapshottedAggregator

[OUT] Snapshotted aggregator, if possible

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss