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

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

**`battleNetBattleTag`**   const char\*<br />*is null-terminated*

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

## 需求

**標頭:** PFTypes.h

## 另請參閱

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


## Related topics

- [PFUserAccountInfo](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfuseraccountinfo.md)
- [Login With Battle Net](/api-reference/authentication/login-with-battle-net.md)
- [使用 Battle Net 登入](/zh-TW/services/playfab/api-references/rest/server/authentication/login-with-battle-net.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)
