> ## 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](/zh-TW/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser)

## 需求

**標頭：** social\_manager\_c.h

## 另請參閱

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


## Related topics

- [XblSocialManagerUser](/zh-TW/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)
- [XblPresenceFilter](/zh-TW/reference/live/xsapi-c/social_manager_c/enums/xblpresencefilter.md)
- [Get Transaction History](/api-reference/inventory/get-transaction-history.md)
- [XblSocialManagerExtraDetailLevel](/zh-TW/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagerextradetaillevel.md)
- [PlayStreamEventHistory](/zh-TW/services/playfab/api-references/events/data-types/playstreameventhistory.md)
