Difference between revisions of "Gaming:loadState"

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

Revision as of 13:33, 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)

Parameters

key: (number) Key to load