Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
Netcode based utility functions
| Name | NUTNet |
| Type | struct |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/Net/NUTUtilNet.h |
| Include Path | #include "Net/NUTUtilNet.h" |
Syntax
struct NUTNet
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void CleanupUnitTestWorlds() |
Cleans up unit test worlds queued for cleanup | Net/NUTUtilNet.h | |
static 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 | Net/NUTUtilNet.h | |
static 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) | Net/NUTUtilNet.h | |
static bool IsUnitTestWorld
(
UWorld* InWorld |
Returns true, if the specified world is a unit test world | Net/NUTUtilNet.h | |
static void MarkUnitTestWorldForCleanup
(
UWorld* CleanupWorld, |
Marks the specified unit test world for cleanup | Net/NUTUtilNet.h |