Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/UUnitTest
- UUnitTest::GetCommandContextList()
- UClientUnitTest::GetCommandContextList()
References
| Module | NetcodeUnitTest |
| Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/UnitTest.h |
| Include | #include "UnitTest.h" |
| Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/UnitTest.cpp |
virtual void GetCommandContextList
&40;
TArray< TSharedPtr< FString >> & OutList,
FString & OutDefaultContext
&41;
Remarks
Outputs the list of console command contexts, that this unit test supports (which can include custom contexts in subclasses)
Parameters
| Name | Description |
|---|---|
| OutList | Outputs the list of supported console command contexts |
| OutDefaultContext | Outputs the context which should be auto-selected/defaulted-to |