Hi everyone,
I am trying to create an in game mail system using PlayFab. But this has a twist; the receiver of the mail is random (you can't choose who) and multiple people may receive the same mail.
So far I have been successful in getting a list of players (using Leaderboards) and selecting a random player from that list. Easy stuff.
However, one of my issues is how to store said message for each of the selected users. So far I have resorted to using user data and save a "key:value". But that doesn't really work. Since the key would need to be unique and the player pulling the data (to get their messages) needs to know that unique key. So doesn't really work. Moreover, I saw in another post that the user data is limited to 100 keys.
The second issue is storing the sender's PlayFabID so that the mail receiver would be able to reply back. I don't exactly need to show the receiver who the sender was, but this is just to deliver the reply to the correct person.
Another idea I thought of is Player Inventory; basically treat each mail as an "item" of type "Mail" and the item description acts as the contents of the message.
Any ideas on how I can approach this?