Hello,
I'm working on a pretty simple chess-like board game, and could use some help managing my cloudscript functions. In my game, I have some basic friend request and acceptance functions. Then once people are friends, you can click on their name in your friends list and challenge them to a game. After making your first move, a Shared Group is created with both players as well as some board data.
My problem right now is pretty simple: my code really doesn't feel optimized. In my game, the friend list contains display names for a person's friends. Each time a player wants to challenge a friend to a game, the program has to do a client side GetAccountInfo to get their PlayFabId, then pass that id into the cloudscript that makes the game. GetUserAccountInfo seems restricted to the current user's data, since it doesn't allow the passing in of anything but a PlayFabId.
Am I even going about this the right way? I'm quite new to both game development and Playfab so maybe I'm not even doing this right.