Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
Public Member Functions | |
override void | Initialise (SScript runtime, object wrapper) |
void | UpdateInfo (Action onComplete) |
void | UpdateInfo (Closure onComplete) |
Call the onComplete function upon the server saving a value. More... | |
string | RetrieveValue (string key) |
Returns the saved value with the key. More... | |
void | SetValue (string key, string value) |
Save the string value to the key. More... | |
void | UpdateRegionInfo (Action onComplete) |
void | UpdateRegionInfo (Closure onComplete) |
Call the onComplete function upon the server saving a value. More... | |
string | RetrieveRegionValue (string key) |
Returns the saved value. More... | |
void | SetRegionValue (string key, string value) |
Save the string value to the key. More... | |
Public Member Functions inherited from ScriptClass< T > | |
void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
Public Member Functions inherited from ScriptClassWrapper< T > | |
override void | Initialise (SScript runtime, object wrapper) |
Static Public Attributes | |
const float | TimeBetweenCalls = 15f |
Additional Inherited Members | |
Protected Member Functions inherited from ScriptClass< T > | |
void | Initialise (SScript runtime) |
Properties inherited from ScriptClass< T > | |
override bool | Alive [get] |
Return if the component is alive. More... | |
virtual bool | Alive [get] |
DynValue | CachedData [get, set] |
Properties inherited from ScriptClassWrapper< T > | |
T | _wrap [get] |
|
virtual |
Implements ScriptClass< T >.
string SineSpace.Scripting.Scene.SPersistence.RetrieveRegionValue | ( | string | key | ) |
Returns the saved value.
key |
string SineSpace.Scripting.Scene.SPersistence.RetrieveValue | ( | string | key | ) |
Returns the saved value with the key.
key |
void SineSpace.Scripting.Scene.SPersistence.SetRegionValue | ( | string | key, |
string | value | ||
) |
Save the string value to the key.
key | |
value |
void SineSpace.Scripting.Scene.SPersistence.SetValue | ( | string | key, |
string | value | ||
) |
Save the string value to the key.
key | |
value |
void SineSpace.Scripting.Scene.SPersistence.UpdateInfo | ( | Action | onComplete | ) |
void SineSpace.Scripting.Scene.SPersistence.UpdateInfo | ( | Closure | onComplete | ) |
Call the onComplete function upon the server saving a value.
onComplete | The closure you want to call after complete this function |
void SineSpace.Scripting.Scene.SPersistence.UpdateRegionInfo | ( | Action | onComplete | ) |
void SineSpace.Scripting.Scene.SPersistence.UpdateRegionInfo | ( | Closure | onComplete | ) |
Call the onComplete function upon the server saving a value.
onComplete | The closure you want to call after complete this function |
|
static |