LeaderboardSubmission interface
Data captured from a game play to be sent to the leaderboard before completing the module
Signature:
export interface LeaderboardSubmission
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
replayData? | readonly | ReplayData | (Optional) The replay data object that was generated tracking the actions of the user for this game play run |
score | readonly | number | Data captured from a game play to be sent to the leaderboard before completing the module |
LeaderboardSubmission.replayData property
The replay data object that was generated tracking the actions of the user for this game play run
Signature:
readonly replayData?: ReplayData;
LeaderboardSubmission.score property
Data captured from a game play to be sent to the leaderboard before completing the module
Signature:
readonly score: number;
Updated 7 months ago