Interface IArenaStandingsSource
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
clientClient
Describe(long, List<ArenaStandingRow>)
Fills rows (cleared first) and returns the titles and notice to show.
ArenaStandingsView Describe(long viewerCharacterID, List<ArenaStandingRow> rows)
Parameters
viewerCharacterIDlongrowsList<ArenaStandingRow>
Returns
Detach(Client)
Called once when the client is unset.
void Detach(Client client)
Parameters
clientClient
Open(Client)
The board opened its standings view: start asking (does nothing when already asked).
void Open(Client client)
Parameters
clientClient
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
Events
Changed
Raised when Describe(long, List<ArenaStandingRow>) would answer differently.
event Action Changed