> ## 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\*\
*is null-terminated*

（選擇性）Battle.net 識別碼。

**`battleNetBattleTag`**   const char\*\
*is null-terminated*

（選擇性）Battle.net 顯示名稱。

## 需求

**標頭:** PFTypes.h

## 另請參閱

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


## Related topics

- [PFUserAccountInfo](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pftypes/structs/pfuseraccountinfo.md)
- [Login With Battle Net](https://docs.xbox.com/api-reference/authentication/login-with-battle-net.md)
- [使用 Battle Net 登入](https://docs.xbox.com/zh-TW/services/playfab/api-references/rest/server/authentication/login-with-battle-net.md)
- [Link Battle Net Account](https://docs.xbox.com/api-reference/account-management/link-battle-net-account.md)
- [連結 Battle Net 帳戶](https://docs.xbox.com/zh-TW/services/playfab/api-references/rest/server/account-management/link-battle-net-account.md)
