> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFFriendsClientGetFriendsListAsync

> PlayFab アカウントを持つユーザーに制限された、ローカル ユーザーの現在のフレンド リストを取得します。リンクされたアカウント (Facebook、Steam) のフレンドも同様に取得されます。

PlayFab アカウントを持つユーザーに制限された、ローカル ユーザーの現在のフレンド リストを取得します。リンクされたアカウント (Facebook、Steam) のフレンドも含まれます。オプションで、一部のリンク サービスのフレンドを除外することもできます。

## 構文

```cpp theme={null}
HRESULT PFFriendsClientGetFriendsListAsync(  
    PFEntityHandle entityHandle,  
    const PFFriendsClientGetFriendsListRequest* request,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFFriendsClientGetFriendsListRequest\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientgetfriendslistrequest.md)

値が設定されたリクエスト オブジェクト。

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

この API はすべてのプラットフォームで利用できます。ClientAddFriendAsync、ClientGetPlayerProfileAsync、ClientRemoveFriendAsync も参照してください。非同期タスクが完了したら、[PFFriendsClientGetFriendsListGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresultsize.md) と [PFFriendsClientGetFriendsListGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresult.md) を呼び出して結果を取得します。

## 要件

**ヘッダー:** PFFriends.h

## 関連項目

[PFFriends のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pffriends/pffriends_members.md)


## Related topics

- [PFFriendsClientGetFriendsListGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresult.md)
- [Services C API overview - PFFriends.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pffriends/pffriends_members.md)
- [PFFriendsClientAddFriendAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md)
- [PFFriendsClientGetFriendsListGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresultsize.md)
- [PFFriendsClientGetFriendsListRequest](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pffriendstypes/structs/pffriendsclientgetfriendslistrequest.md)
