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.FalloffAngle = binaryReader.ReadSingle(); this.CutoffAngle = binaryReader.ReadSingle(); this.fieldskip = binaryReader.ReadBytes(4); this.fieldskip0 = binaryReader.ReadBytes(4); this.OcclusionRadius = binaryReader.ReadSingle(); this.OcclusionOffsetDirection = ((OcclusionOffsetDirectionEnum)(binaryReader.ReadInt16())); this.OcclusionInnerRadiusScale = ((OcclusionInnerRadiusScaleEnum)(binaryReader.ReadInt16())); this.NearFadeDistance = binaryReader.ReadSingle(); this.FarFadeDistance = binaryReader.ReadSingle(); this.Bitmap = binaryReader.ReadTagReference(); this.LensFlareFlags = ((Flags)(binaryReader.ReadInt16())); this.fieldskip1 = binaryReader.ReadBytes(2); this.RotationFunction = ((RotationFunctionEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.RotationFunctionScale = binaryReader.ReadSingle(); this.CoronaScale = binaryReader.ReadVector2(); this.FalloffFunction = ((FalloffFunctionEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(48)); this.LensFlareLensFlareFlags0 = ((LensFlareFlags0)(binaryReader.ReadInt16())); this.fieldpad1 = binaryReader.ReadBytes(2); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); 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); }
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.LightFlags = ((Flags)(binaryReader.ReadInt32())); this.Type = ((TypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.SizeModifer = binaryReader.ReadRange(); this.ShadowQualityBias = binaryReader.ReadSingle(); this.ShadowTapBias = ((ShadowTapBiasEnum)(binaryReader.ReadInt16())); this.fieldpad0 = binaryReader.ReadBytes(2); this.Radius = binaryReader.ReadSingle(); this.SpecularRadius = binaryReader.ReadSingle(); this.NearWidth = binaryReader.ReadSingle(); this.HeightStretch = binaryReader.ReadSingle(); this.FieldOfView = binaryReader.ReadSingle(); this.FalloffDistance = binaryReader.ReadSingle(); this.CutoffDistance = binaryReader.ReadSingle(); this.LightInterpolationFlags = ((InterpolationFlags)(binaryReader.ReadInt32())); this.BloomBounds = binaryReader.ReadRange(); this.SpecularLowerBound = binaryReader.ReadColorR8G8B8(); this.SpecularUpperBound = binaryReader.ReadColorR8G8B8(); this.DiffuseLowerBound = binaryReader.ReadColorR8G8B8(); this.DiffuseUpperBound = binaryReader.ReadColorR8G8B8(); this.BrightnessBounds = binaryReader.ReadRange(); this.GelMap = binaryReader.ReadTagReference(); this.SpecularMask = ((SpecularMaskEnum)(binaryReader.ReadInt16())); this.fieldpad1 = binaryReader.ReadBytes(2); this.fieldpad2 = binaryReader.ReadBytes(4); this.FalloffFunction = ((FalloffFunctionEnum)(binaryReader.ReadInt16())); this.DiffuseContrast = ((DiffuseContrastEnum)(binaryReader.ReadInt16())); this.SpecularContrast = ((SpecularContrastEnum)(binaryReader.ReadInt16())); this.FalloffGeometry = ((FalloffGeometryEnum)(binaryReader.ReadInt16())); this.LensFlare = binaryReader.ReadTagReference(); this.BoundingRadius = binaryReader.ReadSingle(); this.LightVolume = binaryReader.ReadTagReference(); this.DefaultLightmapSetting = ((DefaultLightmapSettingEnum)(binaryReader.ReadInt16())); this.fieldpad3 = binaryReader.ReadBytes(2); this.LightmapHalfLife = binaryReader.ReadSingle(); this.LightmapLightScale = binaryReader.ReadSingle(); this.Duration = binaryReader.ReadSingle(); this.fieldpad4 = binaryReader.ReadBytes(2); this.LightLightFalloffFunction = ((LightFalloffFunctionEnum)(binaryReader.ReadInt16())); this.IlluminationFade = ((IlluminationFadeEnum)(binaryReader.ReadInt16())); this.ShadowFade = ((ShadowFadeEnum)(binaryReader.ReadInt16())); this.SpecularFade = ((SpecularFadeEnum)(binaryReader.ReadInt16())); this.fieldpad5 = binaryReader.ReadBytes(2); this.LightLightFlags0 = ((LightFlags0)(binaryReader.ReadInt32())); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(8)); pointerQueue.Enqueue(binaryReader.ReadBlamPointer(16)); this.Shader = binaryReader.ReadTagReference(); return(pointerQueue); }