gpgs.leaderboards.submit()

Type String
Return value none
Revision Release 2024.3703
Keywords Google Play Games Services, game network, gpgs
See also gpgs2.leaderboards.*
gpgs2.*

Overview

Submits score to a leaderboard.

Syntax

gpgs.leaderboards.submit(params)
params (required)

Table. Contains parameters — see the next section for details.

Parameter Reference

leaderboardId (required)

String. Leaderboard id to submit to.

score (required)

Number. Score value.

tag (optional)

String. Optional extra info, must be URL safe, max size is 64 bytes.

listener (optional)

Listener. Receives submit event.