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

# PFStatisticsGetStatisticsForEntitiesAsync

> 指定されたエンティティのコレクションの統計を取得します。

指定されたエンティティのコレクションの統計を取得します。

## 構文

```cpp theme={null}
HRESULT PFStatisticsGetStatisticsForEntitiesAsync(  
    PFEntityHandle entityHandle,  
    const PFStatisticsGetStatisticsForEntitiesRequest* request,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFStatisticsGetStatisticsForEntitiesRequest\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticsforentitiesrequest.md)

値が設定されたリクエスト オブジェクト。

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

この API は Windows、Linux、macOS で利用できます。StatisticDeleteStatisticsAsync も参照してください。非同期タスクが完了したら、[PFStatisticsGetStatisticsForEntitiesGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresultsize.md) と [PFStatisticsGetStatisticsForEntitiesGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresult.md) を呼び出して結果を取得します。

## 要件

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

## 関連項目

[PFStatistics のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)


## Related topics

- [PFStatisticsGetStatisticsForEntitiesGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresult.md)
- [Services C API の概要 - PFStatistics.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [PFStatisticsGetStatisticsAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsasync.md)
- [PFStatisticsGetStatisticDefinitionAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitionasync.md)
- [Get Statistics For Entities](https://docs.xbox.com/api-reference/statistics/get-statistics-for-entities.md)
