コード例 #1
0
 private void OnRequestFriendIdsCompleted(AGSRequestFriendIdsResponse response)
 {
     if (response.IsError())
     {
         Action <bool> callback = simpleCallbacks.ContainsKey(response.userData) ? simpleCallbacks[response.userData] : null;
         if (callback != null)
         {
             callback(false);
         }
         simpleCallbacks.Remove(response.userData);
     }
     else
     {
         AGSPlayerClient.RequestBatchFriends(response.friendIds, response.userData);
     }
 }