gpgs.achievements.increment()

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

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.