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 FAggregatorModChannelContainer
Remarks
Struct representing a container of modifier channels
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddModsFrom
(
const FAggregatorModChannelContainer& Other |
Adds the mods from specified container to this one | |
| void | EvaluateQualificationForAllMods
(
const FAggregatorEvaluateParameters& Parameters |
Calls ::UpdateQualifies on each mod | |
| float | EvaluateWithBase
(
float InlineBaseValue, |
Evaluates the result of the specified base value run through each existing evaluation channel's modifiers in numeric order with the specified evaluation parameters. | |
| float | EvaluateWithBaseToChannel
(
float InlineBaseValue, |
Similar to EvaluateWithBase (see comment there for details), but terminates early after evaluating the specified final channel instead of continuing through every possible channel | |
| FAggregatorModChannel & | FindOrAddModChannel
(
EGameplayModEvaluationChannel Channel |
Find or add a modifier channel for the specified enum value | |
| void | ForEachMod
(
TFunction< void(const FAggregatorModInfo&) > |
Helper function for iterating through all mods within the channel container | |
| void | GetAllAggregatorMods
(
OUTTMap< EGameplayModEvaluationChannel, const TArray< FAggregatorMod >* >& OutMods |
Populate a mapping of channel to corresponding mods for debugging purposes | |
| int32 | Simple accessor to the current number of modifier channels active | ||
| void | OnActiveEffectDependenciesSwapped
(
const TMap< FActiveGameplayEffectHandle, FActiveGameplayEffectHandle >& SwappedDependencies |
Called when the container's gameplay effect dependencies have potentially been swapped out for new ones, like when GE arrays are cloned. | |
| void | RemoveAggregatorMod
(
const FActiveGameplayEffectHandle& ActiveHandle |
Removes any mods from every channel matching the specified handle | |
| float | ReverseEvaluate
(
float FinalValue, |
Evaluates a final value in reverse, attempting to determine a base value from the modifiers within all of the channels. |