|
| bool | _CheckModuleAccess (int targetModuleID=-1) |
| |
| bool | _LoginWithToken (string token) |
| |
| 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.
|
| |
|
| void | _ChangePlatformServer (PlatformServer newServer) |
| |
| bool | _CompleteSession (SessionData currentSessionData, Extension contextExtension, Extension resultExtension) |
| |
| bool | _GetModuleList (string platformName) |
| |
| bool | _GetQuickIDAuthUsers (string serialNumber) |
| |
| bool | _GetUser (int userId=-1) |
| |
| bool | _GetUserModules (int userId=-1) |
| |
| bool | _JoinSession (string newScenarioID=null, Extension contextExtension=null) |
| |
| bool | _Login (LoginData login) |
| |
| bool | _Login (string username, string password) |
| |
| void | _ParsePassedData (Dictionary< string, string > arguments) |
| |
| void | _Ping () |
| |
| bool | _QuickIDLogin (string serialNumber, string username) |
| |
| bool | _SendHeartbeat () |
| |
| bool | _SendSessionEvent (Statement eventStatement) |
| |
| bool | _SendSimpleSessionEvent (string verbName, string targetObject, Extension contextExtension) |
| |
| FailureResponse | GenerateFailureResponse (string message) |
| |
| void | HandleLogin (bool successful, object responseData) |
| |
| void | OnAPIResponse (ResponseType response, HttpResponseMessage message, object responseData) |
| |
|
| 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, private set] |
| |
Definition at line 23 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 | ) |
|
|
inlineprivate |
◆ _GenerateOneTimeLoginForCurrentUser()
| bool PixoVR.Apex.ApexSystem._GenerateOneTimeLoginForCurrentUser |
( |
| ) |
|
|
inlineprivate |
◆ _GenerateOneTimeLoginForUser()
| bool PixoVR.Apex.ApexSystem._GenerateOneTimeLoginForUser |
( |
| ) |
|
|
inlineprivate |
◆ _GetModuleList()
| bool PixoVR.Apex.ApexSystem._GetModuleList |
( |
string | platformName | ) |
|
|
inlineprotected |
◆ _GetQuickIDAuthUsers()
| bool PixoVR.Apex.ApexSystem._GetQuickIDAuthUsers |
( |
string | serialNumber | ) |
|
|
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 |
( |
Dictionary< string, string > | arguments | ) |
|
|
inlineprotected |
◆ _Ping()
| void PixoVR.Apex.ApexSystem._Ping |
( |
| ) |
|
|
inlineprotected |
◆ _QuickIDLogin()
| bool PixoVR.Apex.ApexSystem._QuickIDLogin |
( |
string | serialNumber, |
|
|
string | username ) |
|
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 = "" | ) |
|
|
inlinestatic |
◆ FixedUpdate()
| void PixoVR.Apex.ApexSystem.FixedUpdate |
( |
| ) |
|
|
inlineprivate |
◆ GenerateFailureResponse()
| FailureResponse PixoVR.Apex.ApexSystem.GenerateFailureResponse |
( |
string | message | ) |
|
|
inlineprotected |
◆ GenerateOneTimeLoginForCurrentUser()
| static bool PixoVR.Apex.ApexSystem.GenerateOneTimeLoginForCurrentUser |
( |
| ) |
|
|
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 |
( |
string | platformName | ) |
|
|
inlinestatic |
◆ GetPlatformEndpointFromPlatformTarget()
| string PixoVR.Apex.ApexSystem.GetPlatformEndpointFromPlatformTarget |
( |
PlatformServer | target | ) |
|
|
inlineprivate |
◆ GetQuickIDAuthUsers()
| static bool PixoVR.Apex.ApexSystem.GetQuickIDAuthUsers |
( |
string | serialNumber | ) |
|
|
inlinestatic |
◆ 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 |
◆ OnDeepLinkActivated()
| void PixoVR.Apex.ApexSystem.OnDeepLinkActivated |
( |
string | url | ) |
|
|
inlineprivate |
◆ 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 |
◆ QuickIDLogin()
| static bool PixoVR.Apex.ApexSystem.QuickIDLogin |
( |
string | serialNumber, |
|
|
string | username ) |
|
inlinestatic |
◆ 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 |
◆ SetupDeepLinking()
| void PixoVR.Apex.ApexSystem.SetupDeepLinking |
( |
| ) |
|
|
inlineprivate |
◆ SetupPlatformConfiguration()
| void PixoVR.Apex.ApexSystem.SetupPlatformConfiguration |
( |
| ) |
|
|
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
◆ OnGeneratedAssistedLoginFailed
◆ OnGeneratedAssistedLoginSuccess
◆ OnGetOrganizationModulesFailed
◆ OnGetOrganizationModulesSuccess
◆ OnGetQuickIDAuthGetUsersFailed
◆ OnGetQuickIDAuthGetUsersSuccess
◆ OnGetUserFailed
◆ OnGetUserModulesFailed
◆ OnGetUserModulesSuccess
◆ OnGetUserSuccess
◆ OnJoinSessionFailed
◆ OnJoinSessionSuccess
◆ OnLoginFailed
◆ OnLoginSuccess
◆ OnModuleAccessFailed
◆ OnModuleAccessSuccess
◆ OnPingFailed
◆ OnPingSuccess
◆ OnPlatformResponse
◆ OnQuickIDAuthLoginFailed
◆ OnQuickIDAuthLoginSuccess
◆ 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 |
|
staticgetprivate set |
The documentation for this class was generated from the following file: