Inheritance: PlayFab.SharedModels.PlayFabResultCommon
Exemplo n.º 1
0
 public void GetClientLbCallback(PlayFab.ClientModels.GetLeaderboardAroundCurrentUserResult result)
 {
     if (result.Leaderboard.Count > 0)
     {
         lastReceivedMessage = "Get Client Leaderboard Successful";
     }
     else
     {
         lastReceivedMessage = "Get Client Leaderboard, empty";
     }
 }
 /// <summary>
 /// Callback to be called when loading the leaderboard around the current user completes.
 /// </summary>
 /// <param name="result">Leaderboard returned.</param>
 void OnGetLeaderboardAroundMeResult(GetLeaderboardAroundCurrentUserResult result)
 {
     OnLeaderboardLoadedCallback(result.Leaderboard);
 }