gpgs.events.load()

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

Overview

Retrieves information on all events available in the game.

Syntax

gpgs.events.load(params)
params (required)

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

Parameter Reference

eventId (optional)

String. If provided loads only this event information. If not - loads information on all events.

eventIds (optional)

Array. Populate with string elements. If provided loads information on each specified event. Higher priority thann eventId.

reload (optional)

Boolean. If true, the data will be pulled fresh, not from a cache.

listener (optional)

Listener. Receives load event.