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

# PFUserBattleNetInfo

> PFUserBattleNetInfo 数据模型。

PFUserBattleNetInfo 数据模型。

## 语法

```cpp theme={null}
typedef struct PFUserBattleNetInfo {  
    const char* battleNetAccountId;  
    const char* battleNetBattleTag;  
} PFUserBattleNetInfo;  
```

### 成员

**`battleNetAccountId`**   const char\*\
*以 null 结尾*

（可选）Battle.net 标识符。

**`battleNetBattleTag`**   const char\*\
*以 null 结尾*

（可选）Battle.net 显示名称。

## 要求

**标头：** PFTypes.h

## 另请参阅

[PFTypes 成员](https://docs.xbox.com/zh-CN/services/playfab/api-references/c/pftypes/pftypes_members.md)


## Related topics

- [Login With Battle Net](https://docs.xbox.com/api-reference/authentication/login-with-battle-net.md)
- [使用 Battle.net 登录](https://docs.xbox.com/zh-CN/services/playfab/api-references/rest/server/authentication/login-with-battle-net.md)
- [关联 Battle.net 帐户](https://docs.xbox.com/zh-CN/services/playfab/api-references/rest/server/account-management/link-battle-net-account.md)
- [Link Battle Net Account](https://docs.xbox.com/api-reference/account-management/link-battle-net-account.md)
- [Unlink Battle Net Account](https://docs.xbox.com/api-reference/account-management/unlink-battle-net-account.md)
