We are trying to make game with Unity3d and we have chosen PlayFab as backend service. We hope it will work on any platform and even on WebGL isn't it?
We need to use the leaderboad.
To do this,
first - We login with LoginWithCustomID,
next - GetPlayerCombinedInfo to get DisplayName (if it exist),
next - GetLeaderboardAroundUser with MaxResultsCount = 1 (to get user position and score from LB),
next - GetLeaderboard with StartPosition = 0 and MaxResultsCount = 10 (to get 10 best results from LB).
That is 4 calls to the server - that's a lot. Is there a simpler way?
Thanks in advance