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 IsFriend
(
int32 LocalUserNum,
const FUniqueNetId & FriendId,
const FString & ListName
)
Remarks
Checks that a unique player id is part of the specified user's friends list true if friends list was found and the friend was valid
Parameters
| Name | Description |
|---|---|
| LocalUserNum | the controller number of the associated user that made the request |
| FriendId | the id of the player being checked for friendship |
| ListName | name of the friends list to read |