Table of Contents

Struct LeaderboardStandingData

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

One character's place on a board, wherever it falls.

public readonly struct LeaderboardStandingData
Inherited Members

Constructors

LeaderboardStandingData(bool, int, long, int, int, DateTime)

public LeaderboardStandingData(bool ranked, int rank, long score, int wins, int losses, DateTime fetchedAtUtc)

Parameters

ranked bool
rank int
score long
wins int
losses int
fetchedAtUtc DateTime

Fields

FetchedAtUtc

When the database was read (UTC).

public readonly DateTime FetchedAtUtc

Field Value

DateTime

Losses

public readonly int Losses

Field Value

int

Rank

Competition rank, as Rank. 0 when not ranked.

public readonly int Rank

Field Value

int

Ranked

False when the character is not on the board: no score, ineligible, or no active season.

public readonly bool Ranked

Field Value

bool

Score

public readonly long Score

Field Value

long

Wins

public readonly int Wins

Field Value

int

Methods

Unranked(DateTime)

A character that is not on the board.

public static LeaderboardStandingData Unranked(DateTime fetchedAtUtc)

Parameters

fetchedAtUtc DateTime

Returns

LeaderboardStandingData