IOnlineFriends::GetFriend

Get the cached friend entry if found

Windows
MacOS
Linux

References

Module

OnlineSubsystem

Header

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

Include

#include "Interfaces/OnlineFriendsInterface.h"

Syntax

TSharedPtr< FOnlineFriend > GetFriend
(
    int32 LocalUserNum,
    const FUniqueNetId & FriendId,
    const FString & ListName
)

Remarks

Get the cached friend entry if found

Returns

null ptr if not found

Parameters

Parameter

Description

LocalUserNum

the user to read the friends list of

ListName

name of the friends list to read

OutFriends

[out] array that receives the copied data

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