question

Marat Ziganshin avatar image
Marat Ziganshin asked

What is the best solution for recieving events on client?

Hello.

What is the best solution for recieving events on client?
In our case, we have invite-based clan system: one player sends join request, then another player (clan leader) accepts his application. So how can the first player be notified that he's now member of the clan?

,

Hello.
What is the best solution for recieving events on client?

In our case, we have invite-based clan system: one player sends join request, then another player (clan leader) accepts his application. So how can the first player be notified that he's now member of the clan?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
JayZuo avatar image
JayZuo answered

To receive events on client, we will need to set up a two-way connection between server and client. Currently, PlayFab does not have built-in support for this. However, we do have a plan to support it later.

One possible workaround for your scenario would be using Push Notification to notify the player. If push notification is not available on your platform, then you can try to set the info into player's data, and retrieve the data periodically (E.g. 1 min per request) in client. Please note, we can not get player data in client too frequently as this may cause the client to be throttled.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.