Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/FAggregatorModChannel
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectAggregator.h |
| Include | #include "GameplayEffectAggregator.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffectAggregator.cpp |
void AddMod
(
float EvaluatedMagnitude,
TEnumAsByte < EGameplayModOp::Type > ModOp,
const FGameplayTagRequirements * SourceTagReqs,
const FGameplayTagRequirements * TargetTagReqs,
bool bIsPredicted,
const FActiveGameplayEffectHandle & ActiveHandle
)
Remarks
Add a modifier to the channel
Parameters
| Name | Description |
|---|---|
| EvaluatedMagnitude | Magnitude of the modifier |
| ModOp | Operation of the modifier |
| SourceTagReqs | Source tag requirements of the modifier |
| TargetTagReqs | Target tag requirements of the modifier |
| bIsPredicted | Whether the mod is predicted or not |
| ActiveHandle | Handle of the active gameplay effect that's applying the mod |