v2.0.0
Latest
2021.3+
Class LeaderboardVersionEntry
LeaderboardVersionEntry model
Namespace: Unity.Services.Leaderboards.Models
Syntax
[Preserve]
public class LeaderboardVersionEntry
Constructors
LeaderboardVersionEntry(String, String, Int32, 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 |
Int32 | rank | rank param |
Double | score | score param |
LeaderboardVersion | version | version param |
Properties
PlayerId
Parameter playerId of LeaderboardVersionEntry
Declaration
[Preserve]
public string PlayerId { get; }
Property Value
Type | Description |
---|---|
String |
PlayerName
Parameter playerName of LeaderboardVersionEntry
Declaration
[Preserve]
public string PlayerName { get; }
Property Value
Type | Description |
---|---|
String |
Rank
Parameter rank of LeaderboardVersionEntry
Declaration
[Preserve]
public int Rank { get; }
Property Value
Type | Description |
---|---|
Int32 |
Score
Parameter score of LeaderboardVersionEntry
Declaration
[Preserve]
public double Score { get; }
Property Value
Type | Description |
---|---|
Double |
Version
Parameter version of LeaderboardVersionEntry
Declaration
[Preserve]
public LeaderboardVersion Version { get; }
Property Value
Type | Description |
---|---|
LeaderboardVersion |