Difference between revisions of "Gaming:updateState"

From GiderosMobile
Line 12: Line 12:
 
'''data''': (string) <translate>New data</translate> <br/>
 
'''data''': (string) <translate>New data</translate> <br/>
 
'''immediate''': (boolean) <translate>Push the update immediately</translate> <br/>
 
'''immediate''': (boolean) <translate>Push the update immediately</translate> <br/>
 +
 +
{{Gaming}}

Revision as of 13:24, 6 December 2019


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