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

# PFStatisticsGetStatisticsAsync

> Obtiene las estadísticas de la entidad especificada.

Obtiene las estadísticas de la entidad especificada.

## Sintaxis

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

### Parámetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle que se usará para la autenticación.

**`request`**   [PFStatisticsGetStatisticsRequest\*](https://docs.xbox.com/es/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticsrequest.md)

Objeto de solicitud rellenado.

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

XAsyncBlock para la operación asincrónica.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API.

## Comentarios

Esta API está disponible en todas las plataformas. Vea también StatisticDeleteStatisticsAsync. Cuando se complete la tarea asincrónica, llame a [PFStatisticsGetStatisticsGetResultSize](https://docs.xbox.com/es/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsgetresultsize.md) y a [PFStatisticsGetStatisticsGetResult](https://docs.xbox.com/es/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsgetresult.md) para obtener el resultado.

## Requisitos

**Encabezado:** PFStatistics.h

## Consulte también

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


## Related topics

- [PFStatisticsGetStatisticsGetResult](https://docs.xbox.com/es/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsgetresult.md)
- [Información general de la API de C de Services - PFStatistics.h](https://docs.xbox.com/es/services/playfab/api-references/c/pfstatistics/pfstatistics_members.md)
- [PFStatisticsDeleteStatisticsAsync](https://docs.xbox.com/es/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsdeletestatisticsasync.md)
- [PFStatisticsUpdateStatisticsAsync](https://docs.xbox.com/es/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsupdatestatisticsasync.md)
- [PFStatisticsGetStatisticDefinitionAsync](https://docs.xbox.com/es/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitionasync.md)
