Ejemplo n.º 1
0
        public StringIndex(CacheFile cache)
        {
            if (cache == null)
            {
                throw new ArgumentNullException(nameof(cache));
            }

            this.cache = cache;
            items      = new string[cache.Header.StringCount];
            translator = new StringIdTranslator(Resources.MccHalo3Strings, cache.Metadata.StringIds);
        }
Ejemplo n.º 2
0
        public TagIndex(CacheFile cache)
        {
            if (cache == null)
            {
                throw new ArgumentNullException(nameof(cache));
            }

            this.cache = cache;
            items      = new Dictionary <int, IndexItem>();
            sysItems   = new Dictionary <string, IndexItem>();

            Classes   = new List <TagClass>();
            Filenames = new Dictionary <int, string>();
        }
Ejemplo n.º 3
0
 public IndexItem(CacheFile cache, int index)
 {
     this.cache = cache;
     Id         = index;
 }
Ejemplo n.º 4
0
 public PointerExpander(CacheFile cache)
 {
     magic = 0;
 }