Class AddLeaderboardScore
AddLeaderboardScore
Inherited Members
Namespace: Unity.Services.Apis.Leaderboards
Assembly: solution.dll
Syntax
[Preserve]
public class AddLeaderboardScore
Constructors
AddLeaderboardScore(double, object, string)
Initializes a new instance of the AddLeaderboardScore class.
Declaration
[Preserve]
public AddLeaderboardScore(double score = 0, object metadata = null, string versionId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| double | score | score (required). |
| object | metadata | metadata. |
| string | versionId | versionId. |
Properties
Metadata
Gets or Sets Metadata
Declaration
[Preserve]
public object Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Score
Gets or Sets Score
Declaration
[Preserve]
public double Score { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
VersionId
Gets or Sets VersionId
Declaration
[Preserve]
public string VersionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |