docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LeaderboardVersionEntry

    LeaderboardVersionEntry model

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

    Constructors

    LeaderboardVersionEntry(string, string, int, double, LeaderboardVersion)

    Creates an instance of LeaderboardVersionEntry.

    Declaration
    [Preserve]
    public LeaderboardVersionEntry(string playerId, string playerName, int rank, double score, LeaderboardVersion version = null)
    Parameters
    Type Name Description
    string playerId

    playerId param

    string playerName

    playerName param

    int rank

    rank param

    double score

    score param

    LeaderboardVersion version

    version param

    Properties

    PlayerId

    Parameter playerId of LeaderboardVersionEntry

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

    PlayerName

    Parameter playerName of LeaderboardVersionEntry

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

    Rank

    Parameter rank of LeaderboardVersionEntry

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

    Score

    Parameter score of LeaderboardVersionEntry

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

    Version

    Parameter version of LeaderboardVersionEntry

    Declaration
    [Preserve]
    [DataMember(Name = "version", EmitDefaultValue = false)]
    public LeaderboardVersion Version { get; }
    Property Value
    Type Description
    LeaderboardVersion
    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)