08.09.2025

Software to access family list, or to create or reduce most other professionals

Software to access family list, or to create or reduce most other professionals

If you intend so you can consist of Unbelievable Account Services with your games, and you need certainly to address system networks, delight e mail us at the eas-on-console- so you can enhance a production bundle.

Playing games along with your household members and you may meeting the members on line is actually extremely important areas of many on the web attributes. This new Unbelievable Online Functions (EOS) SDK spends brand new Family unit members Interface to retrieve brand new family unit members record getting a logged-within the athlete.

Pal lists is held from the on the internet service’s host, and certainly will alter through the an appointment due to the fact friends try added or eliminated or if perhaps family members offer or revoke concur into games to make use of their recommendations.

On winning end from a friends listing inquire, the newest Family unit members Software brings a region cache that is used of the some other Relatives User interface characteristics. Additionally the SDK obtains notifications regarding backend on occurrences one result in mutations of one’s members of the family checklist, such as a friend being got rid of, an invite are acknowledged otherwise a friend revoking their accept has actually their information employed by the video game.

To utilize this new Family members User interface, your product or service need to have Unbelievable Account Features (EAS) energetic, and should receive affiliate accept to availability Family members Number study. You could potentially trigger EAS toward Creator Site, otherwise learn more from inside the Epic’s paperwork.

Retrieving and Caching the fresh new Family unit members List

So you’re able to access good player’s nearest and dearest listing, you want an EOS_HFriends handle. You can aquire which handle through the Program Screen form, EOS_Platform_GetFriendsInterface . Family relations Software services want so it deal with to view the signed-inside user’s family list. It’s important to note that EOS_Friends_QueryFriends will simply go back relatives who’ve played the overall game at the the very least shortly after and also provided its concur. Consent is offered whenever a new player logs in to a credit card applicatoin using Impressive Account Features (EAS) and you can lets EAS accessibility its account analysis.

The first step in dealing with an effective player’s friends number is actually to-name EOS_Friends_QueryFriends that have a keen EOS_Friends_QueryFriendsOptions studies construction. This can install the essential upwards-to-date particular a good player’s family members number with the regional cache, next invoke the EOS_Friends_QueryFriends callback form on end.

Admission the fresh Members of the family Interface handle, the fresh new EOS_Friends_QueryFriendsOptions structure, as well as your callback recommendations into form. So long as the newest EOS_HPlatform manage try ticking, this new callback you given will run in the event that process concludes.

If the callback does, you should check the newest ResultCode world of brand new EOS_Friends_QueryFriendsCallbackInfo build to choose whether the process been successful or hit a brick wall. An emergency code indicates that the brand new SDK have cached this new investigation on host, which you can see any moment.

Examining the Family relations Number

  • Influence the amount of family unit members into record by contacting EOS_Friends_GetFriendsCount .
  • Access the brand new EOS_EpicAccountId each and every friend by the getting in touch with EOS_Friends_GetFriendAtIndex .

Brand new EOS_EpicAccountId returned through this setting should be enacted toward Affiliate Information Screen to help you retrieve additional info towards affiliate.

  • Determine the present day condition of one’s social relationship by the getting in touch with EOS_Friends_GetStatus . That it function output certainly four values:

Friends bisexual chat apps listing can change at any time, one another regarding from inside the-online game events such as for example appointment the newest users, and you will off away-of-online game incidents including the pro altering the account out of a great es do not require and should not name EOS_Friends_QueryFriends more often than once for each and every log in out of a person. not, shortly after a person logs aside, their friends listing should be queried again once they sign in once again. To save an excellent game’s local copy of your nearest and dearest listing up thus far, join pal standing update notifications.

Becoming a member of Pal Status Standing

This new callback function might possibly be titled when a buddy will get an enhance. Brand new callback gets an enthusiastic EOS_Friends_OnFriendsUpdateInfo construction towards adopting the variables:

EOS_Friends_AddNotifyFriendsUpdate usually get back a keen EOS_NotificationId , which is a different sort of manage that must be accustomed unsubscribe out-of announcements when they’re no further expected. In the eventuality of a failure, it will get back an outcome code from EOS_INVALID_NOTIFICATIONID .

Controlling the Family unit members Record

Support to have Nintendo Switch, PlayStation, and you will Xbox 360 console system programs are arranged. Service to possess macOS, Linux, Ios & android try prepared.

You can let the regional associate to deliver friend desires so you can most other users about game, by the getting in touch with new EOS_Friends_SendInvite SDK API. To make usage of video game UI abilities having recognizing or rejecting any obtained friend attracts, you can make use of the newest EOS_Friends_AcceptInvite and EOS_Friends_RejectInvite SDK APIs respectively.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *