So I'm an absolute beginner, but I really want to figure this out.
Now I was able to create a Player Login authentication and give my player the virtual currency, buy an item from the shop, and consume the item. However, this was all client-side through Unity code. I'm now trying to get the same functionality through PlayFab's CloudScript because I don't want the user to be able to just give their self money and items client-side.
I've been staring at the https://api.playfab.com/Documentation/Client page and categories, and I've looked through the https://api.playfab.com/Documentation/Server page. My lack of knowledge makes the code provided difficult for me to interpret. I'm not entirely sure how to communicate the same functionality in PlayFab's CloudScript.
I was just wanting a simple User Authentication by letting the player create an account (Username & Password), logging in, checking to make sure it is an existing account, then the ability to give the user virtual currency or items from my catalog. I want it to be server-side because providing this client-side would expose the game to exploits.
I learn best from examples, but the examples provided are an enigma to me since they are in JSON. I'm not quite familiar with it or how to translate it into CloudScript.
Am I even making sense? I hope I am haha