public void CreateGameDirectory(string versionXml, string outputDir, IProgress <int> progress) { string container = Settings.Default.ContainerDirectory; RootDirectoryEntity root = new RootDirectoryEntityIO().Deserialize(versionXml); GameDirGenerator.Generate(root, outputDir, container, Helpers.EntityToPath(container), progress); }
private void GenerateGameFolder(string containerPath, string versionFilePath, string outputFolderPath) { RootDirectoryEntity root = new RootDirectoryEntityIO().Deserialize(versionFilePath); string gameFolder = Path.Combine(outputFolderPath, "World of Tanks " + root.Version); GameDirGenerator.Generate(root, gameFolder, containerPath, Helpers.EntityToPath(containerPath), null); }
public void CreateGameDirectory(RootDirectoryEntity game, string outputDir, IProgress <int> progress) { string container = Settings.Default.ContainerDirectory; GameDirGenerator.Generate(game, outputDir, container, Helpers.EntityToPath(container), progress); }