![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SparseDelegate.h>
Inheritance diagram for FSparseDelegate:Public Member Functions | |
| FSparseDelegate () | |
| bool | IsBound () const |
| void | __Internal_AddUnique (const UObject *DelegateOwner, FName DelegateName, FScriptDelegate InDelegate) |
| void | __Internal_Remove (const UObject *DelegateOwner, FName DelegateName, const FScriptDelegate &InDelegate) |
| void | __Internal_Clear (const UObject *DelegateOwner, FName DelegateName) |
Protected Attributes | |
| bool | bIsBound |
Friends | |
| class | FMulticastSparseDelegateProperty |
Base implementation for all sparse delegate types
|
inline |
|
inline |
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
| DelegateOwner | UObject that owns the resolved sparse delegate |
| DelegateName | Name of the resolved sparse delegate |
| InDelegate | Delegate to bind to the sparse delegate |
NOTE: Only call this function from blueprint sparse delegate infrastructure on a resolved generic FScriptDelegate pointer. Generally from C++ you should call AddUnique() directly.
Removes all functions from this delegate's invocation list
| DelegateOwner | UObject that owns the resolved sparse delegate |
| DelegateName | Name of the resolved sparse delegate |
NOTE: Only call this function from blueprint sparse delegate infrastructure on a resolved generic FScriptDelegate pointer. Generally from C++ you should call Clear() directly.
|
inline |
Removes a function from this multi-cast delegate's invocation list (performance is O(N)). Note that the order of the delegates may not be preserved!
| DelegateOwner | UObject that owns the resolved sparse delegate |
| DelegateName | Name of the resolved sparse delegate |
| InDelegate | Delegate to remove from the sparse delegate |
NOTE: Only call this function from blueprint sparse delegate infrastructure on a resolved generic FScriptDelegate pointer. Generally from C++ you should call Remove() directly.
|
inline |
Checks to see if any functions are bound to this multi-cast delegate
|
friend |
|
protected |