public DownloadItem(string url, string path, OutGameManager.DownloadFileInfo downloadFileInfo = null, string extra_postfix = "") { DownloadFileInfo = downloadFileInfo; m_srcUrl = url; m_savePath = path; m_isStartDownload = false; m_fileNameWithoutExt = Path.GetFileNameWithoutExtension(m_srcUrl); m_fileExt = Path.GetExtension(m_srcUrl); m_saveFilePath = string.Format("{0}/{1}{2}", m_savePath, m_fileNameWithoutExt, m_fileExt) + extra_postfix; }
public WWWDownloadItem(string url, string path, OutGameManager.DownloadFileInfo downloadFileInfo = null) : base(url, path, downloadFileInfo) { }
public HttpDownloadItem(string url, string path, OutGameManager.DownloadFileInfo downloadFileInfo = null, string postfix = "") : base(url, path, downloadFileInfo, postfix) { m_tempSaveFilePath = string.Format("{0}/{1}{2}", m_savePath, m_fileNameWithoutExt, m_tempFileExt); }