Difference between revisions of "Gaming:deleteState"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Delete a data element in cloud storage. Either [[Special:MyLanguage/Event.STATE_ERROR|Event.STATE_ERROR]] or [[Special:MyLanguage/Event.STATE_DELETED|Event.STATE_DELETED]] will be triggered.</translate>
 
<translate>Delete a data element in cloud storage. Either [[Special:MyLanguage/Event.STATE_ERROR|Event.STATE_ERROR]] or [[Special:MyLanguage/Event.STATE_DELETED|Event.STATE_DELETED]] will be triggered.</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  Gaming:deleteState(key)
 
  Gaming:deleteState(key)
</source>
+
</syntaxhighlight>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''key''': (number) <translate>Key to delete</translate> <br/>
 
'''key''': (number) <translate>Key to delete</translate> <br/>
  
 
{{Gaming}}
 
{{Gaming}}

Latest revision as of 14:29, 13 July 2023


Available since: Gideros 2012.09
Class: Gaming

Description

Delete a data element in cloud storage. Either Event.STATE_ERROR or Event.STATE_DELETED will be triggered.

 Gaming:deleteState(key)

Parameters

key: (number) Key to delete