Class LeaderboardPageData
A contiguous slice of a board, with the board's size as read in the same call.
public sealed class LeaderboardPageData
- Inheritance
-
LeaderboardPageData
- Inherited Members
Constructors
LeaderboardPageData(long, string, int, int, IReadOnlyList<LeaderboardRowData>, DateTime)
public LeaderboardPageData(long seasonID, string seasonName, int totalRanked, int offset, IReadOnlyList<LeaderboardRowData> rows, DateTime fetchedAtUtc)
Parameters
seasonIDlongseasonNamestringtotalRankedintoffsetintrowsIReadOnlyList<LeaderboardRowData>fetchedAtUtcDateTime
Properties
FetchedAtUtc
When the database was read (UTC).
public DateTime FetchedAtUtc { get; }
Property Value
Offset
Zero-based position of the first row.
public int Offset { get; }
Property Value
Rows
The rows, best first. Fewer than asked for at the end of the board.
public IReadOnlyList<LeaderboardRowData> Rows { get; }
Property Value
SeasonID
Arena only: the season the page was read from, or 0 when no season is active.
public long SeasonID { get; }
Property Value
SeasonName
Arena only: that season's display name.
public string SeasonName { get; }
Property Value
TotalRanked
Every eligible character on the board, not just this page's.
public int TotalRanked { get; }