FProcessEventHook::AddGlobalRPCHook

Adds a global 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 AddGlobalRPCHook
(
    FOnProcessNetEvent InHook
)

Remarks

Adds a global RPC hook.

Returns

Returns a delegate handle, used for removing the hook later

Parameters

Parameter

Description

InHook

The delegate for handling the hooked RPC's

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