LeaderboardScore
LeaderboardScore<
Options> =Optionsextendsobject?number| {delta:number;id:ScoreId; } :Optionsextendsobject?{ readonly [Field in Options["score"][number] as Field["name"]]: number }:number
The score a board takes: a number for one field, a record of its fields for several, and on a total a whole-number delta, with the id of the event that earned it where the game may submit it again.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Options extends LeaderboardOptions |