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.MccHalo4Strings, cache.Metadata.StringIds); }
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>(); }
public IndexItem(CacheFile cache, int index) { this.cache = cache; Id = index; }
public PointerExpander(CacheFile cache) { magic = 0x4FFF0000; }