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 DontUseMeScenarioEnvironmentObjectBlockBase(BinaryReader binaryReader) { this.bSP = binaryReader.ReadShortBlockIndex1(); this.eMPTYSTRING = binaryReader.ReadInt16(); this.uniqueID = binaryReader.ReadInt32(); this.invalidName_ = binaryReader.ReadBytes(4); this.objectDefinitionTag = binaryReader.ReadTagClass(); this._object = binaryReader.ReadInt32(); this.invalidName_0 = binaryReader.ReadBytes(44); }
internal StructureBspEnvironmentObjectBlockBase(BinaryReader binaryReader) { this.name = binaryReader.ReadString32(); this.rotation = binaryReader.ReadQuaternion(); this.translation = binaryReader.ReadVector3(); this.paletteIndex = binaryReader.ReadShortBlockIndex1(); this.invalidName_ = binaryReader.ReadBytes(2); this.uniqueID = binaryReader.ReadInt32(); this.exportedObjectType = binaryReader.ReadTagClass(); this.scenarioObjectName = binaryReader.ReadString32(); }
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.BSP = binaryReader.ReadShortBlockIndex1(); this.EMPTYSTRING = binaryReader.ReadInt16(); this.UniqueID = binaryReader.ReadInt32(); this.fieldpad = binaryReader.ReadBytes(4); this.ObjectDefinitionTag = binaryReader.ReadTagClass(); this.Object = binaryReader.ReadInt32(); this.fieldpad0 = binaryReader.ReadBytes(44); return(pointerQueue); }
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.Name = binaryReader.ReadString32(); this.Rotation = binaryReader.ReadQuaternion(); this.Translation = binaryReader.ReadVector3(); this.PaletteIndex = binaryReader.ReadShortBlockIndex1(); this.fieldpad = binaryReader.ReadBytes(2); this.UniqueID = binaryReader.ReadInt32(); this.ExportedObjectType = binaryReader.ReadTagClass(); this.ScenarioObjectName = binaryReader.ReadString32(); 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); }
public TagReference(TagClass tagClass, TagIdent tagID) { Class = tagClass; Ident = tagID; }
public TagReferenceAttribute(string tagClassString) { referenceClass = new TagClass(Encoding.UTF8.GetBytes(tagClassString)); }
public TagReference(TagClass tagClass, TagIdent tagID) { this.Class = tagClass; this.Ident = tagID; }
public TagClassAttribute(string tagClass) { TagClass = (TagClass)tagClass; }