Interface ILeaderboardsService
Namespace: Unity.Services.Leaderboards
Assembly: solution.dll
Syntax
public interface ILeaderboardsService
Methods
Name | Description |
---|---|
AddPlayerScoreAsync(string, double, AddPlayerScoreOptions) | Adds or updates an entry for the current player in the specified leaderboard. |
GetPlayerRangeAsync(string, GetPlayerRangeOptions) | Gets the entries of the current player as well as the specified number of neighboring players ranked either side of the player. |
GetPlayerScoreAsync(string, GetPlayerScoreOptions) | Gets the entry for the current player in the specified leaderboard. |
GetScoresAsync(string, GetScoresOptions) | Gets a paginated list of entries for the specified leaderboard. |
GetScoresByPlayerIdsAsync(string, List<string>, GetScoresByPlayerIdsOptions) | Gets a list of entries from the specified leaderboard for the specified player IDs. |
GetScoresByTierAsync(string, string, GetScoresByTierOptions) | Gets a paginated list of entries for the specified leaderboard within the specified tier. |
GetVersionPlayerRangeAsync(string, string, GetVersionPlayerRangeOptions) | Gets the entries of the current player as well as the specified number of neighboring players ranked either side of the player in the specified leaderboard archive version. |
GetVersionPlayerScoreAsync(string, string, GetVersionPlayerScoreOptions) | Gets the entry for the current player in the specified leaderboard archive version. |
GetVersionScoresAsync(string, string, GetVersionScoresOptions) | Gets a paginated list of entries for the specified leaderboard archive version. |
GetVersionScoresByPlayerIdsAsync(string, string, List<string>, GetVersionScoresByPlayerIdsOptions) | Gets a list of entries for the specified players by player ID from the specified leaderboard archive version. |
GetVersionScoresByTierAsync(string, string, string, GetVersionScoresByTierOptions) | Gets a paginated list of entries from the specified leaderboard archive version and within the specified tier. |
GetVersionsAsync(string, GetVersionsOptions) | Gets the list of archived leaderboard versions for the specified leaderboard. |