v2.0.0
Latest
2021.3+

Class AddLeaderboardScore

AddLeaderboardScore model

Inheritance
AddLeaderboardScore
Namespace: Unity.Services.Leaderboards.Internal.Models
Syntax
[Preserve]
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
TypeNameDescription
Doublescore

score param

Objectmetadata

metadata param

StringversionId

versionId param

Properties

Metadata

Parameter metadata of AddLeaderboardScore

Declaration
[Preserve]
public object Metadata { get; }
Property Value
TypeDescription
Object

Score

Parameter score of AddLeaderboardScore

Declaration
[Preserve]
public double Score { get; }
Property Value
TypeDescription
Double

VersionId

Parameter versionId of AddLeaderboardScore

Declaration
[Preserve]
public string VersionId { get; }
Property Value
TypeDescription
String