FGameplayEffectCustomExecutionParameters

Struct representing parameters for a custom gameplay effect execution.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectExecutionCalculation.h

Include

#include "GameplayEffectExecutionCalculation.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FGameplayEffectCustomExecutionParameters

Remarks

Struct representing parameters for a custom gameplay effect execution. Should not be held onto via reference, used just for the scope of the execution

Constructors

Name Description

Public function

FGameplayEffectCustomExecutionParameters()

Constructors.

Public function

FGameplayEffectCustomExecutionParameters

(
    FGameplayEffectSpec& InOwningSpec,
    const TArray< FGameplayEffectExecut...,
    UAbilitySystemComponent* InTar...,
    const FGameplayTagContainer& InPas...,
    const FPredictionKey& InPrediction...
)

Public function

FGameplayEffectCustomExecutionParameters

(
    FGameplayEffectSpec& InOwningSpec,
    const TArray< FGameplayEffectExecut...,
    UAbilitySystemComponent* InTar...,
    const FGameplayTagContainer& InPas...,
    const FPredictionKey& InPrediction...,
    const TArray< FActiveGameplayEffect...
)

Functions

Name Description

Public function Const

bool

 

AttemptCalculateCapturedAttributeBaseValue

(
    const FGameplayEffectAttributeCaptu...,
    OUT float& OutBaseValue
)

Attempts to calculate the base value of a captured attribute given the specified parameters.

Public function Const

bool

 

AttemptCalculateCapturedAttributeBonusMagnitude

(
    const FGameplayEffectAttributeCaptu...,
    const FAggregatorEvaluateParameters...,
    OUT float& OutBonusMagnitude
)

Attempts to calculate the bonus magnitude of a captured attribute given the specified parameters.

Public function Const

bool

 

AttemptCalculateCapturedAttributeMagnitude

(
    const FGameplayEffectAttributeCaptu...,
    const FAggregatorEvaluateParameters...,
    OUT float& OutMagnitude
)

Attempts to calculate the magnitude of a captured attribute given the specified parameters.

Public function Const

bool

 

AttemptCalculateCapturedAttributeMagnitudeWithBase

(
    const FGameplayEffectAttributeCaptu...,
    const FAggregatorEvaluateParameters...,
    float InBaseValue,
    OUT float& OutMagnitude
)

Attempts to calculate the magnitude of a captured attribute given the specified parameters, including a starting base value.

Public function Const

bool

 

AttemptCalculateTransientAggregatorBaseValue

(
    const FGameplayTag& InAggregatorId...,
    OUT float& OutBaseValue
)

Attempts to calculate the base value of a transient aggregator given the specified parameters.

Public function Const

bool

 

AttemptCalculateTransientAggregatorBonusMagnitude

(
    const FGameplayTag& InAggregatorId...,
    const FAggregatorEvaluateParameters...,
    OUT float& OutBonusMagnitude
)

Attempts to calculate the bonus magnitude of a transient aggregator given the specified parameters.

Public function Const

bool

 

AttemptCalculateTransientAggregatorMagnitude

(
    const FGameplayTag& InAggregatorId...,
    const FAggregatorEvaluateParameters...,
    OUT float& OutMagnitude
)

Attempts to calculate the magnitude of a transient aggregator given the specified parameters.

Public function Const

bool

 

AttemptCalculateTransientAggregatorMagnitudeWithBase

(
    const FGameplayTag& InAggregatorId...,
    const FAggregatorEvaluateParameters...,
    float InBaseValue,
    OUT float& OutMagnitude
)

Attempts to calculate the magnitude of a transient aggregator given the specified parameters, including a starting base value.

Public function Const

bool

 

AttemptGatherAttributeMods

Returns all modifiers for a given captured def.

Public function Const

bool

 

AttemptGetCapturedAttributeAggregatorSnapshot

(
    const FGameplayTag& InAggregatorId...,
    OUTFAggregator& OutSnapshottedAggr...
)

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

Public function Const

bool

 

AttemptGetCapturedAttributeAggregatorSnapshot

(
    const FGameplayEffectAttributeCaptu...,
    OUTFAggregator& OutSnapshottedAggr...
)

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

Public function Const

bool

 

ForEachQualifiedAttributeMod

(
    const FGameplayEffectAttributeCaptu...,
    const FAggregatorEvaluateParameters...,
    TFunction< void...
)

Runs given TFunction on every qualifier mod for a given AttributeCaptureDefinition

Public function Const

TArray< FAct...

 

GetIgnoreHandles()

Public function Const

const FGamep...

 

GetOwningSpec()

Simple accessor to owning gameplay spec

Public function Const

FGameplayEff...

 

GetOwningSpecForPreExecuteMod()

Non const access. Be careful with this, especially when modifying a spec after attribute capture.

Public function Const

const FGamep...

 

GetPassedInTags()

Simple accessor to the Passed In Tags to this execution

Public function Const

FPredictionK...

 

GetPredictionKey()

Public function Const

UAbilitySyst...

 

GetSourceAbilitySystemComponent()

Simple accessor to source ability system component (could be null!)

Public function Const

UAbilitySyst...

 

GetTargetAbilitySystemComponent()

Simple accessor to target ability system component

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