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

# PFStatisticValue

> PFStatisticValue 資料模型。

PFStatisticValue 資料模型。

## 語法

```cpp theme={null}
typedef struct PFStatisticValue {  
    const char* statisticName;  
    int32_t value;  
    uint32_t version;  
} PFStatisticValue;  
```

### 成員

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

（選擇性）統計資料的唯一名稱。

**`value`**   int32\_t

玩家的統計值。

**`version`**   uint32\_t

對於玩家現有統計值的更新，為載入統計資料時的版本。

## 需求

**標頭:** PFTypes.h

## 另請參閱

[PFTypes 成員](/zh-TW/services/playfab/api-references/c/pftypes/pftypes_members)


## Related topics

- [服務 C API 概觀 - PFTypes.h](/zh-TW/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [PFStatisticsEntityStatisticValue](/zh-TW/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsentitystatisticvalue.md)
- [PFEntityStatisticValue](/zh-TW/services/playfab/api-references/c/pfprofilestypes/structs/pfentitystatisticvalue.md)
- [PFStatisticsEntityStatisticValueDictionaryEntry](/zh-TW/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsentitystatisticvaluedictionaryentry.md)
- [PFEntityStatisticValueDictionaryEntry](/zh-TW/services/playfab/api-references/c/pfprofilestypes/structs/pfentitystatisticvaluedictionaryentry.md)
