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

包含已訂閱統計資料變更的相關資訊。

## 語法

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

### 成員

*xboxUserId*\
類型：uint64\_t

用來建立訂閱的 XBOX 使用者識別碼。

*serviceConfigurationId*\
類型：char\[XBL\_SCID\_LENGTH]

用來建立訂閱的服務設定識別碼。

*latestStatistic*\
類型：[XblStatistic](/zh-TW/reference/live/xsapi-c/user_statistics_c/structs/xblstatistic)

具有更新值的統計資料。

## 作為下列項目的引數

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

## 需求

**標頭：** user\_statistics\_c.h

## 另請參閱

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


## Related topics

- [XblStatistic](/zh-TW/reference/live/xsapi-c/user_statistics_c/structs/xblstatistic.md)
- [XblStatisticChangedHandler](/zh-TW/reference/live/xsapi-c/user_statistics_c/functions/xblstatisticchangedhandler.md)
- [XblUserStatisticsAddStatisticChangedHandler](/zh-TW/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsaddstatisticchangedhandler.md)
- [對 RTA 服務進行程式設計](/zh-TW/services/xbox-services/fundamentals/rta/how-to/live-programming-rta.md)
- [處理事件型統計資料變更](/zh-TW/services/xbox-services/player-data/stats-leaderboards/event-based/how-to/live-handling-eb-stat-change.md)
