Table of Contents

Interface IArenaStandingsSource

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

The season standings the arena board shows in its Leaderboard view, supplied by the Leaderboards module.

public interface IArenaStandingsSource

Remarks

The arena board does not know how standings are read: with no source (the Leaderboards module is not installed) its Leaderboard tab is hidden. A source asks the server when the board opens the view, keeps one request outstanding (Tick(Client, float)) and raises Changed when what it would show changes.

Methods

Attach(Client)

Called once when the client is set, so the source can listen for replies.

void Attach(Client client)

Parameters

client Client

Describe(long, List<ArenaStandingRow>)

Fills rows (cleared first) and returns the titles and notice to show.

ArenaStandingsView Describe(long viewerCharacterID, List<ArenaStandingRow> rows)

Parameters

viewerCharacterID long
rows List<ArenaStandingRow>

Returns

ArenaStandingsView

Detach(Client)

Called once when the client is unset.

void Detach(Client client)

Parameters

client Client

Open(Client)

The board opened its standings view: start asking (does nothing when already asked).

void Open(Client client)

Parameters

client Client

Reset()

The board was opened for another arena or closed: forget what was read.

void Reset()

Tick(Client, float)

Sends or re-sends the request when due; called each tick while the view shows.

void Tick(Client client, float now)

Parameters

client Client
now float

Events

Changed

Raised when Describe(long, List<ArenaStandingRow>) would answer differently.

event Action Changed

Event Type

Action