Sinespace Client 2025.3.19431
Client-side scripting for Sinespace
|
Public Member Functions | |
override void | Initialise (SScript runtime, object wrapper) |
void | Authorize (Closure onAuthorized=null, Closure onRejected=null) |
Requests access to profile functions, must be called prior to attempting to access profile. As soon as the player has accepted the request, the Authorized attribute will be 'true'. | |
void | Authorize (Action onAuthorized=null, Action onRejected=null) |
Requests access to profile functions, must be called prior to attempting to access profile. As soon as the player has accepted the request, the Authorized attribute will be 'true'. | |
void | LoadProfile (Action< SUserProfile > onFinished) |
void | LoadProfile (Closure onFinished) |
Load the profile of player. | |
![]() | |
void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
void | Initialise (SScript runtime, object wrapper) |
Public Attributes | |
SUserProfile | ActivePlayerProfile |
Properties | |
bool | Authorized [get] |
![]() | |
virtual bool | Alive [get] |
DynValue | CachedData [get, set] |
Additional Inherited Members | |
![]() | |
void | Initialise (SScript runtime) |
void SineSpace.Scripting.Player.SProfile.Authorize | ( | Action | onAuthorized = null, |
Action | onRejected = null ) |
Requests access to profile functions, must be called prior to attempting to access profile. As soon as the player has accepted the request, the Authorized attribute will be 'true'.
onAuthorized | The onAuthorized c# action. |
onRejected | The onRejected c# action. |
void SineSpace.Scripting.Player.SProfile.Authorize | ( | Closure | onAuthorized = null, |
Closure | onRejected = null ) |
Requests access to profile functions, must be called prior to attempting to access profile. As soon as the player has accepted the request, the Authorized attribute will be 'true'.
onAuthorized | The onAuthorized lua callback. |
onRejected | The onRejected lua callback. |
override void SineSpace.Scripting.Player.SProfile.Initialise | ( | SScript | runtime, |
object | wrapper ) |
void SineSpace.Scripting.Player.SProfile.LoadProfile | ( | Action< SUserProfile > | onFinished | ) |
void SineSpace.Scripting.Player.SProfile.LoadProfile | ( | Closure | onFinished | ) |
Load the profile of player.
SUserProfile SineSpace.Scripting.Player.SProfile.ActivePlayerProfile |
|
get |