Class LeaderboardVersionEntry
LeaderboardVersionEntry
Inherited Members
Namespace: Unity.Services.Apis.Leaderboards
Assembly: solution.dll
Syntax
[Preserve]
public class LeaderboardVersionEntry
Constructors
LeaderboardVersionEntry(LeaderboardVersion, string, string, int, double, string, string)
Initializes a new instance of the LeaderboardVersionEntry class.
Declaration
[Preserve]
public LeaderboardVersionEntry(LeaderboardVersion version = null, string playerId = null, string playerName = null, int rank = 0, double score = 0, string tier = null, string metadata = null)
Parameters
| Type | Name | Description |
|---|---|---|
| LeaderboardVersion | version | version. |
| string | playerId | playerId (required). |
| string | playerName | playerName (required). |
| int | rank | rank (required). |
| double | score | score (required). |
| string | tier | tier. |
| string | metadata | metadata. |
Properties
Metadata
Gets or Sets Metadata
Declaration
[Preserve]
public string Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PlayerId
Gets or Sets PlayerId
Declaration
[Preserve]
public string PlayerId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PlayerName
Gets or Sets PlayerName
Declaration
[Preserve]
public string PlayerName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Rank
Gets or Sets Rank
Declaration
[Preserve]
public int Rank { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Score
Gets or Sets Score
Declaration
[Preserve]
public double Score { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Tier
Gets or Sets Tier
Declaration
[Preserve]
public string Tier { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
_Version
Gets or Sets _Version
Declaration
[Preserve]
public LeaderboardVersion _Version { get; set; }
Property Value
| Type | Description |
|---|---|
| LeaderboardVersion |