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;BlueprintType&41;
struct FGameplayEffectExecutionDefinition
Remarks
Struct representing the definition of a custom execution for a gameplay effect. Custom executions run special logic from an outside class each time the gameplay effect executes.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSubclassOf< UGameplayEffectExecutionCalculation > | CalculationClass | Custom execution calculation class to run when the gameplay effect executes | |
| TArray< FGameplayEffectExecutionScopedModifierInfo > | CalculationModifiers | Modifiers that are applied "in place" during the execution calculation | |
| TArray< FConditionalGameplayEffect > | ConditionalGameplayEffects | Other Gameplay Effects that will be applied to the target of this execution if the execution is successful. | |
| FGameplayTagContainer | PassedInTags | These tags are passed into the execution as is, and may be used to do conditional logic |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetAttributeCaptureDefinitions
(
TArray< FGameplayEffectAttributeCaptureDefinition >& OutCaptureDefs |
Gathers and populates the specified array with the capture definitions that the execution would like in order to perform its custom calculation. |