IOnlineSession::GetResolvedConnectString

Returns the platform specific connection information for joining a search result.

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h

Include

#include "Interfaces/OnlineSessionInterface.h"

Syntax

bool GetResolvedConnectString
(
    const class FOnlineSessionSearchResult & SearchResult,
    FName PortType,
    FString & ConnectInfo
)

Remarks

Returns the platform specific connection information for joining a search result.

Returns

true if the call was successful, false otherwise

Parameters

Parameter

Description

SearchResult

the search result to get connection info from

PortType

type of port to append to result (Game, Beacon, etc)

ConnectInfo

the string containing the platform specific connection information

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