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

# XblTitleHistory

> XblTitleHistory

# XblTitleHistory

用户是否玩过该游戏的相关数据。

## 语法

```cpp theme={null}
typedef struct XblTitleHistory {  
    bool hasUserPlayed;  
    time_t lastTimeUserPlayed;  
} XblTitleHistory  
```

### 成员

*hasUserPlayed*\
类型：bool

用户是否玩过此标题。

*lastTimeUserPlayed*\
类型：time\_t

用户上次玩的时间。

## 成员属于

[XblSocialManagerUser](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser)

## 要求

**标头：** social\_manager\_c.h

## 另请参阅

[social\_manager\_c](/reference/live/xsapi-c/social_manager_c/social_manager_c_members)


## Related topics

- [XblSocialManagerUser](/zh-CN/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)
- [XblPresenceFilter](/zh-CN/reference/live/xsapi-c/social_manager_c/enums/xblpresencefilter.md)
- [XblSocialManagerExtraDetailLevel](/zh-CN/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagerextradetaillevel.md)
- [PlayStreamEventHistory](/zh-CN/services/playfab/api-references/events/data-types/playstreameventhistory.md)
- [PFInventoryGetTransactionHistoryResponse](/zh-CN/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygettransactionhistoryresponse.md)
