IOnlineSession::FindFriendSession

Allows the local player to follow a friend into a session

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineSessionInterface.h"

Syntax

bool FindFriendSession
(
    const FUniqueNetId & LocalUserId,
    const FUniqueNetId & Friend
)

Remarks

Allows the local player to follow a friend into a session

Returns

true if the async call worked, false otherwise

Parameters

Parameter

Description

LocalUserId

the local player wanting to join

Friend

the player that is being followed

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