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 FGameplayEffectAttributeCaptureSpecContainer
Remarks
Struct used to handle a collection of captured source and target attributes
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCaptureDefinition
(
const FGameplayEffectAttributeCaptureDefinition& InCaptureDefinition |
Add a definition to be captured by the owner of the container. | |
| void | CaptureAttributes
(
UAbilitySystemComponent* InAbilitySystemComponent, |
Capture source or target attributes from the specified component. | |
| const FGameplayEffectAttributeCaptureSpec * | FindCaptureSpecByDefinition
(
const FGameplayEffectAttributeCaptureDefinition& InDefinition, |
Find a capture spec within the container matching the specified capture definition, if possible. | |
| bool | Returns whether the container has at least one spec w/o snapshotted attributes | ||
| bool | HasValidCapturedAttributes
(
const TArray< FGameplayEffectAttributeCaptureDefinition >& InCaptureDefsToCheck |
Determines if the container has specs with valid captures for all of the specified definitions. | |
| void | Registers any linked aggregators to notify this active handle if they are dirtied | ||
| void | SwapAggregator
(
FAggregatorRef From, |
Swaps any internal references From aggregator To aggregator. Used when cloning | |
| void | Unregisters any linked aggregators from notifying this active handle if they are dirtied |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FGameplayEffectAttributeCaptureSpecContainer & | |||
| FGameplayEffectAttributeCaptureSpecContainer & | operator=
(
const FGameplayEffectAttributeCaptureSpecContainer& Other |