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.ScenarioFunctionFlags = ((Flags)(binaryReader.ReadInt32())); this.Name = binaryReader.ReadString32(); this.Period = binaryReader.ReadSingle(); this.ScalePeriodBy = binaryReader.ReadShortBlockIndex1(); this.Function = ((FunctionEnum)(binaryReader.ReadInt16())); this.ScaleFunctionBy = binaryReader.ReadShortBlockIndex1(); this.WobbleFunction = ((WobbleFunctionEnum)(binaryReader.ReadInt16())); this.WobblePeriod = binaryReader.ReadSingle(); this.WobbleMagnitude = binaryReader.ReadSingle(); this.SquareWaveThreshold = binaryReader.ReadSingle(); this.StepCount = binaryReader.ReadInt16(); this.MapTo = ((MapToEnum)(binaryReader.ReadInt16())); this.SawtoothCount = binaryReader.ReadInt16(); this.fieldpad = binaryReader.ReadBytes(2); this.ScaleResultBy = binaryReader.ReadShortBlockIndex1(); this.BoundsMode = ((BoundsModeEnum)(binaryReader.ReadInt16())); this.Bounds = binaryReader.ReadVector2(); this.fieldpad0 = binaryReader.ReadBytes(4); this.fieldpad1 = binaryReader.ReadBytes(2); this.TurnOffWith = binaryReader.ReadShortBlockIndex1(); this.fieldpad2 = binaryReader.ReadBytes(16); this.fieldpad3 = binaryReader.ReadBytes(16); 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.Radius = binaryReader.ReadRange(); this.CutoffScale = binaryReader.ReadSingle(); this.DamageEffectFlags = ((Flags)(binaryReader.ReadInt32())); this.SideEffect = ((SideEffectEnum)(binaryReader.ReadInt16())); this.Category = ((CategoryEnum)(binaryReader.ReadInt16())); this.DamageEffectDamageEffectFlags0 = ((DamageEffectFlags0)(binaryReader.ReadInt32())); this.AOECoreRadius = binaryReader.ReadSingle(); this.DamageLowerBound = binaryReader.ReadSingle(); this.DamageUpperBound = binaryReader.ReadRange(); this.DmgInnerConeAngle = binaryReader.ReadSingle(); pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Blah.ReadFields(binaryReader))); this.ActiveCamouflageDamage = binaryReader.ReadSingle(); this.Stun = binaryReader.ReadSingle(); this.MaximumStun = binaryReader.ReadSingle(); this.StunTime = binaryReader.ReadSingle(); this.InstantaneousAcceleration = binaryReader.ReadSingle(); this.RiderDirectDamageScale = binaryReader.ReadSingle(); this.RiderMaximumTransferDamageScale = binaryReader.ReadSingle(); this.RiderMinimumTransferDamageScale = binaryReader.ReadSingle(); this.GeneralDamage = binaryReader.ReadStringID(); this.SpecificDamage = binaryReader.ReadStringID(); this.AIStunRadius = binaryReader.ReadSingle(); this.AIStunBounds = binaryReader.ReadRange(); this.ShakeRadius = binaryReader.ReadSingle(); this.EMPRadius = binaryReader.ReadSingle(); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(76)); this.Duration = binaryReader.ReadSingle(); this.FadeFunction = ((FadeFunctionEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.Rotation = binaryReader.ReadSingle(); this.Pushback = binaryReader.ReadSingle(); this.Jitter = binaryReader.ReadRange(); this.Duration0 = binaryReader.ReadSingle(); this.FalloffFunction = ((FalloffFunctionEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.RandomTranslation = binaryReader.ReadSingle(); this.RandomRotation = binaryReader.ReadSingle(); this.WobbleFunction = ((WobbleFunctionEnum)(binaryReader.ReadInt16())); this.fieldpad1 = binaryReader.ReadBytes(2); this.WobbleFunctionPeriod = binaryReader.ReadSingle(); this.WobbleWeight = binaryReader.ReadSingle(); this.Sound = binaryReader.ReadTagReference(); this.ForwardVelocity = binaryReader.ReadSingle(); this.ForwardRadius = binaryReader.ReadSingle(); this.ForwardExponent = binaryReader.ReadSingle(); this.OutwardVelocity = binaryReader.ReadSingle(); this.OutwardRadius = binaryReader.ReadSingle(); this.OutwardExponent = binaryReader.ReadSingle(); return(pointerQueue); }