public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader) { System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader)); this.Signature = binaryReader.ReadTagClass(); this.Width = binaryReader.ReadInt16(); this.Height = binaryReader.ReadInt16(); this.Depth = binaryReader.ReadByte(); this.BitmapDataMoreFlags = ((MoreFlags)(binaryReader.ReadByte())); this.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.Format = ((FormatEnum)(binaryReader.ReadInt16())); this.BitmapDataFlags = ((Flags)(binaryReader.ReadInt16())); this.RegistrationPoint = binaryReader.ReadPoint(); this.MipmapCount = binaryReader.ReadInt16(); this.LowDetailMipmapCount = binaryReader.ReadInt16(); this.PixelsOffset = binaryReader.ReadInt32(); this.LOD1TextureDataOffset = binaryReader.ReadInt32(); this.LOD2TextureDataOffset = binaryReader.ReadInt32(); this.LOD3TextureDataOffset = binaryReader.ReadInt32(); this.fieldskip = binaryReader.ReadBytes(12); this.LOD1TextureDataLength = binaryReader.ReadInt32(); this.LOD2TextureDataLength = binaryReader.ReadInt32(); this.LOD3TextureDataLength = binaryReader.ReadInt32(); this.fieldskip0 = binaryReader.ReadBytes(52); return(pointerQueue); }
internal BitmapDataBlockBase(BinaryReader binaryReader) { this.signature = binaryReader.ReadTagClass(); this.widthPixels = binaryReader.ReadInt16(); this.heightPixels = binaryReader.ReadInt16(); this.depthPixels = binaryReader.ReadByte(); this.moreFlags = (MoreFlags)binaryReader.ReadByte(); this.type = (TypeDeterminesBitmapGeometry)binaryReader.ReadInt16(); this.format = (FormatDeterminesHowPixelsAreRepresentedInternally)binaryReader.ReadInt16(); this.flags = (Flags)binaryReader.ReadInt16(); this.registrationPoint = binaryReader.ReadPoint(); this.mipmapCount = binaryReader.ReadInt16(); this.lowDetailMipmapCount = binaryReader.ReadInt16(); this.pixelsOffset = binaryReader.ReadInt32(); this.lOD1TextureDataOffset = binaryReader.ReadInt32(); this.lOD2TextureDataOffset = binaryReader.ReadInt32(); this.lOD3TextureDataOffset = binaryReader.ReadInt32(); this.invalidName_ = binaryReader.ReadBytes(12); this.lOD1TextureDataLength = binaryReader.ReadInt32(); this.lOD2TextureDataLength = binaryReader.ReadInt32(); this.lOD3TextureDataLength = binaryReader.ReadInt32(); this.invalidName_0 = binaryReader.ReadBytes(52); }