gpgs.achievements.setSteps()

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

Overview

Sets an incremental achievement to the specified amount of steps.

Syntax

gpgs.achievements.setSteps(params)
params (required)

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

Parameter Reference

achievementId (required)

String. Achievement to update.

steps (required)

Integer. Amount of steps for the achievement.

listener (optional)

Listener. Receives setSteps event.