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(keyversiondata,)
+
Gaming:resolveState(key,version,data)
 
</source>
 
</source>
'''key:''' (number) Key to resolve ''''''<br/>
+
'''key''': (number) Key to resolve ''''''<br/>
'''version:''' (string) Conflict context ''''''<br/>
+
'''version''': (string) Conflict context ''''''<br/>
'''data:''' (string) New data ''''''<br/>
+
'''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 '