FProcessEventHook::AddGlobalEventHook

Adds a global non-RPC hook.

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/Net/NUTUtilNet.h

Include

#include "Net/NUTUtilNet.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/Net/NUTUtilNet.cpp

Syntax

FDelegateHandle AddGlobalEventHook
(
    FOnProcessNetEvent InHook
)

Remarks

Adds a global non-RPC hook.

Returns

Returns a delegate handle, used for removing the hook later

Parameters

Parameter

Description

InHook

The delegate for handling the hooked events

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