Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TMulticastDelegateRegistration_v-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDelegateHandle AddUFunction
(
UObjectTemplate* InUserObject, |
Adds a UFunction-based member function delegate. | ||
FDelegateHandle AddUFunction
(
TObjectPtr< UObjectTemplate > InUserObject, |
AddUFunction(UObjectTemplate *, const FName &, VarTypes &&...)
Description
Adds a UFunction-based member function delegate.
UFunction delegates keep a weak reference to your object.
| Name | AddUFunction |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UObjectTemplate, typename... VarTypes>
FDelegateHandle AddUFunction
(
UObjectTemplate * InUserObject,
const FName & InFunctionName,
VarTypes &&... Vars
)
Parameters
| Name | Remarks |
|---|---|
| InUserObject | User object to bind to |
| InFunctionName | Class method function address |
AddUFunction(TObjectPtr< UObjectTemplate >, const FName &, VarTypes &&...)
| Name | AddUFunction |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl |
| Include Path | #include "Delegates/DelegateSignatureImpl.inl" |
template<typename UObjectTemplate, typename... VarTypes>
FDelegateHandle AddUFunction
(
TObjectPtr < UObjectTemplate > InUserObject,
const FName & InFunctionName,
VarTypes &&... Vars
)