docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LeaderboardEntryWithUpdatedTime

    LeaderboardEntryWithUpdatedTime

    Inheritance
    object
    LeaderboardEntryWithUpdatedTime
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Apis.Admin.Leaderboards
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "LeaderboardEntryWithUpdatedTime")]
    [Preserve]
    public class LeaderboardEntryWithUpdatedTime

    Constructors

    LeaderboardEntryWithUpdatedTime(DateTime, string, string, string, double, int, string)

    Initializes a new instance of the LeaderboardEntryWithUpdatedTime class.

    Declaration
    [Preserve]
    public LeaderboardEntryWithUpdatedTime(DateTime updatedTime = default, string bucketId = null, string playerId = null, string playerName = null, double score = 0, int rank = 0, string tier = null)
    Parameters
    Type Name Description
    DateTime updatedTime

    updatedTime (required).

    string bucketId

    ID of the bucket containing the player score. Only available if the leaderboard has buckets..

    string playerId

    playerId (required).

    string playerName

    playerName (required).

    double score

    score (required).

    int rank

    Rank of the score on the leaderboard, or the rank within the bucket if the leaderboard is bucketed. (required).

    string tier

    tier.

    Properties

    BucketId

    ID of the bucket containing the player score. Only available if the leaderboard has buckets.

    Declaration
    [DataMember(Name = "bucketId", EmitDefaultValue = false)]
    [Preserve]
    public string BucketId { get; set; }
    Property Value
    Type Description
    string

    ID of the bucket containing the player score. Only available if the leaderboard has buckets.

    PlayerId

    Gets or Sets PlayerId

    Declaration
    [DataMember(Name = "playerId", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public string PlayerId { get; set; }
    Property Value
    Type Description
    string

    PlayerName

    Gets or Sets PlayerName

    Declaration
    [DataMember(Name = "playerName", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public string PlayerName { get; set; }
    Property Value
    Type Description
    string

    Rank

    Rank of the score on the leaderboard, or the rank within the bucket if the leaderboard is bucketed.

    Declaration
    [DataMember(Name = "rank", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public int Rank { get; set; }
    Property Value
    Type Description
    int

    Rank of the score on the leaderboard, or the rank within the bucket if the leaderboard is bucketed.

    Score

    Gets or Sets Score

    Declaration
    [DataMember(Name = "score", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public double Score { get; set; }
    Property Value
    Type Description
    double

    Tier

    Gets or Sets Tier

    Declaration
    [DataMember(Name = "tier", EmitDefaultValue = false)]
    [Preserve]
    public string Tier { get; set; }
    Property Value
    Type Description
    string

    UpdatedTime

    Gets or Sets UpdatedTime

    Declaration
    [DataMember(Name = "updatedTime", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public DateTime UpdatedTime { get; set; }
    Property Value
    Type Description
    DateTime
    In This Article
    Back to top
    Copyright © 2024 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)