Gaming:updateState

From GiderosMobile
Revision as of 15:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


Available since: Gideros 2012.09
Class: Gaming

Description

Update a data element in cloud storage. Either Event.STATE_ERROR or Event.STATE_CONFLICT will be triggered. <syntaxhighlight lang="lua">

Gaming:updateState(key,data,immediate)

</source>

Parameters

key: (number) Key to update
data: (string) New data
immediate: (boolean) Push the update immediately