Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
Description
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.
| Name | ValidateMinFlags |
| Type | function |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTEnum.h |
| Include Path | #include "NUTEnum.h" |
template<EMinClientFlags CompileTimeFlags>
EMinClientFlags ValidateMinFlags
(
EMinClientFlags RuntimeFlags
)
Returns the flags, so that validation can be done as they are assigned to a value
Parameters
| Name | Remarks |
|---|---|
| CompileTimeFlags | The compile-time flag list to be checked |
| RuntimeFlags | The runtime flag list to be checked |