Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h |
| Include | #include "GameplayEffect.h" |
Syntax
USTRUCT&40;&41;
struct FGameplayEffectAttributeCaptureSpec
Remarks
Struct used to hold the result of a gameplay attribute capture; Initially seeded by definition data, but then populated by ability system component when appropriate
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructors. | |||
FGameplayEffectAttributeCaptureSpec
(
const FGameplayEffectAttributeCaptureDefinition& InDefinition |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AttemptAddAggregatorModsToAggregator
(
FAggregator& OutAggregatorToAddTo |
Attempts to populate the specified aggregator with all of the mods of the backing captured aggregator. | |
| bool | AttemptCalculateAttributeBaseValue
(
float& OutBaseValue |
Attempts to calculate the base value of the captured attribute given the specified parameters. | |
| bool | AttemptCalculateAttributeBonusMagnitude
(
const FAggregatorEvaluateParameters& InEvalParams, |
Attempts to calculate the "bonus" magnitude (final - base value) of the captured attribute given the specified parameters. | |
| bool | AttemptCalculateAttributeContributionMagnitude
(
const FAggregatorEvaluateParameters& InEvalParams, |
Attempts to calculate the contribution of the specified GE to the captured attribute given the specified parameters. | |
| bool | AttemptCalculateAttributeMagnitude
(
const FAggregatorEvaluateParameters& InEvalParams, |
Attempts to calculate the magnitude of the captured attribute given the specified parameters. | |
| bool | AttemptCalculateAttributeMagnitudeUpToChannel
(
const FAggregatorEvaluateParameters& InEvalParams, |
Attempts to calculate the magnitude of the captured attribute given the specified parameters, up to the specified evaluation channel (inclusive). | |
| bool | AttemptCalculateAttributeMagnitudeWithBase
(
const FAggregatorEvaluateParameters& InEvalParams, |
Attempts to calculate the magnitude of the captured attribute given the specified parameters, including a starting base value. | |
| bool | AttemptGatherAttributeMods
(
const FAggregatorEvaluateParameters& InEvalParams, |
Gathers made for a given capture. | |
| bool | AttemptGetAttributeAggregatorSnapshot
(
FAggregator& OutAggregatorSnapshot |
Attempts to populate the specified aggregator with a snapshot of the backing captured aggregator. | |
| const FGameplayEffectAttributeCaptureDefinition & | Simple accessor to backing capture definition | ||
| bool | Returns whether the spec actually has a valid capture yet or not | ||
| void | Register this handle with linked aggregators | ||
| bool | ShouldRefreshLinkedAggregator
(
const FAggregator* ChangedAggregator |
Return true if this capture should be recalculated if the given aggregator has changed | |
| void | SwapAggregator
(
FAggregatorRef From, |
Swaps any internal references From aggregator To aggregator. Used when cloning | |
| void | Unregister this handle with linked aggregators |