UClientUnitTest::StartUnitTestClient

Starts a client process tied to the unit test, and connects to the specified server address

Windows
MacOS
Linux

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 TWeakPtr< FUnitTestProcess > StartUnitTestClient
(
    FString ConnectIP,
    bool bMinimized
)

Remarks

Starts a client process tied to the unit test, and connects to the specified server address

Returns

Returns a pointer to the client process handling struct

Parameters

Parameter

Description

ConnectIP

The IP address the client should connect to

bMinimized

Starts the client with the window minimized (some unit tests need this off)

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