Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTEnum.h |
Include | #include "NUTEnum.h" |
template<EMinClientFlags CompileTimeFlags>
EMinClientFlags ValidateMinFlags
&40;
EMinClientFlags RuntimeFlags
&41;
Remarks
Validates, both at compile time (template param) or at runtime (function param), that the specified EMinClientFlags flags are valid.
When specifying the whole flag list in one assignment, do a compile time check using the template parameter. When modifying a runtime-written flag list, do a runtime check on the final flag variable using the function parameter. Returns the flags, so that validation can be done as they are assigned to a value
Parameters
Name | Description |
---|---|
CompileTimeFlags | The compile-time flag list to be checked |
RuntimeFlags | The runtime flag list to be checked |