gpgs.quests.claim()

Type Function
Return value none
Revision Release 2022.3683
Keywords Google Play Games Services, game network, gpgs, quests, claim
See also gpgs.quests
gpgs.*

Overview

Claims a reward for a completed milestone of a specific quest.

Syntax

gpgs.quests.claim( 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.

questId (required)

String. The quest associated with the completed milestone.

milestoneId (required)

String. The milestone to claim a reward from.

listener (optional)

Listener. Listener function which receives a claim event.