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?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @gordor,

    Thank you for choosing Photon!

    You could use a third party service like our partners at PlayFab.
  • nishugu2
    Options
    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
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    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.