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

# PFLeaderboardsEntityLeaderboardEntry

> Reference for the PFLeaderboardsEntityLeaderboardEntry struct in the PlayFab Services C API, describing an entity's rank, scores, and metadata.

PFLeaderboardsEntityLeaderboardEntry data model. Individual rank of an entity in a leaderboard.

## Syntax

```cpp theme={null}
typedef struct PFLeaderboardsEntityLeaderboardEntry {  
    const char* displayName;  
    PFEntityKey const* entity;  
    time_t lastUpdated;  
    const char* metadata;  
    int32_t rank;  
    const char* const* scores;  
    uint32_t scoresCount;  
} PFLeaderboardsEntityLeaderboardEntry;  
```

### Members

**`displayName`**   const char\*<br />*is null-terminated*

(Optional) Entity's display name.

**`entity`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*<br />*may be nullptr*

(Optional) Entity identifier.

**`lastUpdated`**   time\_t

The time at which the last update to the entry was recorded on the server.

**`metadata`**   const char\*<br />*is null-terminated*

(Optional) An opaque blob of data stored on the leaderboard entry. Note that the metadata is not used for ranking purposes.

**`rank`**   int32\_t

Position on the leaderboard.

**`scores`**   const char\* const\*<br />*may be nullptr*

(Optional) Scores for the entry.

**`scoresCount`**   uint32\_t

Count of scores

## Requirements

**Header:** PFLeaderboardsTypes.h

## See also

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