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

# PartyXblCrossNetworkCommunicationPrivacySetting

> PartyXblCrossNetworkCommunicationPrivacySetting 枚举参考,用于在 PlayFab Party 帮助库中控制 XBOX Live 跨网络聊天隐私。

本地 XBOX Live 用户可能的跨网络通信隐私设置。

## 语法

```cpp theme={null}
enum class PartyXblCrossNetworkCommunicationPrivacySetting    
{  
    Allowed = 0,  
    FriendsOnly = 1,  
    Disallowed = 2,  
}  
```

## 常量

| 常量          | 说明                    |
| ----------- | --------------------- |
| Allowed     | 允许该用户与跨网络用户进行不受限制的通信。 |
| FriendsOnly | 该用户与跨网络用户的通信仅限于好友。    |
| Disallowed  | 不允许该用户与跨网络用户进行通信。     |

## 备注

跨网络用户是指使用非 XBOX Live 游戏网络的用户。

## 要求

**头文件:** PartyXboxLive.h

## 另请参阅

[PartyXboxLive 成员](/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members)


## Related topics

- [PartyXbl GetCrossNetworkCommunicationPrivacySetting](/zh-CN/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/methods/partyxbllocalchatuser_getcrossnetworkcommunicationprivacysetting.md)
- [适用于 PlayFab Party 的 XBOX Live 辅助库](/zh-CN/services/playfab/multiplayer/networking/party-xbox-live-guide.md)
- [PlayFab Party XBOX Live 辅助库发行说明](/zh-CN/services/playfab/multiplayer/networking/party-xboxlive-relnotes.md)
- [PartyXboxLive C/C++ API 概览](/zh-CN/services/playfab/multiplayer/networking/xblreference/partyxboxlive_members.md)
- [PartyXblLocalChatUser](/zh-CN/services/playfab/multiplayer/networking/xblreference/classes/PartyXblLocalChatUser/partyxbllocalchatuser.md)
