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

# 使用 Microsoft Azure PlayFab Party 添加聊天

> 了解 PlayFab Party 如何为 XBOX GDK 游戏添加低延迟语音、文本聊天和转录功能,支持跨网络,并了解 PlayFab 定价详情。

使用本主题来了解 [PlayFab Party](https://learn.microsoft.com/gaming/playfab/features/multiplayer/networking/) 如何以灵活、包容且安全的方式简化在游戏中添加低延迟聊天和数据通信。当您不希望使用云端托管的专用服务器时(有时称为 *对等游戏* 或 *P2P 游戏*),Party 非常适合多人游戏实现。即便您使用云服务器作为游戏主机,Party 也可为应用内的社交体验(例如游戏内小队或赛后大厅)提供语音和文本通信。

Party 使用 Azure 认知服务转录用户的语音聊天并将文本合成为语音,该功能主要作为无障碍辅助工具设计。PlayFab Party 语音聊天的典型用量按分钟计费。有关详细信息,请参见 [PlayFab Party 定价](https://learn.microsoft.com/gaming/playfab/features/multiplayer/networking/pricing)。建议将此功能的启用与轻松使用类的用户设置进行绑定。

<Note>Party 还可实时翻译聊天内容。在匿名匹配和国际竞技游戏中,这些转录和翻译功能可提供更具吸引力的多人游戏体验。</Note>

PlayFab Party(以及我们的其他多人服务)的一个关键目标是促进可互操作的多人基础架构和跨网络游戏。请验证您的多人体验是否符合适用于多人游戏和跨网络用户活动的相关平台策略。

<Note>建议使用 PlayFab Party 而非 GameChat2 API。
有关集成 PlayFab Party 用于语音聊天的详细信息,请参见 [了解 PlayFab Party 聊天的工作原理](/services/playfab/community/voice-communications/concepts-chat)。</Note>

## 另请参见

[PlayFab Party](/build/console-features/networking/game-mesh/playfab-party-intro-networking)

[PlayFab Party 概述](https://learn.microsoft.com/gaming/playfab/features/multiplayer/networking/)


## Related topics

- [Azure PlayFab Party](/zh-CN/build/console-features/networking/game-mesh/playfab-party-intro-networking.md)
- [聊天](/zh-CN/services/xbox-services/multiplayer/chat/index.md)
- [了解 PlayFab Party 聊天的工作原理](/zh-CN/services/playfab/community/voice-communications/concepts-chat.md)
- [PlayFab Party 功能](/zh-CN/services/playfab/multiplayer/networking/party-features.md)
- [使用 PlayFab 的多人游戏](/zh-CN/services/playfab/multiplayer/mpintro.md)
