FProcessEventHook::AddEventHook

Adds a non-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 AddEventHook
(
    UWorld * InWorld,
    FOnProcessNetEvent InHook
)

Remarks

Adds a non-RPC hook for the specified UWorld.

Parameters

Parameter

Description

InWorld

The UWorld whose RPC's should be hooked

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