IOnlineSession::FindFriendSession

Allows the local player to retrieve the session of multiple friends

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 TArray< TSharedRef< const FUniqueNetId >> & FriendList
)

Remarks

Allows the local player to retrieve the session of multiple friends

Returns

true if the async call worked, false otherwise

Parameters

Parameter

Description

LocalUserId

the local player wanting to join

FriendList

the potential players to follow

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