public static void UpdateSummaryDatabase(string _RootDirectory, RPPDatabase _Database, bool _UpdateAllHistory = false)
        {
            GuildSummaryDatabase database = null;
            string databaseFile           = _RootDirectory + "\\SummaryDatabase\\GuildSummaryDatabase.dat";

            if (System.IO.File.Exists(databaseFile) == true)
            {
                if (Utility.LoadSerialize(databaseFile, out database, 10000, true) == false)
                {
                    database = null;
                }
                if (database == null)
                {
                    VF_RealmPlayersDatabase.Logger.ConsoleWriteLine("Armory: Failed to load GuildSummaryDatabase. Skipping update!");
                    return;
                }
            }
            if (database != null)
            {
                foreach (var guild in database.m_Guilds)
                {
                    guild.Value.InitCache();
                }
            }
            if (database == null)
            {
                database = new GuildSummaryDatabase();
                database.UpdateDatabase(_Database);
            }
            else
            {
                if (_UpdateAllHistory == true)
                {
                    database.UpdateDatabase(_Database);
                }
                else
                {
                    database.UpdateDatabase(_Database, DateTime.UtcNow.AddDays(-8));
                }
            }
            Utility.SaveSerialize(databaseFile, database);
            VF_RealmPlayersDatabase.Logger.ConsoleWriteLine("Armory: Successfully updated GuildSummaryDatabase!");
        }
        public static GuildSummaryDatabase LoadSummaryDatabase(string _RootDirectory)
        {
            GuildSummaryDatabase database = null;
            string databaseFile           = _RootDirectory + "\\SummaryDatabase\\GuildSummaryDatabase.dat";

            if (System.IO.File.Exists(databaseFile) == true)
            {
                if (Utility.LoadSerialize(databaseFile, out database, 10000, true) == false)
                {
                    database = null;
                }
            }
            if (database != null)
            {
                foreach (var guild in database.m_Guilds)
                {
                    guild.Value.InitCache();
                }
            }
            return(database);
        }
        public static void UpdateSummaryDatabase(string _RootDirectory, RPPDatabase _Database, bool _UpdateAllHistory = false)
        {
            GuildSummaryDatabase database = null;
            string databaseFile           = _RootDirectory + "\\SummaryDatabase\\GuildSummaryDatabase.dat";

            if (System.IO.File.Exists(databaseFile) == true)
            {
                if (Utility.LoadSerialize(databaseFile, out database) == false)
                {
                    database = null;
                }
            }
            if (database != null)
            {
                foreach (var guild in database.m_Guilds)
                {
                    guild.Value.InitCache();
                }
            }
            if (database == null)
            {
                database = new GuildSummaryDatabase();
                database.UpdateDatabase(_Database);
            }
            else
            {
                if (_UpdateAllHistory == true)
                {
                    database.UpdateDatabase(_Database);
                }
                else
                {
                    database.UpdateDatabase(_Database, DateTime.UtcNow.AddDays(-8));
                }
            }
            Utility.SaveSerialize(databaseFile, database);
        }