question

brendan avatar image
brendan asked

Player messaging

Mihael
started a topic on Sat, 12 September 2015 at 10:01 AM

I'd like to implement a message system, where players can message one another. Currently the best way I've come up with is to create a shared group for every friend pair, and use the groups data for the players to communicate, but this seems a bit complicated. This is fairly flexible as this allows for another user to join in, but is that the right way?

Is there a simpler way of achieving this?

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

1 Comment
Brendan Vanous said on Sat, 12 September 2015 at 2:37 PM

Yes, the simpler way would be to use a single Shared Group Data for each user. Then, you can write to it using PlayFab ID of the player sending the message as the Key, and the message itself as the Value.

Brendan

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.