Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/UUnitTest
- UUnitTest::NotifyConsoleCommandRequest()
- UClientUnitTest::NotifyConsoleCommandRequest()
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 bool NotifyConsoleCommandRequest
&40;
FString CommandContext,
FString Command
&41;
Remarks
Notifies that there was a request to execute a console command for the unit test, which can occur in a specific context, e.g. for a unit test server, for a local minimal-client (within the unit test), or for a separate unit test client process Whether or not the command was handled
Parameters
| Name | Description |
|---|---|
| CommandContext | The context (local/server/client?) for the console command |
| Command | The command to be executed |