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.StateAttachedTo = ((StateAttachedToEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.CanUseOnMapType = ((CanUseOnMapTypeEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.fieldpad1 = binaryReader.ReadBytes(28); this.AnchorOffset = binaryReader.ReadPoint(); this.WidthScale = binaryReader.ReadSingle(); this.HeightScale = binaryReader.ReadSingle(); this.WeaponHudMeterScalingFlags = ((ScalingFlags)(binaryReader.ReadInt16())); this.fieldpad2 = binaryReader.ReadBytes(2); this.fieldpad3 = binaryReader.ReadBytes(20); this.MeterBitmap = binaryReader.ReadTagReference(); this.ColorAtMeterMinimum = binaryReader.ReadColourR1G1B1(); this.ColorAtMeterMaximum = binaryReader.ReadColourR1G1B1(); this.FlashColor = binaryReader.ReadColourR1G1B1(); this.EmptyColor = binaryReader.ReadColourA1R1G1B1(); this.WeaponHudMeterFlags = ((Flags)(binaryReader.ReadByte())); this.MinumumMeterValue = binaryReader.ReadByte(); this.SequenceIndex = binaryReader.ReadInt16(); this.AlphaMultiplier = binaryReader.ReadByte(); this.AlphaBias = binaryReader.ReadByte(); this.ValueScale = binaryReader.ReadInt16(); this.Opacity = binaryReader.ReadSingle(); this.Translucency = binaryReader.ReadSingle(); this.DisabledColor = binaryReader.ReadColourA1R1G1B1(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(0)); this.fieldpad4 = binaryReader.ReadBytes(4); this.fieldpad5 = binaryReader.ReadBytes(40); 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.StateAttachedTo = ((StateAttachedToEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.CanUseOnMapType = ((CanUseOnMapTypeEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.fieldpad1 = binaryReader.ReadBytes(28); this.AnchorOffset = binaryReader.ReadPoint(); this.WidthScale = binaryReader.ReadSingle(); this.HeightScale = binaryReader.ReadSingle(); this.WeaponHudNumberScalingFlags = ((ScalingFlags)(binaryReader.ReadInt16())); this.fieldpad2 = binaryReader.ReadBytes(2); this.fieldpad3 = binaryReader.ReadBytes(20); this.DefaultColor = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod = binaryReader.ReadSingle(); this.FlashDelay = binaryReader.ReadSingle(); this.NumberOfFlashes = binaryReader.ReadInt16(); this.WeaponHudNumberFlashFlags = ((FlashFlags)(binaryReader.ReadInt16())); this.FlashLength = binaryReader.ReadSingle(); this.DisabledColor = binaryReader.ReadColourA1R1G1B1(); this.fieldpad4 = binaryReader.ReadBytes(4); this.MaximumNumberOfDigits = binaryReader.ReadByte(); this.WeaponHudNumberFlags = ((Flags)(binaryReader.ReadByte())); this.NumberOfFractionalDigits = binaryReader.ReadByte(); this.fieldpad5 = binaryReader.ReadBytes(1); this.fieldpad6 = binaryReader.ReadBytes(12); this.WeaponHudNumberWeaponSpecificFlags = ((WeaponSpecificFlags)(binaryReader.ReadInt16())); this.fieldpad7 = binaryReader.ReadBytes(2); this.fieldpad8 = binaryReader.ReadBytes(36); 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.StateAttachedTo = ((StateAttachedToEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.CanUseOnMapType = ((CanUseOnMapTypeEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.fieldpad1 = binaryReader.ReadBytes(28); this.AnchorOffset = binaryReader.ReadPoint(); this.WidthScale = binaryReader.ReadSingle(); this.HeightScale = binaryReader.ReadSingle(); this.WeaponHudStaticScalingFlags = ((ScalingFlags)(binaryReader.ReadInt16())); this.fieldpad2 = binaryReader.ReadBytes(2); this.fieldpad3 = binaryReader.ReadBytes(20); this.InterfaceBitmap = binaryReader.ReadTagReference(); this.DefaultColor = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod = binaryReader.ReadSingle(); this.FlashDelay = binaryReader.ReadSingle(); this.NumberOfFlashes = binaryReader.ReadInt16(); this.WeaponHudStaticFlashFlags = ((FlashFlags)(binaryReader.ReadInt16())); this.FlashLength = binaryReader.ReadSingle(); this.DisabledColor = binaryReader.ReadColourA1R1G1B1(); this.fieldpad4 = binaryReader.ReadBytes(4); this.SequenceIndex = binaryReader.ReadInt16(); this.fieldpad5 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(452)); this.fieldpad6 = binaryReader.ReadBytes(4); this.fieldpad7 = binaryReader.ReadBytes(40); 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.CrosshairType = ((CrosshairTypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.CanUseOnMapType = ((CanUseOnMapTypeEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.fieldpad1 = binaryReader.ReadBytes(28); this.CrosshairBitmap = binaryReader.ReadTagReference(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(108)); this.fieldpad2 = binaryReader.ReadBytes(40); return(pointerQueue); }