{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Interface ILeaderboardsService | Leaderboards | 2.0.0
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)