public static void BuildAllFullWithProg()
        {
            CapsResBuilder.BuildingParams = CapsResBuilder.ResBuilderParams.Create();
            var winprog = new EditorWorkProgressShowerInConsole();

            winprog.Works.Add(CapsSptBuilder.BuildSptAsync(null, winprog));
            winprog.Works.Add(CapsResBuilder.BuildResAsync(null, winprog));
            winprog.Works.Add(CapsUpdateBuilder.BuildNearestUpdate(winprog));
            winprog.OnQuit += () => { CapsResBuilder.BuildingParams = null; };
            winprog.StartWork();
        }
Ejemplo n.º 2
0
        public static void BuildSptCommand()
        {
            CapsResBuilder.BuildingParams         = CapsResBuilder.ResBuilderParams.Create();
            CapsResBuilder.BuildingParams.makezip = false;
            var work = CapsSptBuilder.BuildSptAsync(null, null, new[] { new CapsSptBuilder.SptBuilderEx_RawCopy() });

            while (work.MoveNext())
            {
                ;
            }
            CapsResBuilder.BuildingParams = null;
        }
        public static void BuildAllFull()
        {
            CapsResBuilder.BuildingParams = CapsResBuilder.ResBuilderParams.Create();
            var work = CapsSptBuilder.BuildSptAsync(null, null);

            while (work.MoveNext())
            {
                ;
            }
            work = CapsResBuilder.BuildResAsync(null, null);
            while (work.MoveNext())
            {
                ;
            }
            CapsResBuilder.BuildingParams = null;
            CapsUpdateBuilder.BuildNearestUpdate();
        }