コード例 #1
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.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);
 }
コード例 #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.Name                   = binaryReader.ReadStringID();
     pointerQueue                = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.HudWidgetInputsStruct.ReadFields(binaryReader)));
     pointerQueue                = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.HudWidgetStateDefinitionStruct.ReadFields(binaryReader)));
     this.Anchor                 = ((AnchorEnum)(binaryReader.ReadInt16()));
     this.HudTextWidgetsFlags    = ((Flags)(binaryReader.ReadInt16()));
     this.Shader                 = binaryReader.ReadTagReference();
     this.String                 = binaryReader.ReadStringID();
     this.Justification          = ((JustificationEnum)(binaryReader.ReadInt16()));
     this.fieldpad               = binaryReader.ReadBytes(2);
     this.FullscreenFontIndex    = ((FullscreenFontIndexEnum)(binaryReader.ReadByte()));
     this.HalfscreenFontIndex    = ((HalfscreenFontIndexEnum)(binaryReader.ReadByte()));
     this.QuarterscreenFontIndex = ((QuarterscreenFontIndexEnum)(binaryReader.ReadByte()));
     this.fieldpad0              = binaryReader.ReadBytes(1);
     this.FullscreenScale        = binaryReader.ReadSingle();
     this.HalfscreenScale        = binaryReader.ReadSingle();
     this.QuarterscreenScale     = binaryReader.ReadSingle();
     this.FullscreenOffset       = binaryReader.ReadPoint();
     this.HalfscreenOffset       = binaryReader.ReadPoint();
     this.QuarterscreenOffset    = binaryReader.ReadPoint();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(104));
     return(pointerQueue);
 }
コード例 #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.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);
 }
コード例 #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.Signature           = binaryReader.ReadTagClass();
     this.Width               = binaryReader.ReadInt16();
     this.Height              = binaryReader.ReadInt16();
     this.Depth               = binaryReader.ReadByte();
     this.BitmapDataMoreFlags = ((MoreFlags)(binaryReader.ReadByte()));
     this.Type                  = ((TypeEnum)(binaryReader.ReadInt16()));
     this.Format                = ((FormatEnum)(binaryReader.ReadInt16()));
     this.BitmapDataFlags       = ((Flags)(binaryReader.ReadInt16()));
     this.RegistrationPoint     = binaryReader.ReadPoint();
     this.MipmapCount           = binaryReader.ReadInt16();
     this.LowDetailMipmapCount  = binaryReader.ReadInt16();
     this.PixelsOffset          = binaryReader.ReadInt32();
     this.LOD1TextureDataOffset = binaryReader.ReadInt32();
     this.LOD2TextureDataOffset = binaryReader.ReadInt32();
     this.LOD3TextureDataOffset = binaryReader.ReadInt32();
     this.fieldskip             = binaryReader.ReadBytes(12);
     this.LOD1TextureDataLength = binaryReader.ReadInt32();
     this.LOD2TextureDataLength = binaryReader.ReadInt32();
     this.LOD3TextureDataLength = binaryReader.ReadInt32();
     this.fieldskip0            = binaryReader.ReadBytes(52);
     return(pointerQueue);
 }
コード例 #5
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();
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.HudWidgetInputsStruct.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.HudWidgetStateDefinitionStruct.ReadFields(binaryReader)));
     this.Anchor  = ((AnchorEnum)(binaryReader.ReadInt16()));
     this.HudBitmapWidgetsFlags = ((Flags)(binaryReader.ReadInt16()));
     this.Bitmap = binaryReader.ReadTagReference();
     this.Shader = binaryReader.ReadTagReference();
     this.FullscreenSequenceIndex    = binaryReader.ReadByte();
     this.HalfscreenSequenceIndex    = binaryReader.ReadByte();
     this.QuarterscreenSequenceIndex = binaryReader.ReadByte();
     this.fieldpad                       = binaryReader.ReadBytes(1);
     this.FullscreenOffset               = binaryReader.ReadPoint();
     this.HalfscreenOffset               = binaryReader.ReadPoint();
     this.QuarterscreenOffset            = binaryReader.ReadPoint();
     this.FullscreenRegistrationPoint    = binaryReader.ReadVector2();
     this.HalfscreenRegistrationPoint    = binaryReader.ReadVector2();
     this.QuarterscreenRegistrationPoint = binaryReader.ReadVector2();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(104));
     this.SpecialHudType = ((SpecialHudTypeEnum)(binaryReader.ReadInt16()));
     this.fieldpad0      = binaryReader.ReadBytes(2);
     return(pointerQueue);
 }
コード例 #6
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.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);
 }
コード例 #7
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);
 }
コード例 #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.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);
 }
コード例 #9
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.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);
 }
コード例 #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.ListReferenceFlags = ((Flags)(binaryReader.ReadInt32()));
     this.SkinIndex          = ((SkinIndexEnum)(binaryReader.ReadInt16()));
     this.NumVisibleItems    = binaryReader.ReadInt16();
     this.BottomLeft         = binaryReader.ReadPoint();
     this.AnimationIndex     = ((AnimationIndexEnum)(binaryReader.ReadInt16()));
     this.IntroAnimationDelayMilliseconds = binaryReader.ReadInt16();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(20));
     return(pointerQueue);
 }
コード例 #11
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.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);
 }
コード例 #12
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.TableViewListItemReferenceTextFlags = ((TextFlags)(binaryReader.ReadInt32()));
     this.CellWidth       = binaryReader.ReadInt16();
     this.fieldpad        = binaryReader.ReadBytes(2);
     this.BitmapTopleft   = binaryReader.ReadPoint();
     this.BitmapTag       = binaryReader.ReadTagReference();
     this.StringId        = binaryReader.ReadStringID();
     this.RenderDepthBias = binaryReader.ReadInt16();
     this.fieldpad0       = binaryReader.ReadBytes(2);
     return(pointerQueue);
 }
コード例 #13
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.TableViewListReferenceFlags = ((Flags)(binaryReader.ReadInt32()));
     this.AnimationIndex = ((AnimationIndexEnum)(binaryReader.ReadInt16()));
     this.IntroAnimationDelayMilliseconds = binaryReader.ReadInt16();
     this.CustomFont = ((CustomFontEnum)(binaryReader.ReadInt16()));
     this.fieldpad   = binaryReader.ReadBytes(2);
     this.TextColor  = binaryReader.ReadVector4();
     this.Topleft    = binaryReader.ReadPoint();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16));
     return(pointerQueue);
 }
コード例 #14
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.fieldpad           = binaryReader.ReadBytes(4);
     this.Skin               = binaryReader.ReadTagReference();
     this.Bottomleft         = binaryReader.ReadPoint();
     this.TableOrder         = ((TableOrderEnum)(binaryReader.ReadByte()));
     this.MaximumPlayerCount = binaryReader.ReadByte();
     this.RowCount           = binaryReader.ReadByte();
     this.ColumnCount        = binaryReader.ReadByte();
     this.RowHeight          = binaryReader.ReadInt16();
     this.ColumnWidth        = 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.UserInterfaceListSkinDefinitionListFlags = ((ListFlags)(binaryReader.ReadInt32()));
     this.ArrowsBitmap     = binaryReader.ReadTagReference();
     this.UparrowsOffset   = binaryReader.ReadPoint();
     this.DownarrowsOffset = binaryReader.ReadPoint();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(44));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(56));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(36));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(24));
     return(pointerQueue);
 }
コード例 #16
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.ButtonWidgetReferenceTextFlags = ((TextFlags)(binaryReader.ReadInt32()));
     this.AnimationIndex = ((AnimationIndexEnum)(binaryReader.ReadInt16()));
     this.IntroAnimationDelayMilliseconds = binaryReader.ReadInt16();
     this.fieldpad                         = binaryReader.ReadBytes(2);
     this.CustomFont                       = ((CustomFontEnum)(binaryReader.ReadInt16()));
     this.TextColor                        = binaryReader.ReadVector4();
     this.Bounds                           = binaryReader.ReadVector2();
     this.Bitmap                           = binaryReader.ReadTagReference();
     this.BitmapOffset                     = binaryReader.ReadPoint();
     this.StringId                         = binaryReader.ReadStringID();
     this.RenderDepthBias                  = binaryReader.ReadInt16();
     this.MouseRegionTopOffset             = binaryReader.ReadInt16();
     this.ButtonWidgetReferenceButtonFlags = ((ButtonFlags)(binaryReader.ReadInt32()));
     return(pointerQueue);
 }
コード例 #17
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();
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.HudWidgetInputsStruct.ReadFields(binaryReader)));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.HudWidgetStateDefinitionStruct.ReadFields(binaryReader)));
     this.Anchor  = ((AnchorEnum)(binaryReader.ReadInt16()));
     this.HudScreenEffectWidgetsFlags = ((Flags)(binaryReader.ReadInt16()));
     this.Bitmap = binaryReader.ReadTagReference();
     this.FullscreenScreenEffect = binaryReader.ReadTagReference();
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Waa.ReadFields(binaryReader)));
     this.FullscreenSequenceIndex    = binaryReader.ReadByte();
     this.HalfscreenSequenceIndex    = binaryReader.ReadByte();
     this.QuarterscreenSequenceIndex = binaryReader.ReadByte();
     this.fieldpad            = binaryReader.ReadBytes(1);
     this.FullscreenOffset    = binaryReader.ReadPoint();
     this.HalfscreenOffset    = binaryReader.ReadPoint();
     this.QuarterscreenOffset = binaryReader.ReadPoint();
     return(pointerQueue);
 }
コード例 #18
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.BitmapReferenceFlags            = ((Flags)(binaryReader.ReadInt32()));
     this.AnimationIndex                  = ((AnimationIndexEnum)(binaryReader.ReadInt16()));
     this.IntroAnimationDelayMilliseconds = binaryReader.ReadInt16();
     this.BitmapBlendMethod               = ((BitmapBlendMethodEnum)(binaryReader.ReadInt16()));
     this.InitialSpriteFrame              = binaryReader.ReadInt16();
     this.Topleft = binaryReader.ReadPoint();
     this.HorizTextureWrapssecond = binaryReader.ReadSingle();
     this.VertTextureWrapssecond  = binaryReader.ReadSingle();
     this.BitmapTag               = binaryReader.ReadTagReference();
     this.RenderDepthBias         = binaryReader.ReadInt16();
     this.fieldpad                = binaryReader.ReadBytes(2);
     this.SpriteAnimationSpeedFps = binaryReader.ReadSingle();
     this.ProgressBottomleft      = binaryReader.ReadPoint();
     this.StringIdentifier        = binaryReader.ReadStringID();
     this.ProgressScale           = binaryReader.ReadVector2();
     return(pointerQueue);
 }
コード例 #19
0
 internal BitmapDataBlockBase(BinaryReader binaryReader)
 {
     this.signature             = binaryReader.ReadTagClass();
     this.widthPixels           = binaryReader.ReadInt16();
     this.heightPixels          = binaryReader.ReadInt16();
     this.depthPixels           = binaryReader.ReadByte();
     this.moreFlags             = (MoreFlags)binaryReader.ReadByte();
     this.type                  = (TypeDeterminesBitmapGeometry)binaryReader.ReadInt16();
     this.format                = (FormatDeterminesHowPixelsAreRepresentedInternally)binaryReader.ReadInt16();
     this.flags                 = (Flags)binaryReader.ReadInt16();
     this.registrationPoint     = binaryReader.ReadPoint();
     this.mipmapCount           = binaryReader.ReadInt16();
     this.lowDetailMipmapCount  = binaryReader.ReadInt16();
     this.pixelsOffset          = binaryReader.ReadInt32();
     this.lOD1TextureDataOffset = binaryReader.ReadInt32();
     this.lOD2TextureDataOffset = binaryReader.ReadInt32();
     this.lOD3TextureDataOffset = binaryReader.ReadInt32();
     this.invalidName_          = binaryReader.ReadBytes(12);
     this.lOD1TextureDataLength = binaryReader.ReadInt32();
     this.lOD2TextureDataLength = binaryReader.ReadInt32();
     this.lOD3TextureDataLength = binaryReader.ReadInt32();
     this.invalidName_0         = binaryReader.ReadBytes(52);
 }
コード例 #20
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.Coordinates = binaryReader.ReadPoint();
     return(pointerQueue);
 }
コード例 #21
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);
 }
コード例 #22
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.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);
 }
コード例 #23
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.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);
 }