LeaderboardSubmission interface

Data captured from a game play to be sent to the leaderboard before completing the module

Signature:

export interface LeaderboardSubmission 

Properties

PropertyModifiersTypeDescription
replayData?readonlyReplayData(Optional) The replay data object that was generated tracking the actions of the user for this game play run
scorereadonlynumberData 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;