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

# PFStatisticsGetStatisticsAsync

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

指定されたエンティティの統計を取得します。

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

認証に使用する PFEntityHandle。

**`request`**   [PFStatisticsGetStatisticsRequest\*](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticsrequest)

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

**`async`**   XAsyncBlock\*<br />*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

この API はすべてのプラットフォームで利用できます。StatisticDeleteStatisticsAsync も参照してください。非同期タスクが完了したら、[PFStatisticsGetStatisticsGetResultSize](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsgetresultsize) と [PFStatisticsGetStatisticsGetResult](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsgetresult) を呼び出して結果を取得します。

## 要件

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

## 関連項目

[PFStatistics のメンバー](/services/playfab/api-references/c/pfstatistics/pfstatistics_members)
