Table of Contents

Class LeaderboardPageData

Namespace
FishMMO.Database.Data
Assembly
FishMMO-DB.dll

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

seasonID long
seasonName string
totalRanked int
offset int
rows IReadOnlyList<LeaderboardRowData>
fetchedAtUtc DateTime

Properties

FetchedAtUtc

When the database was read (UTC).

public DateTime FetchedAtUtc { get; }

Property Value

DateTime

Offset

Zero-based position of the first row.

public int Offset { get; }

Property Value

int

Rows

The rows, best first. Fewer than asked for at the end of the board.

public IReadOnlyList<LeaderboardRowData> Rows { get; }

Property Value

IReadOnlyList<LeaderboardRowData>

SeasonID

Arena only: the season the page was read from, or 0 when no season is active.

public long SeasonID { get; }

Property Value

long

SeasonName

Arena only: that season's display name.

public string SeasonName { get; }

Property Value

string

TotalRanked

Every eligible character on the board, not just this page's.

public int TotalRanked { get; }

Property Value

int