Difference between revisions of "Gaming:updateState"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === Update a data element in cloud storage. Either `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will be...") |
|||
Line 4: | Line 4: | ||
Update a data element in cloud storage. Either `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will be triggered. | Update a data element in cloud storage. Either `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will be triggered. | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Gaming:updateState(key,data,immediate) | |
</source> | </source> | ||
− | '''key | + | '''key''': (number) Key to update ''''''<br/> |
− | '''data | + | '''data''': (string) New data ''''''<br/> |
− | '''immediate | + | '''immediate''': (boolean) Push the update immediately ''''''<br/> |
Revision as of 10:16, 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)
'key: (number) Key to update '
'data: (string) New data '
'immediate: (boolean) Push the update immediately '