Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
Struct used to handle a collection of captured source and target attributes
| Name | FGameplayEffectAttributeCaptureSpecContainer |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h |
| Include Path | #include "GameplayEffect.h" |
Syntax
USTRUCT ()
struct FGameplayEffectAttributeCaptureSpecContainer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| GameplayEffect.h | |||
| GameplayEffect.h | |||
| GameplayEffect.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasNonSnapshottedAttributes | bool | If true, has at least one capture spec that did not request a snapshot | GameplayEffect.h | |
| SourceAttributes | TArray< FGameplayEffectAttributeCaptureSpec > | Captured attributes from the source of a gameplay effect | GameplayEffect.h | |
| TargetAttributes | TArray< FGameplayEffectAttributeCaptureSpec > | Captured attributes from the target of a gameplay effect | GameplayEffect.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCaptureDefinition
(
const FGameplayEffectAttributeCaptureDefinition& InCaptureDefinition |
Add a definition to be captured by the owner of the container. | GameplayEffect.h | |
void CaptureAttributes
(
UAbilitySystemComponent* InAbilitySystemComponent, |
Capture source or target attributes from the specified component. | GameplayEffect.h | |
const FGameplayEffectAttributeCaptureSpec * FindCaptureSpecByDefinition
(
const FGameplayEffectAttributeCaptureDefinition& InDefinition, |
Find a capture spec within the container matching the specified capture definition, if possible. | GameplayEffect.h | |
bool HasNonSnapshottedAttributes() |
Returns whether the container has at least one spec w/o snapshotted attributes | GameplayEffect.h | |
bool HasValidCapturedAttributes
(
const TArray< FGameplayEffectAttributeCaptureDefinition >& InCaptureDefsToCheck |
Determines if the container has specs with valid captures for all of the specified definitions. | GameplayEffect.h | |
void RegisterLinkedAggregatorCallbacks
(
FActiveGameplayEffectHandle Handle |
Registers any linked aggregators to notify this active handle if they are dirtied | GameplayEffect.h | |
void SwapAggregator
(
FAggregatorRef From, |
Swaps any internal references From aggregator To aggregator. Used when cloning | GameplayEffect.h | |
void UnregisterLinkedAggregatorCallbacks
(
FActiveGameplayEffectHandle Handle |
Unregisters any linked aggregators from notifying this active handle if they are dirtied | GameplayEffect.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| GameplayEffect.h | |||
| GameplayEffect.h |