Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineFriends
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineFriendsInterface.h |
| Include | #include "Interfaces/OnlineFriendsInterface.h" |
bool GetFriendsList
&40;
int32 LocalUserNum,
const FString & ListName,
TArray< TSharedRef< FOnlineFriend > > & OutFriends
&41;
Remarks
Copies the list of friends for the player previously retrieved from the online service true if friends list was found
Parameters
| Name | 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 |