Photon PUN save values
Options
Hi guys, now I use photon PUN, but now exists issue with player data saving. For example I need to save new value of gold. How can I do this, or I need to use Photon server?
0
Comments
-
hi @JohnTube i am also using photon i have an multiplayer game and i have a beting system in which the two player beting against each other let take the example you and me play mine game i beted 1000 coins you also beted 1000 coins suppose you lose the match i get your coins that is i won your coins and i have 2000 coins now. how can i do this using photon
0 -
Hi @nishugu2,
You could do this directly and only in PlayFab.
I suggest you ask this on their forum.
If you want to do it using the Photon-PlayFab integration, you will need to implement Photon's webhooks or webRPCs in PlayFab's CloudScript.
The betting and the coins could be done using room or player properties or custom events.
I can't give you more details.0