Пример #1
0
        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);
        }
Пример #2
0
 public Directory(Pack pack, IndexDirectory index)
 {
     Pack  = pack;
     Index = index;
 }
Пример #3
0
 public Directory(Pack pack, IndexDirectory index)
 {
     Pack = pack;
     Index = index;
 }