Difference between revisions of "Gaming:loadState"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.09<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2012.09<br/>
Load a data element from cloud storage. Either 'Event.STATE_LOADED`, `Event.STATE_ERROR` or `Event.STATE_CONFLICT` will be triggered.
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/Gaming|Gaming]]<br/>
<source lang="lua">
+
=== <translate>Description</translate> ===
 +
<translate>Load a data element from cloud storage. Either 'Event.STATE_LOADED'', ''Event.STATE_ERROR'' or ''Event.STATE_CONFLICT` will be triggered.</translate>
 +
<syntaxhighlight lang="lua">
 
  Gaming:loadState(key)
 
  Gaming:loadState(key)
</source>
+
</syntaxhighlight>
'''key''': (number) Key to load ''''''<br/>
+
=== <translate>Parameters</translate> ===
 +
'''key''': (number) <translate>Key to load</translate> <br/>
 +
 
 +
{{Gaming}}

Latest revision as of 14:28, 13 July 2023


Available since: Gideros 2012.09
Class: Gaming

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