NUTNet::HandleBeaconReplicate

Handles setting up the client beacon once it is replicated, so that it can properly send RPC's (normally the serverside client beacon links up with the pre-existing beacon on the clientside, but with unit tests there is no pre-existing clientside beacon)

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

static void HandleBeaconReplicate
(
    AActor * InBeacon,
    UNetConnection * InConnection
)

Remarks

Handles setting up the client beacon once it is replicated, so that it can properly send RPC's (normally the serverside client beacon links up with the pre-existing beacon on the clientside, but with unit tests there is no pre-existing clientside beacon)

NUTNet

Parameters

Parameter

Description

InBeacon

The beacon that should be setup

InConnection

The connection associated with the beacon

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