public List <URLFile> GetStreamABURLs() { var urls = new List <URLFile>(); foreach (var info in indexStreaming_.files) { URLFile url = new URLFile(); url.url = GameOption.FilePath.GetStreamFile(Frame.Helper.CombineWithSlash(Frame.FrameOption.Files.abFloder, info.name)); url.size = info.size; urls.Add(url); } return(urls); }
List <URLFile> GetIncrementABUrls() { var remoteABFloader = GameOption.FilePath.GetRemoteFileByPlatform(remoteOption_.cdn, Application.platform , Frame.FrameOption.Files.abFloder); AssetBundleIndex incrementList = GetIncrementResourceList(indexSD_, indexRemote_); List <URLFile> ret = new List <URLFile>(); for (int i = 0; i < incrementList.files.Count; ++i) { var info = incrementList.files[i]; URLFile urlFile = new URLFile(); urlFile.url = Frame.Helper.CombineWithSlash(false, remoteABFloader, info.name); urlFile.size = info.size; ret.Add(urlFile); } return(ret); }