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);
 }
Exemplo n.º 2
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.ShaderStateMiscStateFlags = ((Flags)(binaryReader.ReadInt16()));
     this.fieldpad = binaryReader.ReadBytes(2);
     this.FogColor = binaryReader.ReadColourR1G1B1();
     return(pointerQueue);
 }
Exemplo n.º 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.Position  = binaryReader.ReadVector3();
     this.Texcoord0 = binaryReader.ReadVector2();
     this.Texcoord1 = binaryReader.ReadVector2();
     this.Color     = binaryReader.ReadColourR1G1B1();
     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.Positionx = binaryReader.ReadSingle();
     this.Positiony = binaryReader.ReadSingle();
     this.Positionz = binaryReader.ReadSingle();
     this.Size      = binaryReader.ReadSingle();
     this.Color     = binaryReader.ReadColourR1G1B1();
     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.InternalData1             = binaryReader.ReadInt32();
     this.CompressedPosition        = binaryReader.ReadInt32();
     this.TintColor                 = binaryReader.ReadColourR1G1B1();
     this.LightmapColor             = binaryReader.ReadColourR1G1B1();
     this.CompressedLightDirection  = binaryReader.ReadInt32();
     this.CompressedLight2Direction = binaryReader.ReadInt32();
     return(pointerQueue);
 }
Exemplo n.º 7
0
        public static ColourR1G1B1 ReadColourR1G1B1(this BinaryReader binaryReader)
        {
            var color = new ColourR1G1B1
            {
                R = binaryReader.ReadByte( ),
                G = binaryReader.ReadByte( ),
                B = binaryReader.ReadByte( )
            };

            return(color);
        }
 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.VariantName = binaryReader.ReadStringID();
     this.ScenarioObjectPermutationStructActiveChangeColors = ((ActiveChangeColors)(binaryReader.ReadInt32()));
     this.PrimaryColor    = binaryReader.ReadColourR1G1B1();
     this.SecondaryColor  = binaryReader.ReadColourR1G1B1();
     this.TertiaryColor   = binaryReader.ReadColourR1G1B1();
     this.QuaternaryColor = binaryReader.ReadColourR1G1B1();
     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.ReadStringID();
     this.TextBounds         = binaryReader.ReadVector2();
     this.Justification      = ((JustificationEnum)(binaryReader.ReadInt16()));
     this.Font               = ((FontEnum)(binaryReader.ReadInt16()));
     this.TextColor          = binaryReader.ReadColourR1G1B1();
     this.ShadowColor        = binaryReader.ReadColourR1G1B1();
     this.FadeInTimeseconds  = binaryReader.ReadSingle();
     this.UpTimeseconds      = binaryReader.ReadSingle();
     this.FadeOutTimeseconds = binaryReader.ReadSingle();
     this.padding            = binaryReader.ReadBytes(2);
     return(pointerQueue);
 }
Exemplo n.º 10
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.Name     = binaryReader.ReadStringID();
     this.Shader   = binaryReader.ReadByteBlockIndex1();
     this.fieldpad = binaryReader.ReadBytes(3);
     this.DecoratorPermutationsFlags = ((Flags)(binaryReader.ReadByte()));
     this.FadeDistance           = ((FadeDistanceEnum)(binaryReader.ReadByte()));
     this.Index                  = binaryReader.ReadByte();
     this.DistributionWeight     = binaryReader.ReadByte();
     this.Scale                  = binaryReader.ReadRange();
     this.Tint1                  = binaryReader.ReadColourR1G1B1();
     this.fieldpad0              = binaryReader.ReadBytes(1);
     this.Tint2                  = binaryReader.ReadColourR1G1B1();
     this.fieldpad1              = binaryReader.ReadBytes(1);
     this.BaseMapTintPercentage  = binaryReader.ReadSingle();
     this.LightmapTintPercentage = binaryReader.ReadSingle();
     this.WindScale              = binaryReader.ReadSingle();
     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);
 }
Exemplo n.º 12
0
 public static void Write(this BinaryWriter binaryWriter, ColourR1G1B1 value)
 {
     binaryWriter.Write(value.R);
     binaryWriter.Write(value.G);
     binaryWriter.Write(value.B);
 }