Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ BuildEntryList()

void ReLogic.Content.Sources.ZipContentSource.BuildEntryList ( )
inlineprivate

Definition at line 64 of file ZipContentSource.cs.

65 {
67 foreach (ZipEntry item in _zipFile.Entries.Where((ZipEntry entry) => !entry.IsDirectory && entry.FileName.StartsWith(_basePath)))
68 {
69 string fileName = item.FileName;
70 string path = fileName.Substring(_basePath.Length, fileName.Length - _basePath.Length);
71 path = AssetPathHelper.CleanPath(path);
73 }
75 }
void SetAssetNames(IEnumerable< string > paths)
readonly Dictionary< string, ZipEntry > _entries

References ReLogic.Content.Sources.ZipContentSource._basePath, ReLogic.Content.Sources.ZipContentSource._entries, ReLogic.Content.Sources.ZipContentSource._zipFile, ReLogic.Content.AssetPathHelper.CleanPath(), System.Collections.Generic.Dictionary< TKey, TValue >.Clear(), System.item, System.Collections.Generic.Dictionary< TKey, TValue >.Keys, and ReLogic.Content.Sources.ContentSource.SetAssetNames().

Referenced by ReLogic.Content.Sources.ZipContentSource.ZipContentSource(), and ReLogic.Content.Sources.ZipContentSource.ZipContentSource().