public void GetGameFriends(GameFriendsCallback callback) { new ListGameFriendsRequest().Send((response) => { if (callback != null) { if (response.HasErrors) { callback(new GameFriendsReply(false, "GS failed to fetch game friends, " + response.Errors.ToString())); } else { callback(CloudConverter.GameFriendsToGameFriendsReply(response.Friends)); } } }); }
public void GetGameFriends(GameFriendsCallback callback) { cloudHandler.GetGameFriends(callback); }