FProcessEventHook::AddRPCHook

Adds an RPC hook for the specified [UWorld](API\Runtime\Engine\Engine\UWorld).

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

void AddRPCHook
(
    UWorld * InWorld,
    FOnProcessNetEvent InHook
)

Remarks

Adds an RPC hook for the specified UWorld.

FProcessNetEventHook

Parameters

Parameter

Description

InWorld

The UWorld whose RPC's should be hooked

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