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

# PFUserBattleNetInfo

> PFUserBattleNetInfo 数据模型。

PFUserBattleNetInfo 数据模型。

## 语法

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

### 成员

**`battleNetAccountId`**   const char\*<br />*以 null 结尾*

（可选）Battle.net 标识符。

**`battleNetBattleTag`**   const char\*<br />*以 null 结尾*

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

## 要求

**标头：** PFTypes.h

## 另请参阅

[PFTypes 成员](/zh-CN/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [Login With Battle Net](/api-reference/authentication/login-with-battle-net.md)
- [使用 Battle.net 登录](/zh-CN/services/playfab/api-references/rest/server/authentication/login-with-battle-net.md)
- [关联 Battle.net 帐户](/zh-CN/services/playfab/api-references/rest/server/account-management/link-battle-net-account.md)
- [Get User Account Info](/api-reference/account-management/get-user-account-info.md)
- [Link Battle Net Account](/api-reference/account-management/link-battle-net-account.md)
