Реклама:

Это тест.This is an annoucement of Mainlink.ru
Это тестовая ссылка. Mainlink.ru

Реклама:

Interface so you’re able to recover relatives checklist, or to add or get rid of other players

If you are planning so you can integrate Unbelievable Membership Properties together with your games, and you also need certainly to address console programs, delight call us within eas-on-console- so you’re able to coordinate a release bundle.

Winning contests along with your family unit members and you can fulfilling brand new participants online are essential elements of of many on the internet services. The newest Impressive On line Attributes (EOS) SDK spends the fresh new Family User interface so you’re able to access this new household members record for an effective logged-in the pro.

Pal listings try stored from the on the internet service’s machine, and will alter throughout the a consultation due to the fact loved ones is actually additional or removed or if family relations give otherwise revoke concur on the online game to use the suggestions.

Up on successful conclusion away from a buddies record ask, the fresh Friends Screen brings an area cache that is used by the some other Family members Screen features. And SDK gets notifications from the backend regarding incidents one cause mutations of your own nearest and dearest list, such as for example a friend becoming eliminated, an invitation getting accepted or a pal revoking the accept to features its pointers utilized by the game.

To utilize brand new Loved ones Software, your product or service need Epic Account Characteristics (EAS) active, and ought to see member accept to availability Family Listing investigation. You could potentially turn on EAS towards Designer Webpage, or get the full story when you look at the Epic’s documentation.

Retrieving and you can Caching new Family Listing

To retrieve a good player’s family members listing, you will need an enthusiastic EOS_HFriends handle. You may get which deal with from the Platform Program form, EOS_Platform_GetFriendsInterface . Family members User interface qualities require that it deal with to access your own signed-when you look dating sites for Biker professionals at the user’s nearest and dearest number. It is critical to observe that EOS_Friends_QueryFriends is only going to get back loved ones that played the overall game at the minimum shortly after and has now considering the agree. Agree is provided with whenever a person logs directly into a credit card applicatoin using Unbelievable Membership Functions (EAS) and you can lets EAS use of the membership research.

The first step in working with an effective player’s friends record try to-name EOS_Friends_QueryFriends having an enthusiastic EOS_Friends_QueryFriendsOptions study construction. This can install the most right up-to-day sorts of a beneficial player’s loved ones record into the local cache, next invoke your EOS_Friends_QueryFriends callback means up on end.

Violation the fresh Loved ones User interface manage, this new EOS_Friends_QueryFriendsOptions framework, along with your callback advice to the function. Provided that the latest EOS_HPlatform deal with was ticking, the callback you given is going to run if operation closes.

In case the callback executes, you can check the fresh new ResultCode arena of this new EOS_Friends_QueryFriendsCallbackInfo construction to determine whether or not the process been successful otherwise unsuccessful. An endurance password shows that new SDK features cached the newest study throughout the server, which you’ll examine any moment.

Exploring the Friends Record

  • Influence how many nearest and dearest to your record because of the getting in touch with EOS_Friends_GetFriendsCount .
  • Access brand new EOS_EpicAccountId of every friend of the contacting EOS_Friends_GetFriendAtIndex .

This new EOS_EpicAccountId returned from this function should be introduced into the Affiliate Details User interface in order to recover addiitional information regarding the representative.

  • Dictate the present day standing of the social relationship by getting in touch with EOS_Friends_GetStatus . This form yields certainly four philosophy:

Family lists can alter when, each other out of from inside the-games occurrences such as for instance conference the brand new professionals, and you may regarding away-of-games incidents for instance the player switching the fresh membership off a beneficial parece do not need and should not label EOS_Friends_QueryFriends more often than once for every sign on of a player. But not, once a person logs away, people they know listing have to be queried again when they visit again. To save a great game’s regional backup of your own nearest and dearest checklist right up at this point, join pal position enhance notifications.

Becoming a member of Friend Status Position

The callback setting is entitled when a buddy gets an enhance. The latest callback obtains an enthusiastic EOS_Friends_OnFriendsUpdateInfo framework for the following variables:

EOS_Friends_AddNotifyFriendsUpdate tend to come back an EOS_NotificationId , that’s yet another deal with that really must be regularly unsubscribe regarding notifications when they are no more called for. In case there are faltering, it does come back a consequence password away from EOS_INVALID_NOTIFICATIONID .

Managing the Members of the family List

Help to possess Nintendo Key, PlayStation, and you will Xbox 360 system systems try prepared. Assistance to have macOS, Linux, Android and ios are organized.

You could let the regional user to transmit pal desires to almost every other profiles throughout the online game, because of the calling the fresh new EOS_Friends_SendInvite SDK API. To make usage of game UI effectiveness having taking otherwise rejecting any obtained buddy encourages, you can utilize the newest EOS_Friends_AcceptInvite and EOS_Friends_RejectInvite SDK APIs correspondingly.

tags

No responses yet

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

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

Реклама:

Реклама:


Создание Сайта Кемерово, Создание Дизайна, продвижение Кемерово, Умный дом Кемерово, Спутниковые телефоны Кемерово - Партнёры