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

# XblTitleHistory

> XblTitleHistory

Data about whether the user has played the title.

## Syntax

```cpp theme={null}
typedef struct XblTitleHistory {  
    bool hasUserPlayed;  
    time_t lastTimeUserPlayed;  
    char lastTimeUserPlayedText[XBL_LAST_TIME_PLAYED_CHAR_SIZE];  
} XblTitleHistory;  
```

### Members

*hasUserPlayed*\
Type: bool

Whether the user has played this title.

*lastTimeUserPlayed*\
Type: time\_t

The last time the user had played. Don't use both this member and `lastTimeUserPlayedText`. For play time within the past 14 days, the value is accurate for the date and approximately accurate for the time. For play time older than 14 days, the value is accurate only to the year and month, up to a year ago. The date is returned as the first day of the month, but the play time could have occurred anywhere within that month.

*lastTimeUserPlayedText*\
Type: char\[XBL\_LAST\_TIME\_PLAYED\_CHAR\_SIZE]

The last time the user had played, in a standardized plain-text format, such as "a few minutes ago", "x hours/days/months ago", or "this/last month". Don't use both this member and `lastTimeUserPlayed`.

## Member of

[XblSocialManagerUser](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)

## Requirements

**Header:** social\_manager\_c.h

## See also

[social\_manager\_c](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)


## Related topics

- [social_manager_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)
- [XblSocialManagerUser](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)
- [GET (/users/xuid({xuid})/history/titles)](https://docs.xbox.com/reference/live/rest/uri/titlehistory/uri-titlehistoryusersxuidhistorytitlesgetv2.md)
- [XblPresenceFilter](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/enums/xblpresencefilter.md)
- [Transaction History](https://docs.xbox.com/services/playfab/economy-monetization/economy-v2/inventory/transaction-history.md)
