コード例 #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.ItemItemFlags            = ((ItemFlags)(binaryReader.ReadInt32()));
     this.OLDMessageIndex          = binaryReader.ReadInt16();
     this.SortOrder                = binaryReader.ReadInt16();
     this.MultiplayerOngroundScale = binaryReader.ReadSingle();
     this.CampaignOngroundScale    = binaryReader.ReadSingle();
     this.PickupMessage            = binaryReader.ReadStringID();
     this.SwapMessage              = binaryReader.ReadStringID();
     this.PickupOrDualMsg          = binaryReader.ReadStringID();
     this.SwapOrDualMsg            = binaryReader.ReadStringID();
     this.DualonlyMsg              = binaryReader.ReadStringID();
     this.PickedUpMsg              = binaryReader.ReadStringID();
     this.SingluarQuantityMsg      = binaryReader.ReadStringID();
     this.PluralQuantityMsg        = binaryReader.ReadStringID();
     this.SwitchtoMsg              = binaryReader.ReadStringID();
     this.SwitchtoFromAiMsg        = binaryReader.ReadStringID();
     this.UNUSED         = binaryReader.ReadTagReference();
     this.CollisionSound = binaryReader.ReadTagReference();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8));
     this.DetonationDamageEffect = binaryReader.ReadTagReference();
     this.DetonationDelay        = binaryReader.ReadRange();
     this.DetonatingEffect       = binaryReader.ReadTagReference();
     this.DetonationEffect       = binaryReader.ReadTagReference();
     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.MaximumRandomSpawnBias   = binaryReader.ReadSingle();
     this.TeleporterRechargeTime   = binaryReader.ReadSingle();
     this.GrenadeDangerWeight      = binaryReader.ReadSingle();
     this.GrenadeDangerInnerRadius = binaryReader.ReadSingle();
     this.GrenadeDangerOuterRadius = binaryReader.ReadSingle();
     this.GrenadeDangerLeadTime    = binaryReader.ReadSingle();
     this.VehicleDangerMinSpeed    = binaryReader.ReadSingle();
     this.VehicleDangerWeight      = binaryReader.ReadSingle();
     this.VehicleDangerRadius      = binaryReader.ReadSingle();
     this.VehicleDangerLeadTime    = binaryReader.ReadSingle();
     this.VehicleNearbyPlayerDist  = binaryReader.ReadSingle();
     this.fieldpad                = binaryReader.ReadBytes(84);
     this.fieldpad0               = binaryReader.ReadBytes(32);
     this.fieldpad1               = binaryReader.ReadBytes(32);
     this.HillShader              = binaryReader.ReadTagReference();
     this.fieldpad2               = binaryReader.ReadBytes(16);
     this.FlagResetStopDistance   = binaryReader.ReadSingle();
     this.BombExplodeEffect       = binaryReader.ReadTagReference();
     this.BombExplodeDmgEffect    = binaryReader.ReadTagReference();
     this.BombDefuseEffect        = binaryReader.ReadTagReference();
     this.BombDefusalString       = binaryReader.ReadStringID();
     this.BlockedTeleporterString = binaryReader.ReadStringID();
     this.fieldpad3               = binaryReader.ReadBytes(4);
     this.fieldpad4               = binaryReader.ReadBytes(32);
     this.fieldpad5               = binaryReader.ReadBytes(32);
     this.fieldpad6               = binaryReader.ReadBytes(32);
     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.Name = binaryReader.ReadStringID();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(52));
     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.PhantomTypesFlags   = ((Flags)(binaryReader.ReadInt32()));
     this.MinimumSize         = ((MinimumSizeEnum)(binaryReader.ReadByte()));
     this.MaximumSize         = ((MaximumSizeEnum)(binaryReader.ReadByte()));
     this.fieldpad            = binaryReader.ReadBytes(2);
     this.MarkerName          = binaryReader.ReadStringID();
     this.AlignmentMarkerName = binaryReader.ReadStringID();
     this.fieldpad0           = binaryReader.ReadBytes(8);
     this.HookesLawE          = binaryReader.ReadSingle();
     this.LinearDeadRadius    = binaryReader.ReadSingle();
     this.CenterAcc           = binaryReader.ReadSingle();
     this.CenterMaxVel        = binaryReader.ReadSingle();
     this.AxisAcc             = binaryReader.ReadSingle();
     this.AxisMaxVel          = binaryReader.ReadSingle();
     this.DirectionAcc        = binaryReader.ReadSingle();
     this.DirectionMaxVel     = binaryReader.ReadSingle();
     this.fieldpad1           = binaryReader.ReadBytes(28);
     this.AlignmentHookesLawE = binaryReader.ReadSingle();
     this.AlignmentAcc        = binaryReader.ReadSingle();
     this.AlignmentMaxVel     = binaryReader.ReadSingle();
     this.fieldpad2           = binaryReader.ReadBytes(8);
     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.GameEngineAssaultEventFlags = ((Flags)(binaryReader.ReadInt16()));
     this.fieldpad                         = binaryReader.ReadBytes(2);
     this.Event                            = ((EventEnum)(binaryReader.ReadInt16()));
     this.Audience                         = ((AudienceEnum)(binaryReader.ReadInt16()));
     this.fieldpad0                        = binaryReader.ReadBytes(2);
     this.fieldpad1                        = binaryReader.ReadBytes(2);
     this.DisplayString                    = binaryReader.ReadStringID();
     this.RequiredField                    = ((RequiredFieldEnum)(binaryReader.ReadInt16()));
     this.ExcludedAudience                 = ((ExcludedAudienceEnum)(binaryReader.ReadInt16()));
     this.PrimaryString                    = binaryReader.ReadStringID();
     this.PrimaryStringDuration            = binaryReader.ReadInt32();
     this.PluralDisplayString              = binaryReader.ReadStringID();
     this.fieldpad2                        = binaryReader.ReadBytes(28);
     this.SoundDelay                       = binaryReader.ReadSingle();
     this.GameEngineAssaultEventSoundFlags = ((SoundFlags)(binaryReader.ReadInt16()));
     this.fieldpad3                        = binaryReader.ReadBytes(2);
     this.Sound                            = binaryReader.ReadTagReference();
     pointerQueue                          = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.ExtraSounds.ReadFields(binaryReader)));
     this.fieldpad4                        = binaryReader.ReadBytes(4);
     this.fieldpad5                        = binaryReader.ReadBytes(16);
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(80));
     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.Name             = binaryReader.ReadStringID();
     this.RenderModelFlags = ((Flags)(binaryReader.ReadInt16()));
     this.fieldpad         = binaryReader.ReadBytes(2);
     this.fieldpad0        = binaryReader.ReadBytes(4);
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(592));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(56));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(92));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(4));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(12));
     this.L1SectionGroupIndex = binaryReader.ReadByte();
     this.L2SectionGroupIndex = binaryReader.ReadByte();
     this.L3SectionGroupIndex = binaryReader.ReadByte();
     this.L4SectionGroupIndex = binaryReader.ReadByte();
     this.L5SectionGroupIndex = binaryReader.ReadByte();
     this.L6SectionGroupIndex = binaryReader.ReadByte();
     this.fieldpad1           = binaryReader.ReadBytes(2);
     this.NodeListChecksum    = binaryReader.ReadInt32();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(96));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(1));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(12));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(32));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(676));
     this.DontDrawOverCameraCosineAngle = binaryReader.ReadSingle();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(88));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8));
     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.Bsp                  = binaryReader.ReadShortBlockIndex1();
     this.fieldpad             = binaryReader.ReadBytes(2);
     this.BoundingVolume       = binaryReader.ReadShortBlockIndex1();
     this.FlockDefinitionFlags = ((Flags)(binaryReader.ReadInt16()));
     this.EcologyMargin        = binaryReader.ReadSingle();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(28));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16));
     this.ProductionFrequency = binaryReader.ReadSingle();
     this.Scale                   = binaryReader.ReadRange();
     this.Creature                = binaryReader.ReadTagReference();
     this.BoidCount               = binaryReader.ReadInt32();
     this.NeighborhoodRadius      = binaryReader.ReadSingle();
     this.AvoidanceRadius         = binaryReader.ReadSingle();
     this.ForwardScale            = binaryReader.ReadSingle();
     this.AlignmentScale          = binaryReader.ReadSingle();
     this.AvoidanceScale          = binaryReader.ReadSingle();
     this.LevelingForceScale      = binaryReader.ReadSingle();
     this.SinkScale               = binaryReader.ReadSingle();
     this.PerceptionAngle         = binaryReader.ReadSingle();
     this.AverageThrottle         = binaryReader.ReadSingle();
     this.MaximumThrottle         = binaryReader.ReadSingle();
     this.PositionScale           = binaryReader.ReadSingle();
     this.PositionMinRadius       = binaryReader.ReadSingle();
     this.PositionMaxRadius       = binaryReader.ReadSingle();
     this.MovementWeightThreshold = binaryReader.ReadSingle();
     this.DangerRadius            = binaryReader.ReadSingle();
     this.DangerScale             = binaryReader.ReadSingle();
     this.RandomOffsetScale       = binaryReader.ReadSingle();
     this.RandomOffsetPeriod      = binaryReader.ReadRange();
     this.FlockName               = binaryReader.ReadStringID();
     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.ProjectileMaterialResponseFlags = ((Flags)(binaryReader.ReadInt16()));
     this.Response     = ((ResponseEnum)(binaryReader.ReadInt16()));
     this.DONOTUSE     = binaryReader.ReadTagReference();
     this.MaterialName = binaryReader.ReadStringID();
     this.fieldskip    = binaryReader.ReadBytes(4);
     this.ProjectileMaterialResponseProjectileMaterialResponseResponse = ((ProjectileMaterialResponseResponseEnum)(binaryReader.ReadInt16()));
     this.ProjectileMaterialResponseProjectileMaterialResponseFlags0   = ((ProjectileMaterialResponseFlags0)(binaryReader.ReadInt16()));
     this.ChanceFraction        = binaryReader.ReadSingle();
     this.Between               = binaryReader.ReadRange();
     this.And                   = binaryReader.ReadRange();
     this.DONOTUSE0             = binaryReader.ReadTagReference();
     this.ScaleEffectsBy        = ((ScaleEffectsByEnum)(binaryReader.ReadInt16()));
     this.fieldpad              = binaryReader.ReadBytes(2);
     this.AngularNoise          = binaryReader.ReadSingle();
     this.VelocityNoise         = binaryReader.ReadSingle();
     this.DONOTUSE1             = binaryReader.ReadTagReference();
     this.InitialFriction       = binaryReader.ReadSingle();
     this.MaximumDistance       = binaryReader.ReadSingle();
     this.ParallelFriction      = binaryReader.ReadSingle();
     this.PerpendicularFriction = binaryReader.ReadSingle();
     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.Name           = binaryReader.ReadStringID();
     this.Position       = binaryReader.ReadVector3();
     this.ReferenceFrame = binaryReader.ReadInt16();
     this.fieldpad       = binaryReader.ReadBytes(2);
     this.Facing         = binaryReader.ReadVector2();
     this.ActorStartingLocationsFlags = ((Flags)(binaryReader.ReadInt32()));
     this.CharacterType          = binaryReader.ReadShortBlockIndex1();
     this.InitialWeapon          = binaryReader.ReadShortBlockIndex1();
     this.InitialSecondaryWeapon = binaryReader.ReadShortBlockIndex1();
     this.fieldpad0               = binaryReader.ReadBytes(2);
     this.VehicleType             = binaryReader.ReadShortBlockIndex1();
     this.SeatType                = ((SeatTypeEnum)(binaryReader.ReadInt16()));
     this.GrenadeType             = ((GrenadeTypeEnum)(binaryReader.ReadInt16()));
     this.SwarmCount              = binaryReader.ReadInt16();
     this.ActorVariantName        = binaryReader.ReadStringID();
     this.VehicleVariantName      = binaryReader.ReadStringID();
     this.InitialMovementDistance = binaryReader.ReadSingle();
     this.EmitterVehicle          = binaryReader.ReadShortBlockIndex1();
     this.InitialMovementMode     = ((InitialMovementModeEnum)(binaryReader.ReadInt16()));
     this.PlacementScript         = binaryReader.ReadString32();
     this.fieldskip               = binaryReader.ReadBytes(2);
     this.fieldpad1               = binaryReader.ReadBytes(2);
     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.Name                          = binaryReader.ReadStringID();
     this.NodeListChecksum              = binaryReader.ReadInt32();
     this.ProductionChecksum            = binaryReader.ReadInt32();
     this.ImportChecksum                = binaryReader.ReadInt32();
     this.Type                          = ((TypeEnum)(binaryReader.ReadByte()));
     this.FrameInfoType                 = ((FrameInfoTypeEnum)(binaryReader.ReadByte()));
     this.BlendScreen                   = binaryReader.ReadByteBlockIndex1();
     this.NodeCount                     = binaryReader.ReadByte();
     this.FrameCount                    = binaryReader.ReadInt16();
     this.AnimationPoolInternalFlags    = ((InternalFlags)(binaryReader.ReadByte()));
     this.AnimationPoolProductionFlags  = ((ProductionFlags)(binaryReader.ReadByte()));
     this.AnimationPoolPlaybackFlags    = ((PlaybackFlags)(binaryReader.ReadInt16()));
     this.DesiredCompression            = ((DesiredCompressionEnum)(binaryReader.ReadByte()));
     this.CurrentCompression            = ((CurrentCompressionEnum)(binaryReader.ReadByte()));
     this.Weight                        = binaryReader.ReadSingle();
     this.ParentGraphIndex              = binaryReader.ReadInt32();
     this.ParentGraphBlockIndex         = binaryReader.ReadInt32();
     this.ParentGraphBlockOffset        = binaryReader.ReadInt32();
     this.ParentGraphStartingPointIndex = binaryReader.ReadInt16();
     this.LoopFrameIndex                = binaryReader.ReadInt16();
     this.ParentAnimation               = binaryReader.ReadShortBlockIndex1();
     this.NextAnimation                 = binaryReader.ReadShortBlockIndex1();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(1));
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.DataSizes.ReadFields(binaryReader)));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(4));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(4));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(28));
     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.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);
 }
コード例 #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.UpdatesPerSecond = binaryReader.ReadInt16();
     this.fieldpad         = binaryReader.ReadBytes(2);
     this.DeadCellPenalty  = binaryReader.ReadSingle();
     this.LiveCellBonus    = binaryReader.ReadSingle();
     this.fieldpad0        = binaryReader.ReadBytes(80);
     this.Width            = binaryReader.ReadInt16();
     this.Height           = binaryReader.ReadInt16();
     this.CellWidth        = binaryReader.ReadSingle();
     this.Height0          = binaryReader.ReadSingle();
     this.Velocity         = binaryReader.ReadVector2();
     this.fieldpad1        = binaryReader.ReadBytes(28);
     this.Marker           = binaryReader.ReadStringID();
     this.CellularAutomata2dInterpolationFlags = ((InterpolationFlags)(binaryReader.ReadInt32()));
     this.BaseColor    = binaryReader.ReadColorR8G8B8();
     this.PeakColor    = binaryReader.ReadColorR8G8B8();
     this.fieldpad2    = binaryReader.ReadBytes(76);
     this.Width0       = binaryReader.ReadInt16();
     this.Height1      = binaryReader.ReadInt16();
     this.CellWidth0   = binaryReader.ReadSingle();
     this.Velocity0    = binaryReader.ReadVector2();
     this.fieldpad3    = binaryReader.ReadBytes(48);
     this.Marker0      = binaryReader.ReadStringID();
     this.TextureWidth = binaryReader.ReadInt16();
     this.fieldpad4    = binaryReader.ReadBytes(2);
     this.fieldpad5    = binaryReader.ReadBytes(48);
     this.Texture      = binaryReader.ReadTagReference();
     this.fieldpad6    = binaryReader.ReadBytes(160);
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(84));
     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.Marker         = binaryReader.ReadStringID();
     this.AttachToMarker = binaryReader.ReadStringID();
     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.Name              = binaryReader.ReadStringID();
            this.Material          = binaryReader.ReadShortBlockIndex1();
            this.MultiSpheresFlags = ((Flags)(binaryReader.ReadInt16()));
            this.RelativeMassScale = binaryReader.ReadSingle();
            this.Friction          = binaryReader.ReadSingle();
            this.Restitution       = binaryReader.ReadSingle();
            this.Volume            = binaryReader.ReadSingle();
            this.Mass              = binaryReader.ReadSingle();
            this.fieldskip         = binaryReader.ReadBytes(2);
            this.Phantom           = binaryReader.ReadShortBlockIndex1();
            this.fieldskip0        = binaryReader.ReadBytes(4);
            this.Size              = binaryReader.ReadInt16();
            this.Count             = binaryReader.ReadInt16();
            this.fieldskip1        = binaryReader.ReadBytes(4);
            this.NumSpheres        = binaryReader.ReadInt32();
            int i;

            for (i = 0; (i < 8); i = (i + 1))
            {
                this.FourVectorsStorage00[i] = new FourVectorsStorageBlock();
                pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.FourVectorsStorage00[i].ReadFields(binaryReader)));
            }
            return(pointerQueue);
        }
コード例 #15
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.Label   = binaryReader.ReadStringID();
     pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Animation.ReadFields(binaryReader)));
     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.fieldpad         = binaryReader.ReadBytes(76);
     this.FieldOldStringId = binaryReader.ReadStringID();
     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();
     this.Material          = binaryReader.ReadShortBlockIndex1();
     this.BoxesFlags        = ((Flags)(binaryReader.ReadInt16()));
     this.RelativeMassScale = binaryReader.ReadSingle();
     this.Friction          = binaryReader.ReadSingle();
     this.Restitution       = binaryReader.ReadSingle();
     this.Volume            = binaryReader.ReadSingle();
     this.Mass              = binaryReader.ReadSingle();
     this.fieldskip         = binaryReader.ReadBytes(2);
     this.Phantom           = binaryReader.ReadShortBlockIndex1();
     this.fieldskip0        = binaryReader.ReadBytes(4);
     this.Size              = binaryReader.ReadInt16();
     this.Count             = binaryReader.ReadInt16();
     this.fieldskip1        = binaryReader.ReadBytes(4);
     this.Radius            = binaryReader.ReadSingle();
     this.HalfExtents       = binaryReader.ReadVector3();
     this.fieldskip2        = binaryReader.ReadBytes(4);
     this.fieldskip3        = binaryReader.ReadBytes(4);
     this.Size0             = binaryReader.ReadInt16();
     this.Count0            = binaryReader.ReadInt16();
     this.fieldskip4        = binaryReader.ReadBytes(4);
     this.fieldskip5        = binaryReader.ReadBytes(4);
     this.RotationI         = binaryReader.ReadVector3();
     this.fieldskip6        = binaryReader.ReadBytes(4);
     this.RotationJ         = binaryReader.ReadVector3();
     this.fieldskip7        = binaryReader.ReadBytes(4);
     this.RotationK         = binaryReader.ReadVector3();
     this.fieldskip8        = binaryReader.ReadBytes(4);
     this.Translation       = binaryReader.ReadVector3();
     this.fieldskip9        = binaryReader.ReadBytes(4);
     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.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);
 }
コード例 #19
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.ReadString32();
     this.SquadsFlags            = ((Flags)(binaryReader.ReadInt32()));
     this.Team                   = ((TeamEnum)(binaryReader.ReadInt16()));
     this.Parent                 = binaryReader.ReadShortBlockIndex1();
     this.SquadDelayTime         = binaryReader.ReadSingle();
     this.NormalDiffCount        = binaryReader.ReadInt16();
     this.InsaneDiffCount        = binaryReader.ReadInt16();
     this.MajorUpgrade           = ((MajorUpgradeEnum)(binaryReader.ReadInt16()));
     this.fieldpad               = binaryReader.ReadBytes(2);
     this.VehicleType            = binaryReader.ReadShortBlockIndex1();
     this.CharacterType          = binaryReader.ReadShortBlockIndex1();
     this.InitialZone            = binaryReader.ReadShortBlockIndex1();
     this.fieldpad0              = binaryReader.ReadBytes(2);
     this.InitialWeapon          = binaryReader.ReadShortBlockIndex1();
     this.InitialSecondaryWeapon = binaryReader.ReadShortBlockIndex1();
     this.GrenadeType            = ((GrenadeTypeEnum)(binaryReader.ReadInt16()));
     this.InitialOrder           = binaryReader.ReadShortBlockIndex1();
     this.VehicleVariant         = binaryReader.ReadStringID();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(100));
     this.PlacementScript = binaryReader.ReadString32();
     this.fieldskip       = binaryReader.ReadBytes(2);
     this.fieldpad1       = binaryReader.ReadBytes(2);
     return(pointerQueue);
 }
コード例 #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.DialogueType              = ((DialogueTypeEnum)(binaryReader.ReadInt16()));
     this.VocalizationIndex         = binaryReader.ReadInt16();
     this.VocalizationName          = binaryReader.ReadStringID();
     this.SpeakerType               = ((SpeakerTypeEnum)(binaryReader.ReadInt16()));
     this.VocalizationPatternsFlags = ((Flags)(binaryReader.ReadInt16()));
     this.Listenertarget            = ((ListenertargetEnum)(binaryReader.ReadInt16()));
     this.fieldpad          = binaryReader.ReadBytes(2);
     this.fieldpad0         = binaryReader.ReadBytes(4);
     this.Hostility         = ((HostilityEnum)(binaryReader.ReadInt16()));
     this.DamageType        = ((DamageTypeEnum)(binaryReader.ReadInt16()));
     this.DangerLevel       = ((DangerLevelEnum)(binaryReader.ReadInt16()));
     this.Attitude          = ((AttitudeEnum)(binaryReader.ReadInt16()));
     this.fieldpad1         = binaryReader.ReadBytes(4);
     this.SubjectActorType  = ((SubjectActorTypeEnum)(binaryReader.ReadInt16()));
     this.CauseActorType    = ((CauseActorTypeEnum)(binaryReader.ReadInt16()));
     this.CauseType         = ((CauseTypeEnum)(binaryReader.ReadInt16()));
     this.SubjectType       = ((SubjectTypeEnum)(binaryReader.ReadInt16()));
     this.CauseAiTypeName   = binaryReader.ReadStringID();
     this.SpatialRelation   = ((SpatialRelationEnum)(binaryReader.ReadInt16()));
     this.fieldpad2         = binaryReader.ReadBytes(2);
     this.SubjectAiTypeName = binaryReader.ReadStringID();
     this.fieldpad3         = binaryReader.ReadBytes(8);
     this.VocalizationPatternsConditions = ((Conditions)(binaryReader.ReadInt32()));
     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.Vocalization                  = binaryReader.ReadStringID();
     this.ParentVocalization            = binaryReader.ReadStringID();
     this.ParentIndex                   = binaryReader.ReadInt16();
     this.Priority                      = ((PriorityEnum)(binaryReader.ReadInt16()));
     this.VocalizationDefinitions2Flags = ((Flags)(binaryReader.ReadInt32()));
     this.GlanceBehavior                = ((GlanceBehaviorEnum)(binaryReader.ReadInt16()));
     this.GlanceRecipientBehavior       = ((GlanceRecipientBehaviorEnum)(binaryReader.ReadInt16()));
     this.PerceptionType                = ((PerceptionTypeEnum)(binaryReader.ReadInt16()));
     this.MaxCombatStatus               = ((MaxCombatStatusEnum)(binaryReader.ReadInt16()));
     this.AnimationImpulse              = ((AnimationImpulseEnum)(binaryReader.ReadInt16()));
     this.OverlapPriority               = ((OverlapPriorityEnum)(binaryReader.ReadInt16()));
     this.SoundRepetitionDelay          = binaryReader.ReadSingle();
     this.AllowableQueueDelay           = binaryReader.ReadSingle();
     this.PreVocDelay                   = binaryReader.ReadSingle();
     this.NotificationDelay             = binaryReader.ReadSingle();
     this.PostVocDelay                  = binaryReader.ReadSingle();
     this.RepeatDelay                   = binaryReader.ReadSingle();
     this.Weight             = binaryReader.ReadSingle();
     this.SpeakerFreezeTime  = binaryReader.ReadSingle();
     this.ListenerFreezeTime = binaryReader.ReadSingle();
     this.SpeakerEmotion     = ((SpeakerEmotionEnum)(binaryReader.ReadInt16()));
     this.ListenerEmotion    = ((ListenerEmotionEnum)(binaryReader.ReadInt16()));
     this.PlayerSkipFraction = binaryReader.ReadSingle();
     this.SkipFraction       = binaryReader.ReadSingle();
     this.SampleLine         = binaryReader.ReadStringID();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(12));
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(96));
     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.DspEffect  = binaryReader.ReadStringID();
     pointerQueue    = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.LowFrequencySound.ReadFields(binaryReader)));
     this.TimePeriod = binaryReader.ReadSingle();
     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.ModelName  = binaryReader.ReadStringID();
     this.IndexStart = binaryReader.ReadInt16();
     this.IndexCount = binaryReader.ReadInt16();
     return(pointerQueue);
 }
コード例 #24
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.Property      = ((PropertyEnum)(binaryReader.ReadInt16()));
     this.fieldpad      = binaryReader.ReadBytes(2);
     this.ParameterName = binaryReader.ReadStringID();
     return(pointerQueue);
 }
コード例 #25
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.ParentMarker = binaryReader.ReadStringID();
     this.ChildMarker  = binaryReader.ReadStringID();
     this.ChildObject  = binaryReader.ReadTagReference();
     return(pointerQueue);
 }
コード例 #26
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.VariantDesignation = binaryReader.ReadStringID();
     this.Sound       = binaryReader.ReadTagReference();
     this.SoundEffect = binaryReader.ReadStringID();
     return(pointerQueue);
 }
コード例 #27
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.Sound      = binaryReader.ReadShortBlockIndex1();
     this.Frame      = binaryReader.ReadInt16();
     this.MarkerName = binaryReader.ReadStringID();
     return(pointerQueue);
 }
コード例 #28
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.TextValuePairReferenceFlags = ((Flags)(binaryReader.ReadInt32()));
     this.Value         = binaryReader.ReadInt32();
     this.LabelStringId = binaryReader.ReadStringID();
     return(pointerQueue);
 }
コード例 #29
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.Weight      = binaryReader.ReadSingle();
     this.Vehicle     = binaryReader.ReadTagReference();
     this.VariantName = binaryReader.ReadStringID();
     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.EffectName = binaryReader.ReadStringID();
     this.Duration   = binaryReader.ReadSingle();
     pointerQueue    = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.EffectScaleFunction.ReadFields(binaryReader)));
     return(pointerQueue);
 }