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

NOTE: 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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback