Skip to main content

Friends, Presence and User Info

These interfaces use Epic Account Services and need an Epic Account login (Auth interface) with the matching permissions (scopes), see Scope Consent.

note

The EOSCore Online Subsystem also implements IOnlineFriends, IOnlinePresence, IOnlineUser and parts of IOnlineExternalUI (login, friends overlay, web URL), so C++ code and plugins that use the Online Subsystem can use them as well. In Blueprints, use the EOSCore nodes below. See Supported Platforms and Features.

Friends​

NodeUse
EOS_Friends_QueryFriendsDownloads the friends list (needs the Friends List scope)
EOS_Friends_GetFriendsCount + EOS_Friends_GetFriendAtIndexReads the friends' Epic Account Ids
EOS_Friends_GetStatusFriend, invite sent, invite received or not friends
EOS_Friends_SendInvite, EOS_Friends_AcceptInvite, EOS_Friends_RejectInviteFriend invites
EOS_Friends_AddNotifyFriendsUpdateCalled when the friends list changes

Presence​

NodeUse
EOS_Presence_CreatePresenceModificationCreates a modification handle
EOS_PresenceModification_SetStatus, SetRawRichText, SetData, SetJoinInfoOnline status, rich text ("In a match"), key/value data and the join info friends use to join you
EOS_Presence_SetPresenceSends the modification, then EOS_PresenceModification_Release
EOS_Presence_QueryPresence + EOS_Presence_CopyPresenceReads a friend's presence
EOS_Presence_AddNotifyOnPresenceChangedCalled when a friend's presence changes
EOS_Presence_AddNotifyJoinGameAcceptedThe player pressed Join on a friend in the social overlay, see Join Friends Game

User Info​

NodeUse
EOS_UserInfo_QueryUserInfoDownloads a user's account info
EOS_UserInfo_CopyUserInfoDisplay name, country, language
EOS_UserInfo_CopyBestDisplayNameThe name to show for a player, also for players from other platforms
EOS_UserInfo_QueryUserInfoByDisplayNameFinds a user by display name

See Player Name for an example.