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); }
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); }
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.PowerupType = ((PowerupTypeEnum)(binaryReader.ReadInt16())); this.GrenadeType = ((GrenadeTypeEnum)(binaryReader.ReadInt16())); this.PowerupTime = binaryReader.ReadSingle(); this.PickupSound = binaryReader.ReadTagReference(); 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.UnitUnitFlags = ((UnitFlags)(binaryReader.ReadInt32())); this.DefaultTeam = ((DefaultTeamEnum)(binaryReader.ReadInt16())); this.ConstantSoundVolume = ((ConstantSoundVolumeEnum)(binaryReader.ReadInt16())); this.IntegratedLightToggle = binaryReader.ReadTagReference(); this.CameraFieldOfView = binaryReader.ReadSingle(); this.CameraStiffness = binaryReader.ReadSingle(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.UnitCamera.ReadFields(binaryReader))); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Acceleration.ReadFields(binaryReader))); this.SoftPingThreshold = binaryReader.ReadSingle(); this.SoftPingInterruptTime = binaryReader.ReadSingle(); this.HardPingThreshold = binaryReader.ReadSingle(); this.HardPingInterruptTime = binaryReader.ReadSingle(); this.HardDeathThreshold = binaryReader.ReadSingle(); this.FeignDeathThreshold = binaryReader.ReadSingle(); this.FeignDeathTime = binaryReader.ReadSingle(); this.DistanceOfEvadeAnim = binaryReader.ReadSingle(); this.DistanceOfDiveAnim = binaryReader.ReadSingle(); this.StunnedMovementThreshold = binaryReader.ReadSingle(); this.FeignDeathChance = binaryReader.ReadSingle(); this.FeignRepeatChance = binaryReader.ReadSingle(); this.SpawnedTurretCharacter = binaryReader.ReadTagReference(); this.SpawnedActorCount = binaryReader.ReadInt32(); this.SpawnedVelocity = binaryReader.ReadSingle(); this.AimingVelocityMaximum = binaryReader.ReadSingle(); this.AimingAccelerationMaximum = binaryReader.ReadSingle(); this.CasualAimingModifier = binaryReader.ReadSingle(); this.LookingVelocityMaximum = binaryReader.ReadSingle(); this.LookingAccelerationMaximum = binaryReader.ReadSingle(); this.RightHandNode = binaryReader.ReadStringID(); this.LeftHandNode = binaryReader.ReadStringID(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.MoreDamnNodes.ReadFields(binaryReader))); this.MeleeDamage = binaryReader.ReadTagReference(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.YourMomma.ReadFields(binaryReader))); this.MotionSensorBlipSize = ((MotionSensorBlipSizeEnum)(binaryReader.ReadInt16())); this.fieldpad3 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(12)); this.GrenadeVelocity = binaryReader.ReadSingle(); this.GrenadeType = ((GrenadeTypeEnum)(binaryReader.ReadInt16())); this.GrenadeCount = binaryReader.ReadInt16(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(176)); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Boost.ReadFields(binaryReader))); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Lipsync.ReadFields(binaryReader))); 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.CharacterGrenadesGrenadesFlags = ((GrenadesFlags)(binaryReader.ReadInt32())); this.GrenadeType = ((GrenadeTypeEnum)(binaryReader.ReadInt16())); this.TrajectoryType = ((TrajectoryTypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.MinimumEnemyCount = binaryReader.ReadInt16(); this.EnemyRadius = binaryReader.ReadSingle(); this.GrenadeIdealVelocity = binaryReader.ReadSingle(); this.GrenadeVelocity = binaryReader.ReadSingle(); this.GrenadeRanges = binaryReader.ReadRange(); this.CollateralDamageRadius = binaryReader.ReadSingle(); this.GrenadeChance = binaryReader.ReadSingle(); this.GrenadeThrowDelay = binaryReader.ReadSingle(); this.GrenadeUncoverChance = binaryReader.ReadSingle(); this.AntivehicleGrenadeChance = binaryReader.ReadSingle(); this.GrenadeCount = binaryReader.ReadInt32(); this.DontDropGrenadesChance = binaryReader.ReadSingle(); return(pointerQueue); }