Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectAggregator.h |
| Include | #include "GameplayEffectAggregator.h" |
Syntax
struct FAggregatorModChannel
Remarks
Struct representing an individual aggregation channel/depth. Contains mods of all mod op types.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddMod
(
float EvaluatedMagnitude, |
Add a modifier to the channel | |
| void | AddModsFrom
(
const FAggregatorModChannel& Other |
Add the specified channel's mods into this channel | |
| float | EvaluateWithBase
(
float InlineBaseValue, |
Evaluates the channel's mods with the specified base value and evaluation parameters | |
| void | ForEachMod
(
FAggregatorModInfo& Info, |
Helper function for iterating through all mods within a channel | |
| void | GetAllAggregatorMods
(
EGameplayModEvaluationChannel Channel, |
Populate a mapping of channel to corresponding mods | |
| void | OnActiveEffectDependenciesSwapped
(
const TMap< FActiveGameplayEffectHandle, FActiveGameplayEffectHandle >& SwappedDependencies |
Called when the mod channel's gameplay effect dependencies have potentially been swapped out for new ones, like when GE arrays are cloned. | |
| void | RemoveModsWithActiveHandle
(
const FActiveGameplayEffectHandle& Handle |
Remove all mods from the channel that match the specified gameplay effect handle | |
| bool | ReverseEvaluate
(
float FinalValue, |
Evaluates a final value in reverse, attempting to determine a base value from the modifiers within the channel. | |
| float | SumMods
(
const TArray< FAggregatorMod >& InMods, |
Helper function to sum all of the mods in the specified array, using the specified modifier bias and evaluation parameters | |
| void | UpdateQualifiesOnAllMods
(
const FAggregatorEvaluateParameters& Parameters |
Runs UpdateQualifies on all mods |