# ILeaderboard

> The leaderboard contains the scores of all players for a particular game.

## Definition

* **Type:** Interface
* **Namespace:** [UnityEngine.SocialPlatforms](/engine/6000.3/script-reference/unityengine/socialplatforms.md)
* **Assembly:** UnityEngine.GameCenterModule

> **Warning:**
>
> **Deprecated.** ILeaderboard is deprecated and will be removed in a future release.

```csharp
public interface ILeaderboard
```

## Remarks

Each game can have multiple leaderboards with different scores. A leaderboard object can be customized to perform a particular query. The leaderboard ID defines which leaderboard is being queried and there are filters to narrow down the results, [UserScope](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/userscope.md), [TimeScope](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/timescope.md),  [Range](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/range.md) and [SetUserFilter](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/setuserfilter.md). Use [Social.CreateLeaderboard](/engine/6000.3/script-reference/unityengine/social/createleaderboard.md) to create an instance of this object.

## Properties

| Property                                                                                                     | Description                                          |
| ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------- |
| [id](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/id.md)                         | Unique identifier for this leaderboard.              |
| [loading](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/loading.md)               | The leaderboad is in the process of loading scores.  |
| [localUserScore](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/localuserscore.md) | The leaderboard score of the logged in user.         |
| [maxRange](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/maxrange.md)             | The total amount of scores the leaderboard contains. |
| [range](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/range.md)                   | The rank range this leaderboard returns.             |
| [scores](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/scores.md)                 | The leaderboard scores returned by a query.          |
| [timeScope](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/timescope.md)           | The time period/scope searched by this leaderboard.  |
| [title](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/title.md)                   | The human readable title of this leaderboard.        |
| [userScope](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/userscope.md)           | The users scope searched by this leaderboard.        |

## Methods

| Method                                                                                                     | Description                                                   |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [LoadScores](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/loadscores.md)       | Load scores according to the filters set on this leaderboard. |
| [SetUserFilter](/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard/setuserfilter.md) | Only search for these user IDs.                               |
