public Directory GetDirectory(uint key) { if (_Directories.TryGetValue(key, out Directory directory)) { return(directory); } IndexDirectory index = Index.Directories[key]; directory = new Directory(this.Pack, index); _Directories.Add(key, directory); return(directory); }
public Directory(Pack pack, IndexDirectory index) { Pack = pack; Index = index; }