FSparseDelegateStorage::AddUnique

Binds a sparse delegate to the owner, verifying first that the delegate is not already bound.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/SparseDelegate.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/SparseDelegate.cpp

Syntax

static bool AddUnique
(
    const UObject * DelegateOwner,
    const FName DelegateName,
    FScriptDelegate Delegate
)

Remarks

Binds a sparse delegate to the owner, verifying first that the delegate is not already bound. Returns if the delegate was successfully bound.

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