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

# PFStatisticsStatisticDefinition

> PFStatisticsStatisticDefinition データ モデル。

PFStatisticsStatisticDefinition データ モデル。

## 構文

```cpp theme={null}
typedef struct PFStatisticsStatisticDefinition {  
    const char* const* aggregationDestinations;  
    uint32_t aggregationDestinationsCount;  
    const char* const* aggregationSources;  
    uint32_t aggregationSourcesCount;  
    PFStatisticsStatisticColumn const* columns;  
    uint32_t columnsCount;  
    time_t created;  
    const char* entityType;  
    PFStatisticsStatisticsEventEmissionConfig const* eventEmissionConfig;  
    time_t const* lastResetTime;  
    const char* const* linkedLeaderboardNames;  
    uint32_t linkedLeaderboardNamesCount;  
    const char* name;  
    uint32_t version;  
    PFVersionConfiguration const* versionConfiguration;  
} PFStatisticsStatisticDefinition;  
```

### メンバー

**`aggregationDestinations`**   const char\* const\*<br />*may be nullptr*

(省略可) この定義の集計先となる統計定義名の一覧。

**`aggregationDestinationsCount`**   uint32\_t

aggregationDestinations の数。

**`aggregationSources`**   const char\* const\*<br />*may be nullptr*

(省略可) この統計に向けて値を集計する必要がある統計定義名の一覧。AggregationSource が指定されている場合、この定義の entityType は Title である必要があります (CommunityStat になります)。現在、指定できる集計ソースは 1 つのみです。

**`aggregationSourcesCount`**   uint32\_t

aggregationSources の数。

**`columns`**   [PFStatisticsStatisticColumn](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsstatisticcolumn) const\*<br />*may be nullptr*

(省略可) 各列の集計方法を定義する統計の列。

**`columnsCount`**   uint32\_t

columns の数。

**`created`**   time\_t

作成時刻 (UTC)。

**`entityType`**   const char\*<br />*is null-terminated*

(省略可) この統計を持つことができるエンティティ タイプ。

**`eventEmissionConfig`**   [PFStatisticsStatisticsEventEmissionConfig](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsstatisticseventemissionconfig) const\*<br />*may be nullptr*

(省略可) \[プレビュー段階]: サービスによって生成されるさまざまな Statistics イベントの構成。

**`lastResetTime`**   time\_t const\*<br />*may be nullptr*

(省略可) 統計バージョンが最後にインクリメントされた時刻 (UTC)。

**`linkedLeaderboardNames`**   const char\* const\*<br />*may be nullptr*

(省略可) この統計定義にリンクされているリーダーボードの一覧。

**`linkedLeaderboardNamesCount`**   uint32\_t

linkedLeaderboardNames の数。

**`name`**   const char\*<br />*is null-terminated*

(省略可) 統計の名前。

**`version`**   uint32\_t

統計バージョン。

**`versionConfiguration`**   PFVersionConfiguration const\*<br />*may be nullptr*

(省略可) リーダーボード定義のバージョン リセット構成。

## 要件

**ヘッダー:** PFStatisticsTypes.h

## 関連項目

[PFStatisticsTypes のメンバー](/services/playfab/api-references/c/pfstatisticstypes/pfstatisticstypes_members)


## Related topics

- [PFStatisticsListStatisticDefinitionsResponse](/ja-jp/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsliststatisticdefinitionsresponse.md)
- [Services C API overview - PFStatisticsTypes.h](/ja-jp/services/playfab/api-references/c/pfstatisticstypes/pfstatisticstypes_members.md)
- [PFStatisticsListStatisticDefinitionsAsync](/ja-jp/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsliststatisticdefinitionsasync.md)
- [PFStatisticsGetStatisticDefinitionAsync](/ja-jp/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitionasync.md)
- [PFStatisticsUpdateStatisticDefinitionRequest](/ja-jp/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsupdatestatisticdefinitionrequest.md)
