FSparseDelegate::__Internal_AddUnique

Adds a function delegate to this multi-cast delegate's invocation list if a delegate with the same signature doesn't already exist in the invocation list

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/SparseDelegate.h

Include

#include "UObject/SparseDelegate.h"

Syntax

void __Internal_AddUnique
(
    const UObject * DelegateOwner,
    FName DelegateName,
    FScriptDelegate InDelegate
)

Remarks

Adds a function delegate to this multi-cast delegate's invocation list if a delegate with the same signature doesn't already exist in the invocation list

Only call this function from blueprint sparse delegate infrastructure on a resolved generic FScriptDelegate pointer. Generally from C++ you should call AddUnique() directly.

Parameters

Parameter

Description

DelegateOwner

UObject that owns the resolved sparse delegate

DelegateName

Name of the resolved sparse delegate

InDelegate

Delegate to bind to the sparse delegate

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