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

# statistic_updated

> statistic_updated event

This event is triggered when a statistic is updated for a given entity.

## Properties

| Name             | Type     | Description                                                          |
| ---------------- | -------- | -------------------------------------------------------------------- |
| Name             | String   | The name of the statistic                                            |
| Version          | int32    | The version of the statistic                                         |
| Scores           | int64\[] | The current scores for the statistic, after the change               |
| PreviousScores   | int64\[] | The previous scores for the statistic, before the change             |
| Metadata         | String   | The metadata associated with the statistic, after the change         |
| PreviousMetadata | String   | The metadata associated with the statistic, before the change        |
| Operation        | String   | The operation that was performed: `Created`, `Updated`, or `Deleted` |

## Common Properties

All V2 PlayStream events are formatted as JSON objects and most share the following common properties:

| Name               | Type                                                                          | Description                                                                               |
| :----------------- | :---------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------- |
| SchemaVersion      | String                                                                        | PlayStream event format version, following a semantic versioning scheme.                  |
| FullName           | [Object](/services/playfab/api-references/events/data-types/fullnameobject)   | Combination of the event name and event namespace to fully specify the event type.        |
| Id                 | String                                                                        | PlayFab-assigned unique identifier for this event.                                        |
| Timestamp          | DateTime                                                                      | The time (in UTC) associated with this event.                                             |
| Entity             | [Object](/services/playfab/api-references/events/data-types/entityobject)     | Details about the entity to which this event applies including Entity Id and Entity type. |
| Originator         | [Object](/services/playfab/api-references/events/data-types/originatorobject) | Object describing the source and source type that initiated this event.                   |
| PayloadContentType | String                                                                        | Specifies the content of the event payload. Default is "JSON".                            |
| Origin Info        | Object                                                                        | Optional field containing info about events originating outside of PlayFab.               |


## Related topics

- [PlayStream event model reference for PlayFab](/services/playfab/api-references/events/index.md)
- [Limits on statistics](/services/playfab/player-progression/statistics/limits-statistics.md)
- [Statistics with PlayStream and Telemetry](/services/playfab/player-progression/statistics/statistics-with-playstream-and-telemetry.md)
- [Using resettable statistics and leaderboards](/services/playfab/community/leaderboards/tournaments-leaderboards/using-resettable-statistics-and-leaderboards.md)
- [PFStatisticsUpdateStatisticsResponse](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsupdatestatisticsresponse.md)
