Exemplo n.º 1
0
        /// <summary>
        /// Shutdown and clean up.
        /// </summary>
        public static void ShutDown()
        {
            PPather.WriteLine("Database.ShutDown()");

            if (connected)
            {
                wh = null;
                db.Close();
                db        = null;
                connected = false;
            }

            ///
            /// Remove event reference.
            ///
        }
Exemplo n.º 2
0
        public static void StartUp()
        {
            PPather.WriteLine("Database.StartUp()");

            if (!connected)
            {
                wh = new WowHeadFetcher();
                db = new Database();
                db.Open();
                connected = true;
            }

            //Character.GetEquippedItems();


            PPather.WriteLine("Starting up Item Manager");
        }
Exemplo n.º 3
0
        public static void StartUp()
        {
            PPather.WriteLine("Database.StartUp()");

            if (!connected)
            {
                wh = new WowHeadFetcher();
                db = new Database();
                db.Open();
                connected = true;
            }

            //Character.GetEquippedItems();

            PPather.WriteLine("Starting up Item Manager");
        }
Exemplo n.º 4
0
        /// <summary>
        /// Shutdown and clean up.
        /// </summary>
        public static void ShutDown()
        {
            PPather.WriteLine("Database.ShutDown()");

            if (connected)
            {
                wh = null;
                db.Close();
                db = null;
                connected = false;
            }

            ///
            /// Remove event reference.
            ///
        }