IOnlineSession::JoinSession

Joins the session specified

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineSessionInterface.h"

Syntax

bool JoinSession
(
    const FUniqueNetId & LocalUserId,
    FName SessionName,
    const FOnlineSessionSearchResult & DesiredSession
)

Remarks

Joins the session specified

Returns

true if the call completed successfully, false otherwise

Parameters

Parameter

Description

LocalUserId

the id of the player searching for a match

SessionName

the name of the session to join

DesiredSession

the desired session to join

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