Difference between revisions of "Gaming:updateState"
From GiderosMobile
Line 6: | Line 6: | ||
Gaming:updateState(key,data,immediate) | Gaming:updateState(key,data,immediate) | ||
</source> | </source> | ||
− | '''key''': (number) Key to update | + | === Parameters === |
− | '''data''': (string) New data | + | '''key''': (number) Key to update <br/> |
− | '''immediate''': (boolean) Push the update immediately | + | '''data''': (string) New data <br/> |
+ | '''immediate''': (boolean) Push the update immediately <br/> |
Revision as of 10:38, 23 August 2018
Available since: Gideros 2012.09
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