FSparseDelegate

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CoreUObject

Header

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

Include

#include "UObject/SparseDelegate.h"

Syntax

struct FSparseDelegate

Variables

Name Description

Protected variable

bool

 

bIsBound

Constructors

Name Description

Public function

FSparseDelegate()

Functions

Name Description

Public function

void

 

__Internal_AddUnique

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

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

Public function

void

 

__Internal_Clear

(
    const UObject* DelegateOwner,
    FName DelegateName
)

Removes all functions from this delegate's invocation list

Public function

void

 

__Internal_Remove

(
    const UObject* DelegateOwner,
    FName DelegateName,
    const FScriptDelegate& InDelegate
)

Removes a function from this multi-cast delegate's invocation list (performance is O(N)).

Public function Const

bool

 

IsBound()

Checks to see if any functions are bound to this multi-cast 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