Difference between revisions of "Gaming:loadState"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''<translate>Available since</translate>:''' Gideros 2012.09<br/> | '''<translate>Available since</translate>:''' Gideros 2012.09<br/> | ||
+ | '''<translate>Class</translate>:''' [[Special:MyLanguage/Gaming|Gaming]]<br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
− | <translate>Load a data element from cloud storage. Either 'Event.STATE_LOADED | + | <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) |
Revision as of 09:27, 24 August 2018
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