Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPlatformInterfaceBase
Description
Determines if there are any delegates of the given type on this platform interface object. This is useful to skip a bunch of FPlatformInterfaceDelegateResult if there is no one even listening!
| Name | HasDelegates |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/PlatformInterfaceBase.h |
| Include Path | #include "Engine/PlatformInterfaceBase.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ScriptPlatformInterface.cpp |
bool HasDelegates
(
int32 DelegateType
)
true if there are any delegates set of the given type
Parameters
| Name | Remarks |
|---|---|
| DelegateType | The type of delegate to look up delegates for |