示例#1
0
        public static void Main(String[] _)
        {
            // Helper  Obsolete
            //Helper.ExtractTextEnglish(Program.PathRoot + @"\Original\texts_english.xml");
            //Helper.ExtractTextGerman(Program.PathRoot + @"\Original\texts_german.xml");
            //Helper.ExtractText();
            //Helper.ExtractTemplateNames(Program.PathRoot + @"\Original\assets.xml");

            Assets.Init("Update 07");

            // World Fair
            Monument.Create();

            //Assets
            Program.ProcessingItems("ActiveItem");
            Program.ProcessingItems("ItemSpecialActionVisualEffect");
            Program.ProcessingItems("ItemSpecialAction");
            Program.ProcessingItems("GuildhouseItem");
            Program.ProcessingItems("TownhallItem");
            Program.ProcessingItems("HarborOfficeItem");
            Program.ProcessingItems("VehicleItem");
            Program.ProcessingItems("ShipSpecialist");
            Program.ProcessingItems("CultureItem");
            Program.ProcessingItems("ItemWithUI");
            Program.ProcessingItems("FluffItem");
            Program.ProcessingItems("QuestItemMagistrate");
            Program.ProcessingItems("StartExpeditionItem");
            Program.ProcessingItems("QuestItem");
            Program.ProcessingItems("ItemConstructionPlan");

            Program.ProcessingItems("Product");

            //Buildings
            Program.ProcessingBuildings();

            ////ItemsSets
            Program.ProcessingItemSets();

            //Festivals
            Program.ProcessingFestivalBuffs();

            //RewardPools
            Program.ProcessingRewardPools();

            //Third Party
            Program.ProcessingThirdParty();

            //// Quests
            ////Program.QuestGiver();   //Obsolete
            ////Program.Quests();       //Obsolete

            //// Expeditions
            ////Program.Expeditions(); //Obsolete
            Program.ProcessingExpeditionEvents();

            ////Tourism
            Program.ProcessingTourism();

            //Save Descriptions
            //Set True for fully new Set of Descriptions.
            Program.SaveDescriptions(true);
        }
示例#2
0
        public static void Main(String[] args)
        {
            Program.PathViewer = new DirectoryInfo(Path.GetDirectoryName(Assembly.GetExecutingAssembly().CodeBase).Replace(@"file:\", String.Empty)).Parent.Parent.Parent.FullName + @"\AssetViewer";
            Program.PathRoot   = new DirectoryInfo(Path.GetDirectoryName(Assembly.GetExecutingAssembly().CodeBase).Replace(@"file:\", String.Empty)).Parent.Parent.FullName;

            // Helper  Obsolete
            //Helper.ExtractTextEnglish(Program.PathRoot + @"\Original\texts_english.xml");
            //Helper.ExtractTextGerman(Program.PathRoot + @"\Original\texts_german.xml");
            //Helper.ExtractText();
            //Helper.ExtractTemplateNames(Program.PathRoot + @"\Original\assets.xml");

            Assets.Init("Update 06");

            // World Fair
            Monument.Create();

            // Assets
            Program.ProcessingItems("ActiveItem");
            Program.ProcessingItems("ItemSpecialActionVisualEffect");
            Program.ProcessingItems("ItemSpecialAction");
            Program.ProcessingItems("GuildhouseItem");
            Program.ProcessingItems("TownhallItem");
            Program.ProcessingItems("HarborOfficeItem");
            Program.ProcessingItems("VehicleItem");
            Program.ProcessingItems("ShipSpecialist");
            Program.ProcessingItems("CultureItem");
            Program.ProcessingItems("ItemWithUI");
            Program.ProcessingItems("FluffItem");
            Program.ProcessingItems("QuestItemMagistrate");
            Program.ProcessingItems("StartExpeditionItem");
            Program.ProcessingItems("QuestItem");

            Program.ProcessingItems("Product");

            //Buildings
            Program.ProcessingItems("BuildPermitBuilding");
            Program.ProcessingItems("BuildPermitModules");
            Program.ProcessingItems("CultureModule");
            Program.ProcessingItems("OrnamentalModule");

            //ItemsSets
            Program.ProcessingItems("ItemSet", false);

            //Testing
            //Program.ProcessingBuildings();

            //Excluded
            //Program.ProcessingItems("ItemConstructionPlan");

            //RewardPools
            Program.ProcessingRewardPools();

            //Third Party
            Program.ProcessingThirdParty();

            // Quests
            //Program.QuestGiver();
            //Program.Quests();

            // Expeditions
            //Program.Expeditions(); //Obsolete
            Program.ProcessingExpeditionEvents();

            //Tourism
            Program.ProcessingTourism();

            //Save Descriptions
            //Set True for fully new Set of Descriptions.
            Program.SaveDescriptions(true);
        }