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.ReadStringID(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(1)); this.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.ShaderPassParameterFlags = ((Flags)(binaryReader.ReadInt16())); this.DefaultBitmap = binaryReader.ReadTagReference(); this.DefaultConstValue = binaryReader.ReadSingle(); this.DefaultConstColor = binaryReader.ReadColorR8G8B8(); this.SourceExtern = ((SourceExternEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); 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.SourceParameter = binaryReader.ReadStringID(); this.SourceExtern = ((SourceExternEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.fieldskip = binaryReader.ReadBytes(2); this.Mode = ((ModeEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.DotMapping = ((DotMappingEnum)(binaryReader.ReadInt16())); this.InputStage = binaryReader.ReadInt16(); this.fieldpad1 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(11)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); return(pointerQueue); }