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.ChildHud = binaryReader.ReadTagReference(); this.WeaponHudInterfaceFlags = ((Flags)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.InventoryAmmoCutoff = binaryReader.ReadInt16(); this.LoadedAmmoCutoff = binaryReader.ReadInt16(); this.HeatCutoff = binaryReader.ReadInt16(); this.AgeCutoff = binaryReader.ReadInt16(); this.fieldpad0 = binaryReader.ReadBytes(32); this.Anchor = ((AnchorEnum)(binaryReader.ReadInt16())); this.fieldpad1 = binaryReader.ReadBytes(2); this.fieldpad2 = binaryReader.ReadBytes(32); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(168)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(165)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(160)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(92)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(92)); this.fieldpad3 = binaryReader.ReadBytes(4); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(0)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(320)); this.fieldpad4 = binaryReader.ReadBytes(132); this.SequenceIndex = binaryReader.ReadInt16(); this.WidthOffset = binaryReader.ReadInt16(); this.OffsetFromReferenceCorner = binaryReader.ReadPoint(); this.OverrideIconColor = binaryReader.ReadColourA1R1G1B1(); this.FrameRate030 = binaryReader.ReadByte(); this.WeaponHudInterfaceWeaponHudInterfaceFlags0 = ((WeaponHudInterfaceFlags0)(binaryReader.ReadByte())); this.TextIndex = binaryReader.ReadInt16(); this.fieldpad5 = binaryReader.ReadBytes(48); 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.AnchorOffset = binaryReader.ReadPoint(); this.WidthScale = binaryReader.ReadSingle(); this.HeightScale = binaryReader.ReadSingle(); this.GrenadeHudOverlayScalingFlags = ((ScalingFlags)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.fieldpad0 = binaryReader.ReadBytes(20); this.DefaultColor = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod = binaryReader.ReadSingle(); this.FlashDelay = binaryReader.ReadSingle(); this.NumberOfFlashes = binaryReader.ReadInt16(); this.GrenadeHudOverlayFlashFlags = ((FlashFlags)(binaryReader.ReadInt16())); this.FlashLength = binaryReader.ReadSingle(); this.DisabledColor = binaryReader.ReadColourA1R1G1B1(); this.fieldpad1 = binaryReader.ReadBytes(4); this.FrameRate = binaryReader.ReadSingle(); this.SequenceIndex = binaryReader.ReadInt16(); this.GrenadeHudOverlayType = ((Type)(binaryReader.ReadInt16())); this.GrenadeHudOverlayFlags = ((Flags)(binaryReader.ReadInt32())); this.fieldpad2 = binaryReader.ReadBytes(16); this.fieldpad3 = 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.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.AnchorOffset = binaryReader.ReadPoint(); this.WidthScale = binaryReader.ReadSingle(); this.HeightScale = binaryReader.ReadSingle(); this.UnitHudAuxilaryOverlayScalingFlags = ((ScalingFlags)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.fieldpad0 = 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.UnitHudAuxilaryOverlayFlashFlags = ((FlashFlags)(binaryReader.ReadInt16())); this.FlashLength = binaryReader.ReadSingle(); this.DisabledColor = binaryReader.ReadColourA1R1G1B1(); this.fieldpad1 = binaryReader.ReadBytes(4); this.SequenceIndex = binaryReader.ReadInt16(); this.fieldpad2 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(452)); this.fieldpad3 = binaryReader.ReadBytes(4); this.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.UnitHudAuxilaryOverlayFlags = ((Flags)(binaryReader.ReadInt16())); this.fieldpad4 = binaryReader.ReadBytes(24); return(pointerQueue); }
public static void Write(this BinaryWriter binaryWriter, ColourA1R1G1B1 value) { binaryWriter.Write(value.A); binaryWriter.Write(value.R); binaryWriter.Write(value.G); binaryWriter.Write(value.B); }
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.ShaderTextureStateMiscStateComponentSignFlags = ((ComponentSignFlags)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.BorderColor = binaryReader.ReadColourA1R1G1B1(); return(pointerQueue); }
internal ShaderStateAlphaBlendStateBlockBase(BinaryReader binaryReader) { this.blendFunction = (BlendFunction)binaryReader.ReadInt16(); this.blendSrcFactor = (BlendSrcFactor)binaryReader.ReadInt16(); this.blendDstFactor = (BlendDstFactor)binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.blendColor = binaryReader.ReadColourA1R1G1B1(); this.logicOpFlags = (LogicOpFlags)binaryReader.ReadInt16(); this.invalidName_0 = binaryReader.ReadBytes(2); }
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.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.fieldpad0 = binaryReader.ReadBytes(16); this.AnchorOffset = binaryReader.ReadPoint(); this.WidthScale = binaryReader.ReadSingle(); this.HeightScale = binaryReader.ReadSingle(); this.UnitHudAuxilaryPanelScalingFlags = ((ScalingFlags)(binaryReader.ReadInt16())); this.fieldpad1 = binaryReader.ReadBytes(2); this.fieldpad2 = 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.UnitHudAuxilaryPanelFlashFlags = ((FlashFlags)(binaryReader.ReadInt16())); this.FlashLength = binaryReader.ReadSingle(); this.DisabledColor = binaryReader.ReadColourA1R1G1B1(); this.fieldpad3 = binaryReader.ReadBytes(4); this.SequenceIndex = binaryReader.ReadInt16(); this.fieldpad4 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(452)); this.fieldpad5 = binaryReader.ReadBytes(4); this.AnchorOffset0 = binaryReader.ReadPoint(); this.WidthScale0 = binaryReader.ReadSingle(); this.HeightScale0 = binaryReader.ReadSingle(); this.UnitHudAuxilaryPanelUnitHudAuxilaryPanelScalingFlags0 = ((UnitHudAuxilaryPanelScalingFlags0)(binaryReader.ReadInt16())); this.fieldpad6 = binaryReader.ReadBytes(2); this.fieldpad7 = binaryReader.ReadBytes(20); this.MeterBitmap = binaryReader.ReadTagReference(); this.ColorAtMeterMinimum = binaryReader.ReadColourR1G1B1(); this.ColorAtMeterMaximum = binaryReader.ReadColourR1G1B1(); this.FlashColor = binaryReader.ReadColourR1G1B1(); this.EmptyColor = binaryReader.ReadColourA1R1G1B1(); this.UnitHudAuxilaryPanelFlags = ((Flags)(binaryReader.ReadByte())); this.MinumumMeterValue = binaryReader.ReadByte(); this.SequenceIndex0 = binaryReader.ReadInt16(); this.AlphaMultiplier = binaryReader.ReadByte(); this.AlphaBias = binaryReader.ReadByte(); this.ValueScale = binaryReader.ReadInt16(); this.Opacity = binaryReader.ReadSingle(); this.Translucency = binaryReader.ReadSingle(); this.DisabledColor0 = binaryReader.ReadColourA1R1G1B1(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(0)); this.fieldpad8 = binaryReader.ReadBytes(4); this.MinimumFractionCutoff = binaryReader.ReadSingle(); this.UnitHudAuxilaryPanelUnitHudAuxilaryPanelFlags0 = ((UnitHudAuxilaryPanelFlags0)(binaryReader.ReadInt32())); this.fieldpad9 = binaryReader.ReadBytes(24); this.fieldpad10 = binaryReader.ReadBytes(64); 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.SequenceIndex = binaryReader.ReadInt16(); this.WidthOffset = binaryReader.ReadInt16(); this.OffsetFromReferenceCorner = binaryReader.ReadPoint(); this.OverrideIconColor = binaryReader.ReadColourA1R1G1B1(); this.FrameRate030 = binaryReader.ReadByte(); this.HudButtonIconFlags = ((Flags)(binaryReader.ReadByte())); this.TextIndex = binaryReader.ReadInt16(); 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.BlendFunction = ((BlendFunctionEnum)(binaryReader.ReadInt16())); this.BlendSrcFactor = ((BlendSrcFactorEnum)(binaryReader.ReadInt16())); this.BlendDstFactor = ((BlendDstFactorEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.BlendColor = binaryReader.ReadColourA1R1G1B1(); this.ShaderStateAlphaBlendStateLogicopFlags = ((LogicopFlags)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); return(pointerQueue); }
internal PixelShaderCombinerBlockBase(BinaryReader binaryReader) { this.invalidName_ = binaryReader.ReadBytes(16); this.constantColor0 = binaryReader.ReadColourA1R1G1B1(); this.constantColor1 = binaryReader.ReadColourA1R1G1B1(); this.colorARegisterPtrIndex = binaryReader.ReadByte(); this.colorBRegisterPtrIndex = binaryReader.ReadByte(); this.colorCRegisterPtrIndex = binaryReader.ReadByte(); this.colorDRegisterPtrIndex = binaryReader.ReadByte(); this.alphaARegisterPtrIndex = binaryReader.ReadByte(); this.alphaBRegisterPtrIndex = binaryReader.ReadByte(); this.alphaCRegisterPtrIndex = binaryReader.ReadByte(); this.alphaDRegisterPtrIndex = binaryReader.ReadByte(); }
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.fieldpad = binaryReader.ReadBytes(16); this.ConstantColor0 = binaryReader.ReadColourA1R1G1B1(); this.ConstantColor1 = binaryReader.ReadColourA1R1G1B1(); this.ColorARegisterPtrIndex = binaryReader.ReadByte(); this.ColorBRegisterPtrIndex = binaryReader.ReadByte(); this.ColorCRegisterPtrIndex = binaryReader.ReadByte(); this.ColorDRegisterPtrIndex = binaryReader.ReadByte(); this.AlphaARegisterPtrIndex = binaryReader.ReadByte(); this.AlphaBRegisterPtrIndex = binaryReader.ReadByte(); this.AlphaCRegisterPtrIndex = binaryReader.ReadByte(); this.AlphaDRegisterPtrIndex = binaryReader.ReadByte(); 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.SequenceIndex = binaryReader.ReadByte(); this.DetailObjectTypeTypeFlags = ((TypeFlags)(binaryReader.ReadByte())); this.fieldpad = binaryReader.ReadBytes(2); this.ColorOverrideFactor = binaryReader.ReadSingle(); this.fieldpad0 = binaryReader.ReadBytes(8); this.NearFadeDistance = binaryReader.ReadSingle(); this.FarFadeDistance = binaryReader.ReadSingle(); this.Size = binaryReader.ReadSingle(); this.fieldpad1 = binaryReader.ReadBytes(4); this.MinimumColor = binaryReader.ReadColorR8G8B8(); this.MaximumColor = binaryReader.ReadColorR8G8B8(); this.AmbientColor = binaryReader.ReadColourA1R1G1B1(); this.fieldpad2 = binaryReader.ReadBytes(4); return(pointerQueue); }
internal ShaderTextureStateMiscStateBlockBase(BinaryReader binaryReader) { this.componentSignFlags = (ComponentSignFlags)binaryReader.ReadInt16(); this.invalidName_ = binaryReader.ReadBytes(2); this.borderColor = binaryReader.ReadColourA1R1G1B1(); }
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.Anchor = ((AnchorEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.fieldpad0 = binaryReader.ReadBytes(32); this.AnchorOffset = binaryReader.ReadPoint(); this.WidthScale = binaryReader.ReadSingle(); this.HeightScale = binaryReader.ReadSingle(); this.UnitHudInterfaceScalingFlags = ((ScalingFlags)(binaryReader.ReadInt16())); this.fieldpad1 = binaryReader.ReadBytes(2); this.fieldpad2 = 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.UnitHudInterfaceFlashFlags = ((FlashFlags)(binaryReader.ReadInt16())); this.FlashLength = binaryReader.ReadSingle(); this.DisabledColor = binaryReader.ReadColourA1R1G1B1(); this.fieldpad3 = binaryReader.ReadBytes(4); this.SequenceIndex = binaryReader.ReadInt16(); this.fieldpad4 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(452)); this.fieldpad5 = binaryReader.ReadBytes(4); this.AnchorOffset0 = binaryReader.ReadPoint(); this.WidthScale0 = binaryReader.ReadSingle(); this.HeightScale0 = binaryReader.ReadSingle(); this.UnitHudInterfaceUnitHudInterfaceScalingFlags0 = ((UnitHudInterfaceScalingFlags0)(binaryReader.ReadInt16())); this.fieldpad6 = binaryReader.ReadBytes(2); this.fieldpad7 = binaryReader.ReadBytes(20); this.InterfaceBitmap0 = binaryReader.ReadTagReference(); this.DefaultColor0 = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor0 = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod0 = binaryReader.ReadSingle(); this.FlashDelay0 = binaryReader.ReadSingle(); this.NumberOfFlashes0 = binaryReader.ReadInt16(); this.UnitHudInterfaceUnitHudInterfaceFlashFlags0 = ((UnitHudInterfaceFlashFlags0)(binaryReader.ReadInt16())); this.FlashLength0 = binaryReader.ReadSingle(); this.DisabledColor0 = binaryReader.ReadColourA1R1G1B1(); this.fieldpad8 = binaryReader.ReadBytes(4); this.SequenceIndex0 = binaryReader.ReadInt16(); this.fieldpad9 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(452)); this.fieldpad10 = binaryReader.ReadBytes(4); this.AnchorOffset1 = binaryReader.ReadPoint(); this.WidthScale1 = binaryReader.ReadSingle(); this.HeightScale1 = binaryReader.ReadSingle(); this.UnitHudInterfaceUnitHudInterfaceScalingFlags1 = ((UnitHudInterfaceScalingFlags1)(binaryReader.ReadInt16())); this.fieldpad11 = binaryReader.ReadBytes(2); this.fieldpad12 = binaryReader.ReadBytes(20); this.MeterBitmap = binaryReader.ReadTagReference(); this.ColorAtMeterMinimum = binaryReader.ReadColourR1G1B1(); this.ColorAtMeterMaximum = binaryReader.ReadColourR1G1B1(); this.FlashColor = binaryReader.ReadColourR1G1B1(); this.EmptyColor = binaryReader.ReadColourA1R1G1B1(); this.UnitHudInterfaceFlags = ((Flags)(binaryReader.ReadByte())); this.MinumumMeterValue = binaryReader.ReadByte(); this.SequenceIndex1 = binaryReader.ReadInt16(); this.AlphaMultiplier = binaryReader.ReadByte(); this.AlphaBias = binaryReader.ReadByte(); this.ValueScale = binaryReader.ReadInt16(); this.Opacity = binaryReader.ReadSingle(); this.Translucency = binaryReader.ReadSingle(); this.DisabledColor1 = binaryReader.ReadColourA1R1G1B1(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(0)); this.fieldpad13 = binaryReader.ReadBytes(4); this.OverchargeMinimumColor = binaryReader.ReadColourR1G1B1(); this.OverchargeMaximumColor = binaryReader.ReadColourR1G1B1(); this.OverchargeFlashColor = binaryReader.ReadColourR1G1B1(); this.OverchargeEmptyColor = binaryReader.ReadColourR1G1B1(); this.fieldpad14 = binaryReader.ReadBytes(16); this.AnchorOffset2 = binaryReader.ReadPoint(); this.WidthScale2 = binaryReader.ReadSingle(); this.HeightScale2 = binaryReader.ReadSingle(); this.UnitHudInterfaceUnitHudInterfaceScalingFlags2 = ((UnitHudInterfaceScalingFlags2)(binaryReader.ReadInt16())); this.fieldpad15 = binaryReader.ReadBytes(2); this.fieldpad16 = binaryReader.ReadBytes(20); this.InterfaceBitmap1 = binaryReader.ReadTagReference(); this.DefaultColor1 = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor1 = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod1 = binaryReader.ReadSingle(); this.FlashDelay1 = binaryReader.ReadSingle(); this.NumberOfFlashes1 = binaryReader.ReadInt16(); this.UnitHudInterfaceUnitHudInterfaceFlashFlags1 = ((UnitHudInterfaceFlashFlags1)(binaryReader.ReadInt16())); this.FlashLength1 = binaryReader.ReadSingle(); this.DisabledColor2 = binaryReader.ReadColourA1R1G1B1(); this.fieldpad17 = binaryReader.ReadBytes(4); this.SequenceIndex2 = binaryReader.ReadInt16(); this.fieldpad18 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(452)); this.fieldpad19 = binaryReader.ReadBytes(4); this.AnchorOffset3 = binaryReader.ReadPoint(); this.WidthScale3 = binaryReader.ReadSingle(); this.HeightScale3 = binaryReader.ReadSingle(); this.UnitHudInterfaceUnitHudInterfaceScalingFlags3 = ((UnitHudInterfaceScalingFlags3)(binaryReader.ReadInt16())); this.fieldpad20 = binaryReader.ReadBytes(2); this.fieldpad21 = binaryReader.ReadBytes(20); this.MeterBitmap0 = binaryReader.ReadTagReference(); this.ColorAtMeterMinimum0 = binaryReader.ReadColourR1G1B1(); this.ColorAtMeterMaximum0 = binaryReader.ReadColourR1G1B1(); this.FlashColor0 = binaryReader.ReadColourR1G1B1(); this.EmptyColor0 = binaryReader.ReadColourA1R1G1B1(); this.UnitHudInterfaceUnitHudInterfaceFlags0 = ((UnitHudInterfaceFlags0)(binaryReader.ReadByte())); this.MinumumMeterValue0 = binaryReader.ReadByte(); this.SequenceIndex3 = binaryReader.ReadInt16(); this.AlphaMultiplier0 = binaryReader.ReadByte(); this.AlphaBias0 = binaryReader.ReadByte(); this.ValueScale0 = binaryReader.ReadInt16(); this.Opacity0 = binaryReader.ReadSingle(); this.Translucency0 = binaryReader.ReadSingle(); this.DisabledColor3 = binaryReader.ReadColourA1R1G1B1(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(0)); this.fieldpad22 = binaryReader.ReadBytes(4); this.MediumHealthLeftColor = binaryReader.ReadColourR1G1B1(); this.MaxColorHealthFractionCutoff = binaryReader.ReadSingle(); this.MinColorHealthFractionCutoff = binaryReader.ReadSingle(); this.fieldpad23 = binaryReader.ReadBytes(20); this.AnchorOffset4 = binaryReader.ReadPoint(); this.WidthScale4 = binaryReader.ReadSingle(); this.HeightScale4 = binaryReader.ReadSingle(); this.UnitHudInterfaceUnitHudInterfaceScalingFlags4 = ((UnitHudInterfaceScalingFlags4)(binaryReader.ReadInt16())); this.fieldpad24 = binaryReader.ReadBytes(2); this.fieldpad25 = binaryReader.ReadBytes(20); this.InterfaceBitmap2 = binaryReader.ReadTagReference(); this.DefaultColor2 = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor2 = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod2 = binaryReader.ReadSingle(); this.FlashDelay2 = binaryReader.ReadSingle(); this.NumberOfFlashes2 = binaryReader.ReadInt16(); this.UnitHudInterfaceUnitHudInterfaceFlashFlags2 = ((UnitHudInterfaceFlashFlags2)(binaryReader.ReadInt16())); this.FlashLength2 = binaryReader.ReadSingle(); this.DisabledColor4 = binaryReader.ReadColourA1R1G1B1(); this.fieldpad26 = binaryReader.ReadBytes(4); this.SequenceIndex4 = binaryReader.ReadInt16(); this.fieldpad27 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(452)); this.fieldpad28 = binaryReader.ReadBytes(4); this.AnchorOffset5 = binaryReader.ReadPoint(); this.WidthScale5 = binaryReader.ReadSingle(); this.HeightScale5 = binaryReader.ReadSingle(); this.UnitHudInterfaceUnitHudInterfaceScalingFlags5 = ((UnitHudInterfaceScalingFlags5)(binaryReader.ReadInt16())); this.fieldpad29 = binaryReader.ReadBytes(2); this.fieldpad30 = binaryReader.ReadBytes(20); this.InterfaceBitmap3 = binaryReader.ReadTagReference(); this.DefaultColor3 = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor3 = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod3 = binaryReader.ReadSingle(); this.FlashDelay3 = binaryReader.ReadSingle(); this.NumberOfFlashes3 = binaryReader.ReadInt16(); this.UnitHudInterfaceUnitHudInterfaceFlashFlags3 = ((UnitHudInterfaceFlashFlags3)(binaryReader.ReadInt16())); this.FlashLength3 = binaryReader.ReadSingle(); this.DisabledColor5 = binaryReader.ReadColourA1R1G1B1(); this.fieldpad31 = binaryReader.ReadBytes(4); this.SequenceIndex5 = binaryReader.ReadInt16(); this.fieldpad32 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(452)); this.fieldpad33 = binaryReader.ReadBytes(4); this.fieldpad34 = binaryReader.ReadBytes(32); this.AnchorOffset6 = binaryReader.ReadPoint(); this.WidthScale6 = binaryReader.ReadSingle(); this.HeightScale6 = binaryReader.ReadSingle(); this.UnitHudInterfaceUnitHudInterfaceScalingFlags6 = ((UnitHudInterfaceScalingFlags6)(binaryReader.ReadInt16())); this.fieldpad35 = binaryReader.ReadBytes(2); this.fieldpad36 = binaryReader.ReadBytes(20); this.UnitHudInterfaceUnitHudInterfaceAnchor = ((UnitHudInterfaceAnchorEnum)(binaryReader.ReadInt16())); this.fieldpad37 = binaryReader.ReadBytes(2); this.fieldpad38 = binaryReader.ReadBytes(32); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(120)); this.fieldpad39 = binaryReader.ReadBytes(16); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(48)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(297)); this.NewHud = binaryReader.ReadTagReference(); this.fieldpad40 = binaryReader.ReadBytes(356); this.fieldpad41 = binaryReader.ReadBytes(48); return(pointerQueue); }
internal Pixel32BlockBase(BinaryReader binaryReader) { this.color = binaryReader.ReadColourA1R1G1B1(); }
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.Color = binaryReader.ReadColourA1R1G1B1(); 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.Anchor = ((AnchorEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.fieldpad0 = binaryReader.ReadBytes(32); this.AnchorOffset = binaryReader.ReadPoint(); this.WidthScale = binaryReader.ReadSingle(); this.HeightScale = binaryReader.ReadSingle(); this.GrenadeHudInterfaceScalingFlags = ((ScalingFlags)(binaryReader.ReadInt16())); this.fieldpad1 = binaryReader.ReadBytes(2); this.fieldpad2 = 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.GrenadeHudInterfaceFlashFlags = ((FlashFlags)(binaryReader.ReadInt16())); this.FlashLength = binaryReader.ReadSingle(); this.DisabledColor = binaryReader.ReadColourA1R1G1B1(); this.fieldpad3 = binaryReader.ReadBytes(4); this.SequenceIndex = binaryReader.ReadInt16(); this.fieldpad4 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(452)); this.fieldpad5 = binaryReader.ReadBytes(4); this.AnchorOffset0 = binaryReader.ReadPoint(); this.WidthScale0 = binaryReader.ReadSingle(); this.HeightScale0 = binaryReader.ReadSingle(); this.GrenadeHudInterfaceGrenadeHudInterfaceScalingFlags0 = ((GrenadeHudInterfaceScalingFlags0)(binaryReader.ReadInt16())); this.fieldpad6 = binaryReader.ReadBytes(2); this.fieldpad7 = binaryReader.ReadBytes(20); this.InterfaceBitmap0 = binaryReader.ReadTagReference(); this.DefaultColor0 = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor0 = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod0 = binaryReader.ReadSingle(); this.FlashDelay0 = binaryReader.ReadSingle(); this.NumberOfFlashes0 = binaryReader.ReadInt16(); this.GrenadeHudInterfaceGrenadeHudInterfaceFlashFlags0 = ((GrenadeHudInterfaceFlashFlags0)(binaryReader.ReadInt16())); this.FlashLength0 = binaryReader.ReadSingle(); this.DisabledColor0 = binaryReader.ReadColourA1R1G1B1(); this.fieldpad8 = binaryReader.ReadBytes(4); this.SequenceIndex0 = binaryReader.ReadInt16(); this.fieldpad9 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(452)); this.fieldpad10 = binaryReader.ReadBytes(4); this.AnchorOffset1 = binaryReader.ReadPoint(); this.WidthScale1 = binaryReader.ReadSingle(); this.HeightScale1 = binaryReader.ReadSingle(); this.GrenadeHudInterfaceGrenadeHudInterfaceScalingFlags1 = ((GrenadeHudInterfaceScalingFlags1)(binaryReader.ReadInt16())); this.fieldpad11 = binaryReader.ReadBytes(2); this.fieldpad12 = binaryReader.ReadBytes(20); this.DefaultColor1 = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor1 = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod1 = binaryReader.ReadSingle(); this.FlashDelay1 = binaryReader.ReadSingle(); this.NumberOfFlashes1 = binaryReader.ReadInt16(); this.GrenadeHudInterfaceGrenadeHudInterfaceFlashFlags1 = ((GrenadeHudInterfaceFlashFlags1)(binaryReader.ReadInt16())); this.FlashLength1 = binaryReader.ReadSingle(); this.DisabledColor1 = binaryReader.ReadColourA1R1G1B1(); this.fieldpad13 = binaryReader.ReadBytes(4); this.MaximumNumberOfDigits = binaryReader.ReadByte(); this.GrenadeHudInterfaceFlags = ((Flags)(binaryReader.ReadByte())); this.NumberOfFractionalDigits = binaryReader.ReadByte(); this.fieldpad14 = binaryReader.ReadBytes(1); this.fieldpad15 = binaryReader.ReadBytes(12); this.FlashCutoff = binaryReader.ReadInt16(); this.fieldpad16 = binaryReader.ReadBytes(2); this.OverlayBitmap = binaryReader.ReadTagReference(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(136)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(48)); this.fieldpad17 = binaryReader.ReadBytes(68); this.SequenceIndex1 = binaryReader.ReadInt16(); this.WidthOffset = binaryReader.ReadInt16(); this.OffsetFromReferenceCorner = binaryReader.ReadPoint(); this.OverrideIconColor = binaryReader.ReadColourA1R1G1B1(); this.FrameRate030 = binaryReader.ReadByte(); this.GrenadeHudInterfaceGrenadeHudInterfaceFlags0 = ((GrenadeHudInterfaceFlags0)(binaryReader.ReadByte())); this.TextIndex = binaryReader.ReadInt16(); this.fieldpad18 = binaryReader.ReadBytes(48); 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.Anchor = ((AnchorEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.fieldpad0 = binaryReader.ReadBytes(32); this.AnchorOffset = binaryReader.ReadPoint(); this.WidthScale = binaryReader.ReadSingle(); this.HeightScale = binaryReader.ReadSingle(); this.HudGlobalsScalingFlags = ((ScalingFlags)(binaryReader.ReadInt16())); this.fieldpad1 = binaryReader.ReadBytes(2); this.fieldpad2 = binaryReader.ReadBytes(20); this.Obsolete1 = binaryReader.ReadTagReference(); this.Obsolete2 = binaryReader.ReadTagReference(); this.UpTime = binaryReader.ReadSingle(); this.FadeTime = binaryReader.ReadSingle(); this.IconColor = binaryReader.ReadVector4(); this.TextColor = binaryReader.ReadVector4(); this.TextSpacing = binaryReader.ReadSingle(); this.ItemMessageText = binaryReader.ReadTagReference(); this.IconBitmap = binaryReader.ReadTagReference(); this.AlternateIconText = binaryReader.ReadTagReference(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16)); this.DefaultColor = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod = binaryReader.ReadSingle(); this.FlashDelay = binaryReader.ReadSingle(); this.NumberOfFlashes = binaryReader.ReadInt16(); this.HudGlobalsFlashFlags = ((FlashFlags)(binaryReader.ReadInt16())); this.FlashLength = binaryReader.ReadSingle(); this.DisabledColor = binaryReader.ReadColourA1R1G1B1(); this.fieldpad3 = binaryReader.ReadBytes(4); this.HudMessages = binaryReader.ReadTagReference(); this.DefaultColor0 = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor0 = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod0 = binaryReader.ReadSingle(); this.FlashDelay0 = binaryReader.ReadSingle(); this.NumberOfFlashes0 = binaryReader.ReadInt16(); this.HudGlobalsHudGlobalsFlashFlags0 = ((HudGlobalsFlashFlags0)(binaryReader.ReadInt16())); this.FlashLength0 = binaryReader.ReadSingle(); this.DisabledColor0 = binaryReader.ReadColourA1R1G1B1(); this.UptimeTicks = binaryReader.ReadInt16(); this.FadeTicks = binaryReader.ReadInt16(); this.TopOffset = binaryReader.ReadSingle(); this.BottomOffset = binaryReader.ReadSingle(); this.LeftOffset = binaryReader.ReadSingle(); this.RightOffset = binaryReader.ReadSingle(); this.fieldpad4 = binaryReader.ReadBytes(32); this.ArrowBitmap = binaryReader.ReadTagReference(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(104)); this.fieldpad5 = binaryReader.ReadBytes(80); this.HudScaleInMultiplayer = binaryReader.ReadSingle(); this.fieldpad6 = binaryReader.ReadBytes(256); this.fieldpad7 = binaryReader.ReadBytes(16); this.MotionSensorRange = binaryReader.ReadSingle(); this.MotionSensorVelocitySensitivity = binaryReader.ReadSingle(); this.MotionSensorScaleDONTTOUCHEVER = binaryReader.ReadSingle(); this.DefaultChapterTitleBounds = binaryReader.ReadVector2(); this.fieldpad8 = binaryReader.ReadBytes(44); this.TopOffset0 = binaryReader.ReadInt16(); this.BottomOffset0 = binaryReader.ReadInt16(); this.LeftOffset0 = binaryReader.ReadInt16(); this.RightOffset0 = binaryReader.ReadInt16(); this.fieldpad9 = binaryReader.ReadBytes(32); this.IndicatorBitmap = binaryReader.ReadTagReference(); this.SequenceIndex = binaryReader.ReadInt16(); this.MultiplayerSequenceIndex = binaryReader.ReadInt16(); this.Color = binaryReader.ReadColourA1R1G1B1(); this.fieldpad10 = binaryReader.ReadBytes(16); this.DefaultColor1 = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor1 = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod1 = binaryReader.ReadSingle(); this.FlashDelay1 = binaryReader.ReadSingle(); this.NumberOfFlashes1 = binaryReader.ReadInt16(); this.HudGlobalsHudGlobalsFlashFlags1 = ((HudGlobalsFlashFlags1)(binaryReader.ReadInt16())); this.FlashLength1 = binaryReader.ReadSingle(); this.DisabledColor1 = binaryReader.ReadColourA1R1G1B1(); this.fieldpad11 = binaryReader.ReadBytes(4); this.DefaultColor2 = binaryReader.ReadColourA1R1G1B1(); this.FlashingColor2 = binaryReader.ReadColourA1R1G1B1(); this.FlashPeriod2 = binaryReader.ReadSingle(); this.FlashDelay2 = binaryReader.ReadSingle(); this.NumberOfFlashes2 = binaryReader.ReadInt16(); this.HudGlobalsHudGlobalsFlashFlags2 = ((HudGlobalsFlashFlags2)(binaryReader.ReadInt16())); this.FlashLength2 = binaryReader.ReadSingle(); this.DisabledColor2 = binaryReader.ReadColourA1R1G1B1(); this.fieldpad12 = binaryReader.ReadBytes(4); this.fieldpad13 = binaryReader.ReadBytes(40); this.CarnageReportBitmap = binaryReader.ReadTagReference(); this.LoadingBeginText = binaryReader.ReadInt16(); this.LoadingEndText = binaryReader.ReadInt16(); this.CheckpointBeginText = binaryReader.ReadInt16(); this.CheckpointEndText = binaryReader.ReadInt16(); this.CheckpointSound = binaryReader.ReadTagReference(); this.fieldpad14 = binaryReader.ReadBytes(96); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.NewGlobals.ReadFields(binaryReader))); return(pointerQueue); }