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(); } }
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; }