SPersistence
Index
Functions Index
Functions
UpdateInfo
void UpdateInfo (Closure onComplete)
Call the onComplete function upon the server saving a value.
RetrieveValue
string RetrieveValue (string key)
Returns the saved value with the key.
SetValue
void SetValue (string key, string value)
Save a value to the storage record that is accessed with key.
key
string
Max length 48
value
string
Max length 255
UpdateRegionInfo
void UpdateRegionInfo (Action onComplete) void UpdateRegionInfo (Closure onComplete)
Updates your local cache with the most up-to-date values from the server. This function should be called before using the RetrieveRegionValue function.
RetrieveRegionValue
string RetrieveRegionValue (string key)
Retrieves the saved value from "key" from your local cache. The UpdateRegionInfo function should be called first to update your local cache with the most up-to-date values from the server.
SetRegionValue
void SetRegionValue (string key, string value)
Save the "value" to "key" on both your local cache and on the server.
key
string
Max length 48
value
string
Max length 255
Last updated