|
bool | _CheckModuleAccess (int targetModuleID=-1) |
|
string | _GetAuthenticationToken () |
|
bool | _LoginWithToken (string token) |
|
void | _ParsePassedData () |
|
void | _ParseUrlData (string urlString) |
|
virtual void | OnDestroy () |
| When Unity quits, it destroys objects in a random order. In principle, a Singleton is only destroyed when application quits. If any script calls Instance after it have been destroyed, it will create a buggy ghost object that will stay on the Editor scene even after stopping playing the Application. Really bad! So, this was made to be sure we're not creating that buggy ghost object.
|
|
|
static LoginResponseContent | CurrentActiveLogin [get, set] |
|
static string | DeviceSerialNumber [get, set] |
|
static T | Instance [get] |
|
static bool | LoginCheckModuleAccess [get, set] |
|
static int | ModuleID [get, set] |
|
static string | ModuleName [get, set] |
|
static string | ModuleVersion [get, set] |
|
static string | OptionalData [get, set] |
|
static string | PassedLoginToken [get, set] |
|
static string | ReturnTarget [get, set] |
|
static bool | RunSetupOnAwake [get, set] |
|
static string | ScenarioID [get, set] |
|
static string | ServerIP [get, set] |
|
static string | TargetType [get, set] |
|
Definition at line 22 of file ApexSystem.cs.
◆ VersionParts
◆ _ChangePlatformServer()
void PixoVR.Apex.ApexSystem._ChangePlatformServer |
( |
PlatformServer | newServer | ) |
|
|
inlineprotected |
◆ _CheckModuleAccess()
bool PixoVR.Apex.ApexSystem._CheckModuleAccess |
( |
int | targetModuleID = -1 | ) |
|
|
inline |
◆ _CompleteSession()
◆ _ExitApplication()
void PixoVR.Apex.ApexSystem._ExitApplication |
( |
string | returnTarget, |
|
|
string | returnTargetType ) |
|
inlineprivate |
◆ _GenerateOneTimeLoginForCurrentUser()
bool PixoVR.Apex.ApexSystem._GenerateOneTimeLoginForCurrentUser |
( |
| ) |
|
|
inlineprivate |
◆ _GenerateOneTimeLoginForUser()
bool PixoVR.Apex.ApexSystem._GenerateOneTimeLoginForUser |
( |
int | userId | ) |
|
|
inlineprivate |
◆ _GetAuthenticationToken()
string PixoVR.Apex.ApexSystem._GetAuthenticationToken |
( |
| ) |
|
|
inline |
◆ _GetModuleList()
bool PixoVR.Apex.ApexSystem._GetModuleList |
( |
| ) |
|
|
inlineprotected |
◆ _GetUser()
bool PixoVR.Apex.ApexSystem._GetUser |
( |
int | userId = -1 | ) |
|
|
inlineprotected |
◆ _GetUserModules()
bool PixoVR.Apex.ApexSystem._GetUserModules |
( |
int | userId = -1 | ) |
|
|
inlineprotected |
◆ _JoinSession()
bool PixoVR.Apex.ApexSystem._JoinSession |
( |
string | newScenarioID = null, |
|
|
Extension | contextExtension = null ) |
|
inlineprotected |
◆ _Login() [1/2]
bool PixoVR.Apex.ApexSystem._Login |
( |
LoginData | login | ) |
|
|
inlineprotected |
◆ _Login() [2/2]
bool PixoVR.Apex.ApexSystem._Login |
( |
string | username, |
|
|
string | password ) |
|
inlineprotected |
◆ _LoginWithToken()
bool PixoVR.Apex.ApexSystem._LoginWithToken |
( |
string | token | ) |
|
|
inline |
◆ _ParsePassedData()
void PixoVR.Apex.ApexSystem._ParsePassedData |
( |
| ) |
|
|
inline |
◆ _ParseUrlData()
void PixoVR.Apex.ApexSystem._ParseUrlData |
( |
string | urlString | ) |
|
|
inline |
◆ _Ping()
void PixoVR.Apex.ApexSystem._Ping |
( |
| ) |
|
|
inlineprotected |
◆ _RequestAuthorizationCode()
bool PixoVR.Apex.ApexSystem._RequestAuthorizationCode |
( |
| ) |
|
|
inlineprivate |
◆ _ReturnToHub()
void PixoVR.Apex.ApexSystem._ReturnToHub |
( |
| ) |
|
|
inlineprivate |
◆ _SendHeartbeat()
bool PixoVR.Apex.ApexSystem._SendHeartbeat |
( |
| ) |
|
|
inlineprotected |
◆ _SendSessionEvent()
bool PixoVR.Apex.ApexSystem._SendSessionEvent |
( |
Statement | eventStatement | ) |
|
|
inlineprotected |
◆ _SendSimpleSessionEvent()
bool PixoVR.Apex.ApexSystem._SendSimpleSessionEvent |
( |
string | verbName, |
|
|
string | targetObject, |
|
|
Extension | contextExtension ) |
|
inlineprotected |
◆ AppendStandardContextExtension() [1/2]
Extensions PixoVR.Apex.ApexSystem.AppendStandardContextExtension |
( |
Extension | currentContextExtension | ) |
|
|
inlineprivate |
◆ AppendStandardContextExtension() [2/2]
Extensions PixoVR.Apex.ApexSystem.AppendStandardContextExtension |
( |
Extensions | currentContextExtensions | ) |
|
|
inlineprivate |
◆ Awake()
void PixoVR.Apex.ApexSystem.Awake |
( |
| ) |
|
|
inlineprivate |
◆ ChangePlatformServer()
static void PixoVR.Apex.ApexSystem.ChangePlatformServer |
( |
PlatformServer | newServer | ) |
|
|
inlinestatic |
◆ CheckModuleAccess()
static bool PixoVR.Apex.ApexSystem.CheckModuleAccess |
( |
int | targetModuleID = -1 | ) |
|
|
inlinestatic |
◆ CompleteSession()
static bool PixoVR.Apex.ApexSystem.CompleteSession |
( |
SessionData | currentSessionData, |
|
|
Extension | contextExtension = null, |
|
|
Extension | resultExtension = null ) |
|
inlinestatic |
◆ ConnectWebsocket()
void PixoVR.Apex.ApexSystem.ConnectWebsocket |
( |
| ) |
|
|
inlineprivate |
◆ DetermineScaledScore()
float PixoVR.Apex.ApexSystem.DetermineScaledScore |
( |
float | scaledScore, |
|
|
float | score, |
|
|
float | maxScore ) |
|
inlineprivate |
◆ DisconnectWebsocket()
void PixoVR.Apex.ApexSystem.DisconnectWebsocket |
( |
| ) |
|
|
inlineprivate |
◆ ExitApplication()
static void PixoVR.Apex.ApexSystem.ExitApplication |
( |
string | returnTarget, |
|
|
string | returnTargetType ) |
|
inlinestatic |
◆ FixedUpdate()
void PixoVR.Apex.ApexSystem.FixedUpdate |
( |
| ) |
|
|
inlineprivate |
◆ GenerateOneTimeLoginForCurrentUser()
static bool PixoVR.Apex.ApexSystem.GenerateOneTimeLoginForCurrentUser |
( |
| ) |
|
|
inlinestatic |
◆ GetAuthenticationToken()
static string PixoVR.Apex.ApexSystem.GetAuthenticationToken |
( |
| ) |
|
|
inlinestatic |
◆ GetCurrentUser()
static bool PixoVR.Apex.ApexSystem.GetCurrentUser |
( |
| ) |
|
|
inlinestatic |
◆ GetCurrentUserModules()
static bool PixoVR.Apex.ApexSystem.GetCurrentUserModules |
( |
| ) |
|
|
inlinestatic |
◆ GetEndpointFromTarget()
string PixoVR.Apex.ApexSystem.GetEndpointFromTarget |
( |
PlatformServer | target | ) |
|
|
inlineprivate |
◆ GetModulesList()
static bool PixoVR.Apex.ApexSystem.GetModulesList |
( |
| ) |
|
|
inlinestatic |
◆ GetPlatformEndpointFromPlatformTarget()
string PixoVR.Apex.ApexSystem.GetPlatformEndpointFromPlatformTarget |
( |
PlatformServer | target | ) |
|
|
inlineprivate |
◆ GetUser()
static bool PixoVR.Apex.ApexSystem.GetUser |
( |
int | userId = -1 | ) |
|
|
inlinestatic |
◆ GetUserModules()
static bool PixoVR.Apex.ApexSystem.GetUserModules |
( |
int | userId = -1 | ) |
|
|
inlinestatic |
◆ GetWebEndpointFromPlatformTarget()
string PixoVR.Apex.ApexSystem.GetWebEndpointFromPlatformTarget |
( |
PlatformServer | target | ) |
|
|
inlineprivate |
◆ HandleLogin()
void PixoVR.Apex.ApexSystem.HandleLogin |
( |
bool | successful, |
|
|
object | responseData ) |
|
inlineprotected |
◆ IsModuleMajorVersionPartValid()
bool PixoVR.Apex.ApexSystem.IsModuleMajorVersionPartValid |
( |
string | modulePart | ) |
|
|
inlineprivate |
◆ IsModuleNonMajorVersionPartValid()
bool PixoVR.Apex.ApexSystem.IsModuleNonMajorVersionPartValid |
( |
string | modulePart | ) |
|
|
inlineprivate |
◆ IsModuleVersionOnlyNumerical()
bool PixoVR.Apex.ApexSystem.IsModuleVersionOnlyNumerical |
( |
| ) |
|
|
inlineprivate |
◆ IsModuleVersionValid()
bool PixoVR.Apex.ApexSystem.IsModuleVersionValid |
( |
| ) |
|
|
inlineprivate |
◆ JoinSession()
static bool PixoVR.Apex.ApexSystem.JoinSession |
( |
string | scenarioID = null, |
|
|
Extension | contextExtension = null ) |
|
inlinestatic |
◆ Login() [1/2]
static bool PixoVR.Apex.ApexSystem.Login |
( |
LoginData | login | ) |
|
|
inlinestatic |
◆ Login() [2/2]
static bool PixoVR.Apex.ApexSystem.Login |
( |
string | username, |
|
|
string | password ) |
|
inlinestatic |
◆ LoginWithToken() [1/2]
static bool PixoVR.Apex.ApexSystem.LoginWithToken |
( |
| ) |
|
|
inlinestatic |
◆ LoginWithToken() [2/2]
static bool PixoVR.Apex.ApexSystem.LoginWithToken |
( |
string | token | ) |
|
|
inlinestatic |
◆ OnAPIResponse()
void PixoVR.Apex.ApexSystem.OnAPIResponse |
( |
ResponseType | response, |
|
|
HttpResponseMessage | message, |
|
|
object | responseData ) |
|
inlineprotected |
◆ OnDestroy()
When Unity quits, it destroys objects in a random order. In principle, a Singleton is only destroyed when application quits. If any script calls Instance after it have been destroyed, it will create a buggy ghost object that will stay on the Editor scene even after stopping playing the Application. Really bad! So, this was made to be sure we're not creating that buggy ghost object.
Definition at line 72 of file ApexSingleton.cs.
◆ OnWebSocketClosed()
void PixoVR.Apex.ApexSystem.OnWebSocketClosed |
( |
System::Net::WebSockets::WebSocketCloseStatus | reason | ) |
|
|
inlineprivate |
◆ OnWebSocketConnected()
void PixoVR.Apex.ApexSystem.OnWebSocketConnected |
( |
| ) |
|
|
inlineprivate |
◆ OnWebSocketConnectFailed()
void PixoVR.Apex.ApexSystem.OnWebSocketConnectFailed |
( |
string | reason | ) |
|
|
inlineprivate |
◆ OnWebSocketReceive()
void PixoVR.Apex.ApexSystem.OnWebSocketReceive |
( |
string | data | ) |
|
|
inlineprivate |
◆ Ping()
static void PixoVR.Apex.ApexSystem.Ping |
( |
| ) |
|
|
inlinestatic |
◆ PopulateWebSocketURL()
void PixoVR.Apex.ApexSystem.PopulateWebSocketURL |
( |
| ) |
|
|
inlineprivate |
◆ RequestAuthorizationCode()
static bool PixoVR.Apex.ApexSystem.RequestAuthorizationCode |
( |
| ) |
|
|
inlinestatic |
◆ ReturnToHub()
static void PixoVR.Apex.ApexSystem.ReturnToHub |
( |
| ) |
|
|
inlinestatic |
◆ SendSessionEvent()
static bool PixoVR.Apex.ApexSystem.SendSessionEvent |
( |
Statement | eventStatement | ) |
|
|
inlinestatic |
◆ SendSimpleSessionEvent()
static bool PixoVR.Apex.ApexSystem.SendSimpleSessionEvent |
( |
string | action, |
|
|
string | targetObject, |
|
|
Extension | contextExtension ) |
|
inlinestatic |
◆ SetupAPI()
void PixoVR.Apex.ApexSystem.SetupAPI |
( |
| ) |
|
|
inlineprivate |
◆ Start()
void PixoVR.Apex.ApexSystem.Start |
( |
| ) |
|
|
inlineprivate |
◆ apexAPIHandler
◆ ApplicationIsQuitting
◆ clientIP
string PixoVR.Apex.ApexSystem.clientIP |
|
protected |
◆ currentActiveLogin
◆ currentSessionID
Guid PixoVR.Apex.ApexSystem.currentSessionID |
|
protected |
◆ deviceID
string PixoVR.Apex.ApexSystem.deviceID |
|
protected |
◆ deviceModel
string PixoVR.Apex.ApexSystem.deviceModel |
|
protected |
◆ deviceSerialNumber
string PixoVR.Apex.ApexSystem.deviceSerialNumber = "" |
|
protected |
◆ heartbeatSessionID
int PixoVR.Apex.ApexSystem.heartbeatSessionID |
|
protected |
◆ heartbeatTime
float PixoVR.Apex.ApexSystem.heartbeatTime = 5.0f |
|
protectedSerializeField |
◆ heartbeatTimer
float PixoVR.Apex.ApexSystem.heartbeatTimer |
|
protected |
◆ instance
◆ lockObject
◆ loginCheckModuleAccess
bool PixoVR.Apex.ApexSystem.loginCheckModuleAccess = true |
|
SerializeField |
◆ loginToken
string PixoVR.Apex.ApexSystem.loginToken = "" |
|
protected |
◆ moduleID
int PixoVR.Apex.ApexSystem.moduleID = 0 |
|
protectedSerializeField |
◆ moduleName
string PixoVR.Apex.ApexSystem.moduleName = "Generic" |
|
protectedSerializeField |
◆ moduleVersion
string PixoVR.Apex.ApexSystem.moduleVersion = "0.00.00" |
|
protectedSerializeField |
◆ OnAuthorizationCodeReceived
◆ OnCompleteSessionFailed
◆ OnCompleteSessionSuccess
◆ OnGetOrganizationModulesFailed
◆ OnGetOrganizationModulesSuccess
◆ OnGetUserFailed
◆ OnGetUserModulesFailed
◆ OnGetUserModulesSuccess
◆ OnGetUserSuccess
◆ OnJoinSessionFailed
◆ OnJoinSessionSuccess
◆ OnLoginFailed
◆ OnLoginSuccess
◆ OnModuleAccessFailed
◆ OnModuleAccessSuccess
◆ OnPingFailed
◆ OnPingSuccess
◆ OnPlatformResponse
◆ OnSendEventFailed
◆ OnSendEventSuccess
◆ optionalParameter
string PixoVR.Apex.ApexSystem.optionalParameter = "" |
|
protected |
◆ platform
string PixoVR.Apex.ApexSystem.platform |
|
protected |
◆ PlatformTargetServer
◆ returnTargetParameter
string PixoVR.Apex.ApexSystem.returnTargetParameter = "" |
|
protected |
◆ runSetupOnAwake
bool PixoVR.Apex.ApexSystem.runSetupOnAwake = true |
|
SerializeField |
◆ scenarioID
string PixoVR.Apex.ApexSystem.scenarioID = "Generic" |
|
protectedSerializeField |
◆ serverIP
string PixoVR.Apex.ApexSystem.serverIP = "" |
|
protectedSerializeField |
◆ sessionInProgress
bool PixoVR.Apex.ApexSystem.sessionInProgress |
|
protected |
◆ socketConnectTask
Task<bool> PixoVR.Apex.ApexSystem.socketConnectTask |
|
protected |
◆ socketDisconnectTask
Task PixoVR.Apex.ApexSystem.socketDisconnectTask |
|
protected |
◆ targetTypeParameter
string PixoVR.Apex.ApexSystem.targetTypeParameter = "" |
|
protected |
◆ userAccessVerified
bool PixoVR.Apex.ApexSystem.userAccessVerified = false |
|
protected |
◆ VersionValidator
readonly Regex PixoVR.Apex.ApexSystem.VersionValidator = new Regex(@"^[0123456789.]+$") |
|
staticprivate |
◆ webSocket
◆ webSocketUrl
string PixoVR.Apex.ApexSystem.webSocketUrl |
|
protected |
◆ CurrentActiveLogin
◆ DeviceSerialNumber
string PixoVR.Apex.ApexSystem.DeviceSerialNumber |
|
staticgetset |
◆ Instance
◆ LoginCheckModuleAccess
bool PixoVR.Apex.ApexSystem.LoginCheckModuleAccess |
|
staticgetset |
◆ ModuleID
int PixoVR.Apex.ApexSystem.ModuleID |
|
staticgetset |
◆ ModuleName
string PixoVR.Apex.ApexSystem.ModuleName |
|
staticgetset |
◆ ModuleVersion
string PixoVR.Apex.ApexSystem.ModuleVersion |
|
staticgetset |
◆ OptionalData
string PixoVR.Apex.ApexSystem.OptionalData |
|
staticgetset |
◆ PassedLoginToken
string PixoVR.Apex.ApexSystem.PassedLoginToken |
|
staticgetset |
◆ ReturnTarget
string PixoVR.Apex.ApexSystem.ReturnTarget |
|
staticgetset |
◆ RunSetupOnAwake
bool PixoVR.Apex.ApexSystem.RunSetupOnAwake |
|
staticgetset |
◆ ScenarioID
string PixoVR.Apex.ApexSystem.ScenarioID |
|
staticgetset |
◆ ServerIP
string PixoVR.Apex.ApexSystem.ServerIP |
|
staticgetset |
◆ TargetType
string PixoVR.Apex.ApexSystem.TargetType |
|
staticgetset |
The documentation for this class was generated from the following file: