Base implementation for all sparse delegate types 更多...
#include <SparseDelegate.h>
类 FSparseDelegate 继承关系图:Public 成员函数 | |
| 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 更多... | |
| void | __Internal_Clear (const UObject *DelegateOwner, FName DelegateName) |
| Removes all functions from this delegate's invocation list 更多... | |
| 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)). 更多... | |
| bool | IsBound () const |
| Checks to see if any functions are bound to this multi-cast delegate 更多... | |
Base implementation for all sparse delegate types
|
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