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

# PFStatisticModel

> PFStatisticModel 資料模型。

PFStatisticModel 資料模型。

## 語法

```cpp theme={null}
typedef struct PFStatisticModel {  
    const char* name;  
    int32_t value;  
    int32_t version;  
} PFStatisticModel;  
```

### 成員

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

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

**`value`**   int32\_t

統計值。

**`version`**   int32\_t

統計資料版本 (如果不是已設定版本的統計資料，則為 0)。

## 需求

**標頭:** PFTypes.h

## 另請參閱

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


## Related topics

- [PFPlayerProfileModel](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfplayerprofilemodel.md)
- [服務 C API 概觀 - PFTypes.h](/zh-TW/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [Create Segment](/api-reference/segments/create-segment.md)
- [建立區段](/zh-TW/services/playfab/api-references/rest/admin/segments/create-segment.md)
- [更新區段](/zh-TW/services/playfab/api-references/rest/admin/segments/update-segment.md)
