Class LeaderboardScoresPage
LeaderboardScoresPage
Inherited Members
Namespace: Unity.Services.Apis.Leaderboards
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "LeaderboardScoresPage")]
[Preserve]
public class LeaderboardScoresPage
Constructors
LeaderboardScoresPage(int, int, int, List<LeaderboardEntry>)
Initializes a new instance of the Leaderboard
Declaration
[Preserve]
public LeaderboardScoresPage(int offset = 0, int limit = 0, int total = 0, List<LeaderboardEntry> results = null)
Parameters
Type | Name | Description |
---|---|---|
int | offset | offset. |
int | limit | limit. |
int | total | total. |
List<Leaderboard |
results | results. |
Properties
Limit
Gets or Sets Limit
Declaration
[DataMember(Name = "limit", EmitDefaultValue = false)]
[Preserve]
public int Limit { get; set; }
Property Value
Type | Description |
---|---|
int |
Offset
Gets or Sets Offset
Declaration
[DataMember(Name = "offset", EmitDefaultValue = false)]
[Preserve]
public int Offset { get; set; }
Property Value
Type | Description |
---|---|
int |
Results
Gets or Sets Results
Declaration
[DataMember(Name = "results", EmitDefaultValue = false)]
[Preserve]
public List<LeaderboardEntry> Results { get; set; }
Property Value
Type | Description |
---|---|
List<Leaderboard |
Total
Gets or Sets Total
Declaration
[DataMember(Name = "total", EmitDefaultValue = false)]
[Preserve]
public int Total { get; set; }
Property Value
Type | Description |
---|---|
int |