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

> Obtém estatísticas para a coleção de entidades especificada.

Obtém estatísticas para a coleção de entidades especificada.

## Sintaxe

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

### Parâmetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle a ser usado para autenticação.

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

Objeto de solicitação preenchido.

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

XAsyncBlock para a operação assíncrona.

### Valor de retorno

Tipo: HRESULT

Código de resultado desta operação de API.

## Comentários

Esta API está disponível no Windows, Linux e macOS. Consulte também StatisticDeleteStatisticsAsync. Quando a tarefa assíncrona for concluída, chame [PFStatisticsGetStatisticsForEntitiesGetResultSize](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresultsize.md) e [PFStatisticsGetStatisticsForEntitiesGetResult](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresult.md) para obter o resultado.

## Requisitos

**Cabeçalho:** PFStatistics.h

## Confira também

[Membros de PFStatistics](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)


## Related topics

- [PFStatisticsGetStatisticsForEntitiesGetResult](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresult.md)
- [Visão geral da API C do Services - PFStatistics.h](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [PFStatisticsGetStatisticsAsync](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsasync.md)
- [PFStatisticsGetStatisticDefinitionAsync](https://docs.xbox.com/pt-BR/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)
