Example #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.
            ///
        }
Example #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");
        }
Example #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");
        }
Example #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.
            ///
        }