gpgs.achievements.increment()

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

Overview

Increments an incremental achievement by specified amount of steps.

Syntax

gpgs.achievements.increment(params)
params (required)

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

Parameter Reference

achievementId (required)

String. Achievement to increment.

steps (optional)

Integer. Incremental value. Default is 1.

listener (optional)

Listener. Receives increment event.