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);
 }
Exemple #3
0
 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);
 }
Exemple #4
0
 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.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.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);
 }
 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);
 }
Exemple #8
0
 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);
 }