> ## 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.

# 服務 C API 概觀 - PFFriends.h

> 服務 C API 概觀 - PFFriends.h

## 函式

| 函式 | 描述 |
| - | - |
| [PFFriendsClientAddFriendAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md) | 根據與所提供唯一識別碼的比對結果，將 PlayFab 使用者新增至本機使用者的好友清單。FriendPlayFabId、FriendUsername、FriendEmail 或 FriendTitleDisplayName 中至少應初始化其中一個。 |
| [PFFriendsClientAddFriendGetResult](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendgetresult.md) | 取得成功的 PFFriendsClientAddFriendAsync 呼叫結果。 |
| [PFFriendsClientGetFriendsListAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistasync.md) | 擷取本機使用者目前的好友清單，僅限擁有 PlayFab 帳戶的使用者。也會包含來自連結帳戶 (Facebook、Steam) 的好友。您可以選擇性地排除某些連結服務的好友。 |
| [PFFriendsClientGetFriendsListGetResult](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresult.md) | 取得成功的 PFFriendsClientGetFriendsListAsync 呼叫結果。 |
| [PFFriendsClientGetFriendsListGetResultSize](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsclientgetfriendslistgetresultsize.md) | 取得儲存 ClientGetFriendsList 呼叫結果所需的大小 (以位元組為單位)。 |
| [PFFriendsClientRemoveFriendAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsclientremovefriendasync.md) | 從本機使用者的好友清單中移除指定的使用者 |
| [PFFriendsClientSetFriendTagsAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsclientsetfriendtagsasync.md) | 更新本機使用者好友清單中指定使用者的標籤清單 |
| [PFFriendsServerAddFriendAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsserveraddfriendasync.md) | 將好友使用者新增至具有 PlayFabId 之使用者的好友清單。FriendPlayFabId、FriendUsername、FriendEmail 或 FriendTitleDisplayName 中至少應初始化其中一個。 |
| [PFFriendsServerGetFriendsListAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistasync.md) | 擷取具有 PlayFabId 之使用者目前的好友，僅限擁有 PlayFab 帳戶的使用者。也會包含來自連結帳戶 (Facebook、Steam) 的好友。您可以選擇性地排除某些連結服務的好友。 |
| [PFFriendsServerGetFriendsListGetResult](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresult.md) | 取得成功的 PFFriendsServerGetFriendsListAsync 呼叫結果。 |
| [PFFriendsServerGetFriendsListGetResultSize](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsservergetfriendslistgetresultsize.md) | 取得儲存 ServerGetFriendsList 呼叫結果所需的大小 (以位元組為單位)。 |
| [PFFriendsServerRemoveFriendAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsserverremovefriendasync.md) | 從使用者的好友清單中移除指定的好友 |
| [PFFriendsServerSetFriendTagsAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsserversetfriendtagsasync.md) | 更新另一位使用者好友清單中指定使用者的標籤清單 |


## Related topics

- [服務 C API 概觀 - PFFriendsTypes.h](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriendstypes/pffriendstypes_members.md)
- [PFFriendsClientRemoveFriendAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsclientremovefriendasync.md)
- [PFFriendsServerAddFriendAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsserveraddfriendasync.md)
- [PFFriendsServerRemoveFriendAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsserverremovefriendasync.md)
- [PFFriendsClientAddFriendAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pffriends/functions/pffriendsclientaddfriendasync.md)
