static public void destroy() { if (mThread != null) { mExitThread.Set(); mThread.Join(); mThread = null; } mCurrentConsole = null; mXboxManager = null; }
static public bool init() { if (mXboxManager == null) { mXboxManager = new XboxManagerClass(); } if (mDefaultConsole == null) { mDefaultConsole = mXboxManager.OpenConsole(mXboxManager.DefaultConsole); } return(mDefaultConsole != null); }
static public eErrorType init() { if (mXboxManager == null) { mXboxManager = new XboxManagerClass(); } mCurrentConsoleName = mXboxManager.DefaultConsole; if (mXboxManager != null && mCurrentConsole == null) { return(changeCurrentConsole(mCurrentConsoleName)); } return(eErrorType.c*K); }