Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FSparseDelegate
Description
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.
| Name | __Internal_AddUnique |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/SparseDelegate.h |
| Include Path | #include "UObject/SparseDelegate.h" |
void __Internal_AddUnique
(
const UObject * DelegateOwner,
FName DelegateName,
FScriptDelegate InDelegate
)
Parameters
| Name | Remarks |
|---|---|
| DelegateOwner | UObject that owns the resolved sparse delegate |
| DelegateName | Name of the resolved sparse delegate |
| InDelegate | Delegate to bind to the sparse delegate |