how can i make InGamePostmail that player can claim kind of reward?
how can i make InGamePostmail that player can claim kind of reward?
May I know more details about this "InGamePostmail" feature you're trying to implement? Like what's the basic flow you're designing, so that we provide proper suggestions on how to use PlayFab to achieve that, thanks!
give InGame item such as virtucal currency to player when claim by clicking the inbox mail button. that InGameItem comes from my manual control.
Here is one way to do it:
1. Put item id(s) a player can claim in its Player Internal Data.
2. Send In-Game Mail to the player with item(s) waiting to be claimed.
3. When clicking the "claim" button, execute a cloudscript function with the item id(s), and in the function, first check whether the player has corresponding item id(s) in its Player Internal Data, if so, grant him the item(s) and erase the item id(s) from Internal Data; else, return "claim failured".
2 People are following this question.