I'd like to create a mail system for my game, and I came across this discussion:
https://community.playfab.com/questions/10155/in-game-mail-system.html
It sounds like it might still be in the works, but I'll plan to build my own in the meantime.
The main concern raised was the usage of key value pairs, as we have a limit. Would it be feasible to pack all mail messages into one key value pair? Then just use a custom delimiter to split them apart? Mail would only come from myself or the server, so I don't need to worry about users abusing the delimiter.
The game will periodically check the server for mail- but once the mail is received it will be parsed and serialized into the user's actual "game file," so storage in the KVP will always be temporary.
(side note: can I upload a user's entire compressed game file into a single KVP? As long as I don't exceed 10kb?)
Could this all work in conjunction with a prize table? I'd like to award game items and deliver them in a mail format. So when the prize table resets it can execute a cloud script that updates the user's "mail" KVP with a message containing the new item. We're allowed to call a custom cloudscript function, right? Not just the default ones from the drop-down list?