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

# XblStatisticChangeEventArgs

> XblStatisticChangeEventArgs

# XblStatisticChangeEventArgs

Contains information about a change to a subscribed statistic.

## Syntax

```cpp theme={null}
typedef struct XblStatisticChangeEventArgs {  
    uint64_t xboxUserId;  
    char serviceConfigurationId[XBL_SCID_LENGTH];  
    XblStatistic latestStatistic;  
} XblStatisticChangeEventArgs  
```

### Members

*xboxUserId*\
Type: uint64\_t

The XBOX user ID used to create the subscription.

*serviceConfigurationId*\
Type: char\[XBL\_SCID\_LENGTH]

The service configuration ID used to create the subscription.

*latestStatistic*\
Type: [XblStatistic](/reference/live/xsapi-c/user_statistics_c/structs/xblstatistic)

The statistic with an updated value.

## Argument of

[XblStatisticChangedHandler](/reference/live/xsapi-c/user_statistics_c/functions/xblstatisticchangedhandler)

## Requirements

**Header:** user\_statistics\_c.h

## See also

[user\_statistics\_c](/reference/live/xsapi-c/user_statistics_c/user_statistics_c_members)


## Related topics

- [XblStatisticChangedHandler](/reference/live/xsapi-c/user_statistics_c/functions/xblstatisticchangedhandler.md)
- [XblUserStatisticsAddStatisticChangedHandler](/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsaddstatisticchangedhandler.md)
- [XblStatistic](/reference/live/xsapi-c/user_statistics_c/structs/xblstatistic.md)
- [Handling an event-based stat change](/services/xbox-services/player-data/stats-leaderboards/event-based/how-to/live-handling-eb-stat-change.md)
- [Programming the RTA service](/services/xbox-services/fundamentals/rta/how-to/live-programming-rta.md)
