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

# PFStatisticsEntityStatisticValue

> Reference for the PFStatisticsEntityStatisticValue struct in the PlayFab Services C API, holding a statistic's name, scores, version, and metadata.

PFStatisticsEntityStatisticValue data model.

## Syntax

```cpp theme={null}
typedef struct PFStatisticsEntityStatisticValue {  
    const char* metadata;  
    const char* name;  
    const char* const* scores;  
    uint32_t scoresCount;  
    int32_t version;  
} PFStatisticsEntityStatisticValue;  
```

### Members

**`metadata`**   const char\*\
*is null-terminated*

(Optional) Metadata associated with the Statistic.

**`name`**   const char\*\
*is null-terminated*

(Optional) Statistic name.

**`scores`**   const char\* const\*\
*may be nullptr*

(Optional) Statistic scores.

**`scoresCount`**   uint32\_t

Count of scores

**`version`**   int32\_t

Statistic version.

## Requirements

**Header:** PFStatisticsTypes.h

## See also

[PFStatisticsTypes members](https://docs.xbox.com/services/playfab/api-references/c/pfstatisticstypes/pfstatisticstypes_members.md)


## Related topics

- [PFStatisticsEntityStatisticValueDictionaryEntry](https://docs.xbox.com/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsentitystatisticvaluedictionaryentry.md)
- [PFStatisticsEntityStatistics](https://docs.xbox.com/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsentitystatistics.md)
- [Services C API overview - PFStatisticsTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pfstatisticstypes/pfstatisticstypes_members.md)
- [PFEntityStatisticValue](https://docs.xbox.com/services/playfab/api-references/c/pfprofilestypes/structs/pfentitystatisticvalue.md)
- [PFEntityStatisticValueDictionaryEntry](https://docs.xbox.com/services/playfab/api-references/c/pfprofilestypes/structs/pfentitystatisticvaluedictionaryentry.md)
