Пример #1
0
        static void Main(string[] args)
        {
            var interior = InteriorResource.Load("test.dif");

            InteriorResource.Save(interior, "test3.dif");
            var interior2 = InteriorResource.Load("test3.dif");
        }
Пример #2
0
        static void Main(string[] args)
        {
            var dif = InteriorResource.Load(args[0]);

            var csxexporter = new CSXExporter();

            var w = new StreamWriter(File.OpenWrite(args[0] + ".csx"));

            csxexporter.ExportCSX(dif.detailLevels[0], w);
        }