コード例 #1
0
        public void SetFile(string openFile)
        {
            XmlDocument doc = new XmlDocument();

            doc.Load(openFile);
            if (doc.GetElementsByTagName("GameName").Item(0).InnerText.ToUpper().Equals("BASTION"))
            {
                File = new SplitsFile(doc);
            }
            else
            {
                File = new SplitsFile();
            }
        }
コード例 #2
0
 public Exporter(string fileName,
                 SplitsFile file,
                 Dictionary <string, string> skywayPB,
                 Dictionary <string, string> skywaySOB,
                 Dictionary <string, string> loadPB,
                 Dictionary <string, string> loadSOB)
 {
     FileName  = fileName;
     File      = file;
     SkywayPB  = skywayPB;
     SkywaySOB = skywaySOB;
     LoadPB    = loadPB;
     LoadSOB   = loadSOB;
 }