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

# PFUserTitleInfo

> PFUserTitleInfo 数据模型。

PFUserTitleInfo 数据模型。

## 语法

```cpp theme={null}
typedef struct PFUserTitleInfo {  
    const char* avatarUrl;  
    time_t created;  
    const char* displayName;  
    time_t const* firstLogin;  
    bool const* isBanned;  
    time_t const* lastLogin;  
    PFUserOrigination const* origination;  
    PFEntityKey const* titlePlayerAccount;  
} PFUserTitleInfo;  
```

### 成员

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

（可选）玩家头像的 URL。

**`created`**   time\_t

指示用户首次与该游戏关联的时间戳（这与用户首次注册 PlayFab 的时间可能有很大差异）。

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

（可选）用户的名称，与游戏内显示的名称相同。

**`firstLogin`**   time\_t const\*\
*may be nullptr*

（可选）指示用户首次登录该游戏的时间戳（这可能与 Created 时间戳不同，因为其他事件（例如向用户颁发 Beta 密钥）也可能将游戏与用户关联）。

**`isBanned`**   bool const\*\
*may be nullptr*

（可选）指示用户当前是否已被针对某个游戏禁用的布尔值。

**`lastLogin`**   time\_t const\*\
*may be nullptr*

（可选）此游戏上次用户登录的时间戳。

**`origination`**   [PFUserOrigination](/services/playfab/api-references/c/pftypes/enums/pfuserorigination) const\*\
*may be nullptr*

（可选）用户首次加入游戏的来源（如果已知）。

**`titlePlayerAccount`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*\
*may be nullptr*

（可选）此用户的游戏玩家账号实体。

## 要求

**头文件：** PFTypes.h

## 另请参阅

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


## Related topics

- [PFUserAccountInfo](/zh-CN/services/playfab/api-references/c/pftypes/structs/pfuseraccountinfo.md)
- [服务 C API 概览 - PFTypes.h](/zh-CN/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [PFUserSteamInfo](/zh-CN/services/playfab/api-references/c/pftypes/structs/pfusersteaminfo.md)
- [PFAccountManagementServerGetUserAccountInfoAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetuseraccountinfoasync.md)
- [PFGetPlayerCombinedInfoRequestParams](/zh-CN/services/playfab/api-references/c/pftypes/structs/pfgetplayercombinedinforequestparams.md)
