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

# player_statistic_changed

> player_statistic_changed イベント。

このイベントは、プレイヤーの統計が変更されたときにトリガーされます。

## Properties

| Name | Type | Description |
| :- | :- | :- |
| AggregationMethod | [StatisticAggregationMethod](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/data-types/statisticaggregationmethod.md) | 統計の新しい値を計算するために適用される集約メソッド。 |
| StatisticId | uint32 | 変更された統計の一意 ID。 |
| StatisticName | String | 変更された統計の名前。 |
| StatisticPreviousValue | int32 | 変更前の統計の古い値。 |
| StatisticValue | int32 | 変更後の統計の新しい値。 |
| TitleId | String | このプレイヤー イベントが適用されるタイトルの ID。 |
| Version | uint32 | 変更された統計のバージョン。統計がリセットされる場合、リセットのたびにバージョンがインクリメントされるため関連があります。 |

## Common Properties

すべての V1 PlayStream イベントは JSON オブジェクトとして書式設定されており、次の共通プロパティを共有します。

| Name | Type | Description |
| :- | :- | :- |
| EntityId | String | このイベントが適用されるエンティティ (タイトル、プレイヤーなど) の識別子。 |
| EntityType | String | このイベントが適用されるエンティティのタイプ (プレイヤー、タイトルなど)。PlayFab がこのエンティティに対してアクションを実行する場合、EntityType は 'player'、'character'、または 'title' のいずれかである必要があります。PlayFab が現在解析しないエンティティ タイプには、名前空間 ('com.mygame.guild' など) を先頭に付ける必要があります。PlayFab はいつでもルート エンティティの解析を開始する可能性があるためです。 |
| EventId | String | このイベントに対して PlayFab から割り当てられた一意の識別子。 |
| EventName | String | このイベントの名前。 |
| EventNamespace | String | このイベントに割り当てられた名前空間。例: 'com.myprogram.ads' |
| Source | String | この PlayStream イベントのソースの名前。イベントが当社から発信された場合は PlayFab になります。 |
| SourceType | [SourceType](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/data-types/sourcetype.md) | このイベントのソースのタイプ (PlayFab パートナー、その他のバックエンド、または PlayFab API から)。 |
| Timestamp | DateTime | このイベントに関連付けられた時刻 (UTC)。 |


## Related topics

- [PlayStream イベント モデル リファレンス](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/index.md)
- [character_statistic_changed](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/Leaderboards/character-statistic-changed.md)
- [title_statistic_version_changed](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/Leaderboards/title-statistic-version-changed.md)
- [XblStatisticChangedHandler](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/user_statistics_c/functions/xblstatisticchangedhandler.md)
- [XblUserStatisticsRemoveStatisticChangedHandler](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsremovestatisticchangedhandler.md)
