public ExteriorChunkPerson(ExteriorChunkArea area, int index, BinaryReader reader) : base(area, index, reader) { TextureIndex = new TextureIndex(reader.ReadUInt16()); FactionIndex = new FactionIndex(reader.ReadUInt16()); Unknowns.Add(reader.ReadByte()); }
public ExteriorChunkDoor(ExteriorChunkArea area, int index, BinaryReader reader) : base(area, index, reader) { Unknowns.Add(reader.ReadUInt16()); Rotation = Angle.Daggerfall(reader.ReadInt16()); Unknowns.Add(reader.ReadUInt16()); reader.ReadZeroes(1); }
internal Record(TextureArchive archive, BinaryReader reader, uint offsetBase) : base(archive, 0, null) { Unknowns = new Unknowns(); Unknowns.AddUInt16("a", reader); Offset = reader.ReadUInt32() + offsetBase; Unknowns.AddUInt16("b", reader); Unknowns.AddInt32("c", reader); reader.ReadZeroes(8); }
internal ExteriorChunk(ExteriorBlock block, BinaryReader reader, int index) : base(block.State) { this.Index = index; Unknowns.Add("g", u1 = reader.ReadInt32()); Unknowns.Add("h", u2 = reader.ReadInt32()); this.X = reader.ReadInt32(); this.Z = reader.ReadInt32(); this.Angle = Angle.Daggerfall(reader.ReadInt32()); this.Block = block; var b1 = State.Models.RecordMap.ContainsKey(u1); var b2 = State.Models.RecordMap.ContainsKey(u2); }
public ExteriorChunkSection(ExteriorChunkArea area, int index, BinaryReader reader) : base(area, index, reader) { Unknowns.Add(reader.ReadUInt16()); Unknowns.Add(reader.ReadUInt16()); }