UPlatformInterfaceBase::HasDelegates

Determines if there are any delegates of the given type on this platform interface object.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/PlatformInterfaceBase.h

Include

#include "Engine/PlatformInterfaceBase.h"

Source

/Engine/Source/Runtime/Engine/Private/ScriptPlatformInterface.cpp

Syntax

bool HasDelegates
(
    int32 DelegateType
)

Remarks

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!

Returns

true if there are any delegates set of the given type

Parameters

Parameter

Description

DelegateType

The type of delegate to look up delegates for

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss