question

andrew-wahid avatar image
andrew-wahid asked

call function from cloudscript..

Let's say I have user A, B, C and D
User A executed a cloud script and in its args he included playFabIDs of user B, C and D
I want the cloud script to call a function in each of user B, C and D 's devices..
How can that be done ?

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

·
brendan avatar image
brendan answered

What you would need is a persistent connection from the clients, so that you can "push" a message to them (you can use Push Notifications, but they're not guaranteed, since the client could turn it off, and we would have no way of knowing). So, you could do this right now using a custom game server or Photon, having all the clients connect to a session together.

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.