v2.0.0
Latest
2021.3+

Class LeaderboardVersions

LeaderboardVersions model

Inheritance
LeaderboardVersions
Namespace: Unity.Services.Leaderboards.Models
Syntax
[Preserve]
public class LeaderboardVersions

Constructors

LeaderboardVersions(String, List<LeaderboardVersion>, DateTime, String, Int32)

Creates an instance of LeaderboardVersions.

Declaration
[Preserve]
public LeaderboardVersions(string leaderboardId = null, List<LeaderboardVersion> results = null, DateTime nextReset = default(DateTime), string versionId = null, int totalArchivedVersions = 0)
Parameters
TypeNameDescription
StringleaderboardId

leaderboardId param

List<LeaderboardVersion>results

results param

DateTimenextReset

nextReset param

StringversionId

versionId param

Int32totalArchivedVersions

totalArchivedVersions param

Properties

LeaderboardId

Parameter leaderboardId of LeaderboardVersions

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

NextReset

Parameter nextReset of LeaderboardVersions

Declaration
[Preserve]
public DateTime NextReset { get; }
Property Value
TypeDescription
DateTime

Results

Parameter results of LeaderboardVersions

Declaration
[Preserve]
public List<LeaderboardVersion> Results { get; }
Property Value
TypeDescription
List<LeaderboardVersion>

TotalArchivedVersions

Parameter totalArchivedVersions of LeaderboardVersions

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

VersionId

Parameter versionId of LeaderboardVersions

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