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

> Obtient les statistiques pour la collection d'entités spécifiée.

Obtient les statistiques pour la collection d'entités spécifiée.

## Syntaxe

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

### Paramètres

**`entityHandle`**   PFEntityHandle

PFEntityHandle à utiliser pour l'authentification.

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

Objet de requête renseigné.

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

XAsyncBlock pour l'opération asynchrone.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API.

## Notes

Cette API est disponible sur Windows, Linux et macOS. Voir aussi StatisticDeleteStatisticsAsync. Une fois la tâche asynchrone terminée, appelez [PFStatisticsGetStatisticsForEntitiesGetResultSize](https://docs.xbox.com/fr-CA/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresultsize.md) et [PFStatisticsGetStatisticsForEntitiesGetResult](https://docs.xbox.com/fr-CA/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresult.md) pour obtenir le résultat.

## Configuration requise

**En-tête :** PFStatistics.h

## Voir aussi

[Membres de PFStatistics](https://docs.xbox.com/fr-CA/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)


## Related topics

- [PFStatisticsGetStatisticsForEntitiesGetResult](https://docs.xbox.com/fr-CA/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesgetresult.md)
- [Vue d'ensemble de l'API C Services - PFStatistics.h](https://docs.xbox.com/fr-CA/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [PFStatisticsGetStatisticsAsync](https://docs.xbox.com/fr-CA/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsasync.md)
- [PFStatisticsGetStatisticDefinitionAsync](https://docs.xbox.com/fr-CA/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)
