Difference between revisions of "Gaming:loadState"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === Load a data element from cloud storage. Either 'Event.STATE_LOADED`, `Event.STATE_ERROR` or `Event.ST...")
 
Line 4: Line 4:
 
Load a data element from cloud storage. Either 'Event.STATE_LOADED`, `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will be triggered.
 
Load a data element from cloud storage. Either 'Event.STATE_LOADED`, `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will be triggered.
 
<source lang="lua">
 
<source lang="lua">
= Gaming:loadState(key,)
+
Gaming:loadState(key)
 
</source>
 
</source>
'''key:''' (number) Key to load ''''''<br/>
+
'''key''': (number) Key to load ''''''<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2012.09

Description

Load a data element from cloud storage. Either 'Event.STATE_LOADED`, `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will be triggered.

 Gaming:loadState(key)

'key: (number) Key to load '