Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

LeaderboardFetchedRecord

What LeaderboardFetchedEvent carries.

Property Type Description
board string -
builtAt number | null When the backend read the rows, in epoch milliseconds; null where it did not.
key string -
parentId string -
period LeaderboardPeriod | null The period the fetch named; null where it named none.
reason LeaderboardReadRefusal | null Why there are no rows; null where it answered.
requested Required<FetchLeaderboardOptions> What the fetch asked for, so a game tells two fetches apart.
rows LeaderboardRow[] -