FAggregatorModChannel::OnActiveEffectDependenciesSwapped

Called when the mod channel's gameplay effect dependencies have potentially been swapped out for new ones, like when GE arrays are cloned.

Choose your operating system:

Windows

macOS

Linux

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

Syntax

void OnActiveEffectDependenciesSwapped
(
    const TMap< FActiveGameplayEffectHandle, FActiveGameplayEffectHandle > & SwappedDependencies
)

Remarks

Called when the mod channel's gameplay effect dependencies have potentially been swapped out for new ones, like when GE arrays are cloned. Updates mod handles appropriately.

Parameters

Parameter

Description

SwappedDependencies

Mapping of old gameplay effect handles to new replacements