UAbilitySystemComponent::CallAllReplicatedDelegatesIfSet

Calls any Replicated delegates that have been sent (TargetData or Generic Replicated Events).

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "AbilitySystemComponent.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent_Abilities.cpp

Syntax

void CallAllReplicatedDelegatesIfSet
(
    FGameplayAbilitySpecHandle AbilityHandle,
    FPredictionKey AbilityOriginalPredictionKey
)

Remarks

Calls any Replicated delegates that have been sent (TargetData or Generic Replicated Events). Note this can be dangerous if multiple places in an ability register events and then call this function.

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