engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FSparseDelegate结构体 参考

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

成员函数说明

◆ __Internal_AddUnique()

void FSparseDelegate::__Internal_AddUnique ( const UObject *  DelegateOwner,
FName  DelegateName,
FScriptDelegate  InDelegate 
)
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

参数
DelegateOwnerUObject that owns the resolved sparse delegate
DelegateNameName of the resolved sparse delegate
InDelegateDelegate 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.

◆ __Internal_Clear()

void FSparseDelegate::__Internal_Clear ( const UObject *  DelegateOwner,
FName  DelegateName 
)
inline

Removes all functions from this delegate's invocation list

参数
DelegateOwnerUObject that owns the resolved sparse delegate
DelegateNameName 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.

◆ __Internal_Remove()

void FSparseDelegate::__Internal_Remove ( const UObject *  DelegateOwner,
FName  DelegateName,
const FScriptDelegate &  InDelegate 
)
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!

参数
DelegateOwnerUObject that owns the resolved sparse delegate
DelegateNameName of the resolved sparse delegate
InDelegateDelegate 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.

◆ IsBound()

bool FSparseDelegate::IsBound ( ) const
inline

Checks to see if any functions are bound to this multi-cast delegate

返回
True if any functions are bound

该结构体的文档由以下文件生成: