v2.0.0
Latest
2021.3+

Class LeaderboardVersionEntry

LeaderboardVersionEntry model

Inheritance
LeaderboardVersionEntry
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
TypeNameDescription
StringplayerId

playerId param

StringplayerName

playerName param

Int32rank

rank param

Doublescore

score param

LeaderboardVersionversion

version param

Properties

PlayerId

Parameter playerId of LeaderboardVersionEntry

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

PlayerName

Parameter playerName of LeaderboardVersionEntry

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

Rank

Parameter rank of LeaderboardVersionEntry

Declaration
[Preserve]
public int Rank { get; }
Property Value
TypeDescription
Int32

Score

Parameter score of LeaderboardVersionEntry

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

Version

Parameter version of LeaderboardVersionEntry

Declaration
[Preserve]
public LeaderboardVersion Version { get; }
Property Value
TypeDescription
LeaderboardVersion