Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest > Net
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/Net/NUTUtilNet.h |
Include | #include "Net/NUTUtilNet.h" |
Syntax
struct NUTNet
Remarks
Netcode based utility functions
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Cleans up unit test worlds queued for cleanup | |
![]() ![]() |
UWorld * | CreateUnitTestWorld
(
bool bHookTick |
Creates a barebones/minimal UWorld, for setting up minimal client connections, and as a container for objects in the unit test commandlet |
![]() ![]() |
void | HandleBeaconReplicate
(
AActor* InBeacon, |
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) |
![]() ![]() |
bool | IsUnitTestWorld
(
UWorld* InWorld |
Returns true, if the specified world is a unit test world |
![]() ![]() |
void | MarkUnitTestWorldForCleanup
(
UWorld* CleanupWorld, |
Marks the specified unit test world for cleanup |