Difference between revisions of "Gaming:resolveState"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === Resolve a conflict state in cloud storage. Either `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will...") |
|||
Line 4: | Line 4: | ||
Resolve a conflict state in cloud storage. Either `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will be triggered. | Resolve a conflict state in cloud storage. Either `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will be triggered. | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Gaming:resolveState(key,version,data) | |
</source> | </source> | ||
− | '''key | + | '''key''': (number) Key to resolve ''''''<br/> |
− | '''version | + | '''version''': (string) Conflict context ''''''<br/> |
− | '''data | + | '''data''': (string) New data ''''''<br/> |
Revision as of 10:21, 23 August 2018
Available since: Gideros 2012.09
Description
Resolve a conflict state in cloud storage. Either `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will be triggered.
Gaming:resolveState(key,version,data)
'key: (number) Key to resolve '
'version: (string) Conflict context '
'data: (string) New data '