NUTNet::CreateUnitTestWorld

Creates a barebones/minimal [UWorld](API\Runtime\Engine\Engine\UWorld), for setting up minimal client connections, and as a container for objects in the unit test commandlet

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 UWorld * CreateUnitTestWorld
(
    bool bHookTick
)

Remarks

Creates a barebones/minimal UWorld, for setting up minimal client connections, and as a container for objects in the unit test commandlet

Returns

Returns the created UWorld object

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