Esempio n. 1
0
        public State2(AlexandriaManager manager, string rootPath, FileManager fileManager, string iniFileName)
            : base(manager, rootPath, fileManager)
        {
            IniFile = new IniFile(RootPath + iniFileName);

            IniFileSection section = IniFile["Core.System"];
            List <string>  paths   = section.GetMultiple("Paths");

            paths.AddRange(section.GetMultiple("Paths__t"));             // Thief 3: Deadly Shadows
            foreach (var path in paths)
            {
                var fullPath   = RootPath + "System/" + path;
                var simplePath = Path.GetFullPath(Path.GetDirectoryName(fullPath)) + "\\" + Path.GetFileName(fullPath);
                AddPackagePath(simplePath);
            }
        }