UMinimalClient::Connect

Connects the minimal client to a server, with Parms specifying the server details and minimal client configuration, and passing back the low level netcode events specified by Hooks.

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

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

Include

#include "MinimalClient.h"

Source

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

Syntax

bool Connect
(
    FMinClientParms Parms,
    FMinClientHooks Hooks
)

Remarks

Connects the minimal client to a server, with Parms specifying the server details and minimal client configuration, and passing back the low level netcode events specified by Hooks.

Returns

Whether or not the connection kicked off successfully.

Parameters

Parameter

Description

Parms

The server parameters and minimal client configuration.

Hooks

The delegates for hooking low level netcode events in the minimal client.

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