UAbilitySystemComponent::CallOrAddReplicatedDelegate

Calls passed in delegate if the Client Event has already been sent.

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

bool CallOrAddReplicatedDelegate
(
    EAbilityGenericReplicatedEvent::Type EventType,
    FGameplayAbilitySpecHandle AbilityHandle,
    FPredictionKey AbilityOriginalPredictionKey,
    FSimpleMulticastDelegate::FDelegate Delegate
)

Remarks

Calls passed in delegate if the Client Event has already been sent. If not, it adds the delegate to our multicast callback that will fire when it does.

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