|
Sinespace Client 2026.2.1037
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. | |
| string | RetrieveValue (string key) |
| Returns the saved value with the key. | |
| void | SetValue (string key, string value) |
| Save the string value to the key. | |
| void | UpdateRegionInfo (Action onComplete) |
| void | UpdateRegionInfo (Closure onComplete) |
| Call the onComplete function upon the server saving a value. | |
| string | RetrieveRegionValue (string key) |
| Returns the saved value. | |
| void | SetRegionValue (string key, string value) |
| Save the string value to the key. | |
Public Member Functions inherited from ScriptClass | |
| void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
| void | Initialise (SScript runtime, object wrapper) |
Static Public Attributes | |
| const float | TimeBetweenCalls = 15f |
Additional Inherited Members | |
Protected Member Functions inherited from ScriptClass | |
| void | Initialise (SScript runtime) |
Properties inherited from ScriptClass | |
| virtual bool | Alive [get] |
| DynValue | CachedData [get, set] |
| override void SineSpace.Scripting.Scene.SPersistence.Initialise | ( | SScript | runtime, |
| object | wrapper ) |
| 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 |