Task <Social.Friends.PlatformFriendResponse> ISocialClient.GetPlatformFriendListAsync(Social.Friends.PlatformFriendType friendPlatform, string page) { if (page is null) { throw new ArgumentNullException(nameof(page)); } string[] pathSegments = new string[] { "Social", "PlatformFriends", ((int)friendPlatform).ToString(), page }; Uri uri = GetEndpointUri(BungieEndpointBase.Default, pathSegments, true, null); return(GetEntityAsync <Social.Friends.PlatformFriendResponse>(uri)); }
Social.Friends.PlatformFriendResponse ISocialClient.GetPlatformFriendList(Social.Friends.PlatformFriendType friendPlatform, string page) => Social.GetPlatformFriendListAsync(friendPlatform, page).GetAwaiter().GetResult();