Gaming:updateState

From GiderosMobile
Revision as of 09:57, 3 September 2018 by Hgy29 (talk | contribs)


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.

 Gaming:updateState(key,data,immediate)

Parameters

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