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