Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
References
| Module | NetcodeUnitTest |
| Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtil.h |
| Include | #include "NUTUtil.h" |
Syntax
struct NUTUtil
Remarks
General utility functions
Functions
| Type | Name | Description | |
|---|---|---|---|
| UNetDriver * | GetActiveNetDriver
(
UWorld* InWorld |
Returns the currently active net driver (either pending or one for current level) | |
| FString | GetPackageModule
(
UPackage* Package, |
Get a module name from any UPackage - if it has one | |
| UWorld * | |||
| void | GetUnitTestClassDefList
(
TArray< UUnitTest* >& OutUnitTestClassDefaults |
Outputs a full list of valid unit test class defaults, representing all unit tests which can be executed | |
| bool | ParseEnum
(
const TCHAR* Stream, |
Parses the value of specific enum, from the specified commandline stream | |
| bool | ParseValue
(
const TCHAR* Stream, |
Overridden parse function, for supporting escaped quotes | |
| bool | ParseValue
(
const TCHAR* Stream, |
Overridden parse function, for supporting escaped quotes, e.g: -UnitTestServerParms="-LogCmds="LogNet all"" | |
| void | SortUnitTestClassDefList
(
TArray< UUnitTest* >& InUnitTestClassDefaults |
Takes a list of unit test class defaults, and reorders them in a more readable way, based on type and implementation date | |
| void | SpecialLog
(
FOutputDeviceFile* Ar, |
Puts out a log message to FOutputDeviceFile, with a special category prefix added. |