docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AddLeaderboardScore

    AddLeaderboardScore model

    Inheritance
    object
    AddLeaderboardScore
    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.Internal.Models
    Assembly: Unity.Services.Leaderboards.dll
    Syntax
    [Preserve]
    [DataContract(Name = "AddLeaderboardScore")]
    public class AddLeaderboardScore

    Constructors

    AddLeaderboardScore(double, object, string)

    Creates an instance of AddLeaderboardScore.

    Declaration
    [Preserve]
    public AddLeaderboardScore(double score, object metadata = null, string versionId = null)
    Parameters
    Type Name Description
    double score

    score param

    object metadata

    metadata param

    string versionId

    versionId param

    Properties

    Metadata

    Parameter metadata of AddLeaderboardScore

    Declaration
    [Preserve]
    [DataMember(Name = "metadata", IsRequired = true, EmitDefaultValue = false)]
    public object Metadata { get; }
    Property Value
    Type Description
    object

    Score

    Parameter score of AddLeaderboardScore

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

    VersionId

    Parameter versionId of AddLeaderboardScore

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