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