UClientUnitTest::NotifyConsoleCommandRequest

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

Windows
MacOS
Linux

Override Hierarchy

UUnitTest::NotifyConsoleCommandRequest()

UClientUnitTest::NotifyConsoleCommandRequest()

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h

Include

#include "ClientUnitTest.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/ClientUnitTest.cpp

Syntax

virtual bool NotifyConsoleCommandRequest
(
    FString CommandContext,
    FString Command
)

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

Returns

Whether or not the command was handled

Parameters

Parameter

Description

CommandContext

The context (local/server/client?) for the console command

Command

The command to be executed

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss