/// <summary> /// Creates a fomod from a source archive. /// </summary> /// <param name="p_strPath">The path to the archive from which to create the fomod.</param> public void AddNewFomod(string p_strPath) { FomodFromSourceBuilder ffbBuilder = new FomodFromSourceBuilder(); IList<string> lstFomodPaths = ffbBuilder.BuildFomodFromSource(p_strPath, m_nxaNexus); foreach (string strFomodPath in lstFomodPaths) AddFomod(strFomodPath, true); }
/// <summary> /// Creates a fomod from a source archive. /// </summary> /// <param name="p_strPath">The path to the archive from which to create the fomod.</param> public void AddNewFomod(string p_strPath) { var ffbBuilder = new FomodFromSourceBuilder(); var lstFomodPaths = ffbBuilder.BuildFomodFromSource(p_strPath); foreach (var strFomodPath in lstFomodPaths) { AddFomod(strFomodPath, true); } }