Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest > NUTUtil
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtil.h |
Include | #include "NUTUtil.h" |
Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/NUTUtil.cpp |
static bool ParseEnum
&40;
const TCHAR &42; Stream,
const TCHAR &42; Match,
const TCHAR &42; EnumName,
uint32 & Value
&41;
Remarks
Parses the value of specific enum, from the specified commandline stream Whether or not an enum value was parsed successfully
Parameters
Name | Description |
---|---|
Stream | The stream to parse from (typically FCommandline::Get()) |
Match | The commandline option to match as the key specifying the value |
EnumName | The name of the enum type |
Value | Outputs the integer value of the enum, as specified on the commandline |