Esempio n. 1
0
        static public void destroy()
        {
            if (mThread != null)
            {
                mExitThread.Set();
                mThread.Join();
                mThread = null;
            }

            mCurrentConsole = null;
            mXboxManager    = null;
        }
Esempio n. 2
0
        static public bool init()
        {
            if (mXboxManager == null)
            {
                mXboxManager = new XboxManagerClass();
            }

            if (mDefaultConsole == null)
            {
                mDefaultConsole = mXboxManager.OpenConsole(mXboxManager.DefaultConsole);
            }

            return(mDefaultConsole != null);
        }
Esempio n. 3
0
        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);
        }