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