Difference between revisions of "Gaming:resolveState"

From GiderosMobile
Line 6: Line 6:
 
  Gaming:resolveState(key,version,data)
 
  Gaming:resolveState(key,version,data)
 
</source>
 
</source>
'''key''': (number) Key to resolve ''''''<br/>
+
=== Parameters ===
'''version''': (string) Conflict context ''''''<br/>
+
'''key''': (number) Key to resolve <br/>
'''data''': (string) New data ''''''<br/>
+
'''version''': (string) Conflict context <br/>
 +
'''data''': (string) New data <br/>

Revision as of 10:45, 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)

Parameters

key: (number) Key to resolve
version: (string) Conflict context
data: (string) New data