public override void Load(byte[] chunkData) { base.Load(chunkData); TagList = new Reflexive(_map.Magic(ReadUint32(4)), ReadUint32(0)); ObjectList = new Reflexive(_map.Magic(ReadUint32(12)), ReadUint32(8)); GlobalTagList = new Reflexive(_map.Magic(ReadUint32(20)), ReadUint32(16)); Unknown = new Reflexive(_map.Magic(ReadUint32(28)), ReadUint32(24)); Tags = new TagManager(_map); Objects = new ObjectManager(_map); _map.LoadListEntries(GlobalTags, GlobalTagList, LoadObjectListEntry, 8); }
public TableManager(MapHeader header, HaloMap map) { _header = header; _map = map; _chunkSize = 32; _chunkOffset = _map.Magic(_header.TagTableInfo.HeaderAddress); }