wiki.sine.space | sinespace

Difference between revisions of "Scripting/SPersistence"

From wiki.sine.space
Jump to: navigation, search
(Created page with "The SPersistence class allows you to store persistent data to the region. =Members= ==Get/Set Values== {{ScriptFunction|void|SetValue|(string key, string value);|Set a value...")
(No difference)

Revision as of 20:18, 19 April 2017

The SPersistence class allows you to store persistent data to the region.

Members

Get/Set Values

SetValue

void SetValue (string key, string value);

No documentation

No example provided yet


GetValue

string GetValue (string key);

Retrieve the value assigned to 'key'.

No example provided yet


Miscellaneous

UpdateValue

void UpdateValue (Action onComplete);

Call the onComplete function upon the value being stored.

No example provided yet