private static void copyMap(String strMap) { string[] files = strMap.Split('\n'); for (int i = 0; i < files.Length - 1; i++) { String[] values = files[i].Split('|'); String strFile = values[0]; CRhoFile.recursiveCreateDir(strFile); CRhoFile.writeDataToFile(strFile, CRhoFile.readResourceFile(strFile)); } CRhoFile.writeStringToFile("RhoBundleMap.txt", strMap); }
private static void copyMap(String strMap) { string[] files = strMap.Split('\n'); for (int i = 0; i < files.Length - 1; i++) { String[] values = files[i].Split('|'); String strFile = values[0]; String strDstFile = values[1]; System.Diagnostics.Debugger.Log(0, "", strDstFile + "\n"); CRhoFile.recursiveCreateDir(strDstFile); CRhoFile.writeDataToFile(strDstFile, CRhoFile.readResourceFile(strFile)); } CRhoFile.writeStringToFile("RhoBundleMap.txt", strMap); }