Gaming:updateState

From GiderosMobile
Revision as of 15:29, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Available since: Gideros 2012.09
Class: Gaming

Description

Update a data element in cloud storage. Either Event.STATE_ERROR or Event.STATE_CONFLICT will be triggered.

 Gaming:updateState(key,data,immediate)

Parameters

key: (number) Key to update
data: (string) New data
immediate: (boolean) Push the update immediately