events.increment()

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

Overview

Increments an event value.

Syntax

gpgs.events.increment( params )
params (required)

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

Parameter Reference

The params table contains parameters for the call.

eventId (required)

String. Event to increment.

steps (optional)

Number. Incremental value. Default is 1.