void LeaderBoardResult(PlayFab.ServerModels.GetLeaderboardResult s) { var leaderBoard = s.Leaderboard; for (int i = 0; i < leaderBoard.Count; i++) { textEntries[i].Setup(i + 1, leaderBoard[i].DisplayName, leaderBoard[i].StatValue); } }
private void GetServerLbCallback(PlayFab.ServerModels.GetLeaderboardResult result) { if (result.Leaderboard.Count > 0) { lastReceivedMessage = "Get Server Leaderboard Successful"; } else { lastReceivedMessage = "Get Server Leaderboard, empty"; } }