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

# PFLeaderboardsGetEntityLeaderboardResponse

> Reference for the PFLeaderboardsGetEntityLeaderboardResponse struct in the PlayFab Services C API, describing returned columns, rankings, and version.

PFLeaderboardsGetEntityLeaderboardResponse data model. Leaderboard response.

## Syntax

```cpp theme={null}
typedef struct PFLeaderboardsGetEntityLeaderboardResponse {  
    PFLeaderboardsLeaderboardColumn const* columns;  
    uint32_t columnsCount;  
    uint32_t entryCount;  
    time_t const* nextReset;  
    PFLeaderboardsEntityLeaderboardEntry const* rankings;  
    uint32_t rankingsCount;  
    uint32_t version;  
} PFLeaderboardsGetEntityLeaderboardResponse;  
```

### Members

**`columns`**   [PFLeaderboardsLeaderboardColumn](/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsleaderboardcolumn) const\*<br />*may be nullptr*

(Optional) Leaderboard columns describing the sort directions.

**`columnsCount`**   uint32\_t

Count of columns

**`entryCount`**   uint32\_t

The number of entries on the leaderboard.

**`nextReset`**   time\_t const\*<br />*may be nullptr*

(Optional) The time the next scheduled reset will occur. Null if the leaderboard does not reset on a schedule.

**`rankings`**   [PFLeaderboardsEntityLeaderboardEntry](/services/playfab/api-references/c/pfleaderboardstypes/structs/pfleaderboardsentityleaderboardentry) const\*<br />*may be nullptr*

(Optional) Individual entity rankings in the leaderboard, in sorted order by rank.

**`rankingsCount`**   uint32\_t

Count of rankings

**`version`**   uint32\_t

Version of the leaderboard being returned.

## Requirements

**Header:** PFLeaderboardsTypes.h

## See also

[PFLeaderboardsTypes members](/services/playfab/api-references/c/pfleaderboardstypes/pfleaderboardstypes_members)


## Related topics

- [PFLeaderboardsGetLeaderboardForEntitiesGetResult](/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardforentitiesgetresult.md)
- [PFLeaderboardsGetFriendLeaderboardForEntityGetResult](/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetfriendleaderboardforentitygetresult.md)
- [PFLeaderboardsGetLeaderboardAroundEntityGetResult](/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardaroundentitygetresult.md)
- [PFLeaderboardsGetLeaderboardGetResult](/services/playfab/api-references/c/pfleaderboards/functions/pfleaderboardsgetleaderboardgetresult.md)
- [Services C API overview - PFLeaderboardsTypes.h](/services/playfab/api-references/c/pfleaderboardstypes/pfleaderboardstypes_members.md)
