Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/NUTNet
Description
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)
| Name | HandleBeaconReplicate |
| Type | function |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/Net/NUTUtilNet.h |
| Include Path | #include "Net/NUTUtilNet.h" |
| Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/Net/NUTUtilNet.cpp |
static void HandleBeaconReplicate
(
AActor * InBeacon,
UNetConnection * InConnection
)
Parameters
| Name | Remarks |
|---|---|
| InBeacon | The beacon that should be setup |
| InConnection | The connection associated with the beacon |