internal DataManager() { _names = File.ReadAllLines(Path.Combine("Datasheet", "Names.txt")) .Where(e => !string.IsNullOrWhiteSpace(e)) .Select(e => e.Trim()) .ToArray(); _xmlDef = new XmlDefinition(Path.Combine("Datasheet", "DataDefine.def")); _world = XmlObject.Load(Path.Combine("Datasheet", "World.xml"), _xmlDef); }