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.PoweredMassPoint = binaryReader.ReadShortBlockIndex1(); this.ModelNode = binaryReader.ReadInt16(); this.MassPointFlags = ((Flags)(binaryReader.ReadInt32())); this.RelativeMass = binaryReader.ReadSingle(); this.Mass = binaryReader.ReadSingle(); this.RelativeDensity = binaryReader.ReadSingle(); this.Density = binaryReader.ReadSingle(); this.Position = binaryReader.ReadVector3(); this.Forward = binaryReader.ReadVector3(); this.Up = binaryReader.ReadVector3(); this.FrictionType = ((FrictionTypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.FrictionParallelScale = binaryReader.ReadSingle(); this.FrictionPerpendicularScale = binaryReader.ReadSingle(); this.Radius = binaryReader.ReadSingle(); this.fieldpad0 = binaryReader.ReadBytes(20); 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.MarkerName = binaryReader.ReadStringID(); this.FrictionPointDefinitionFlags = ((Flags)(binaryReader.ReadInt32())); this.FractionOfTotalMass = binaryReader.ReadSingle(); this.Radius = binaryReader.ReadSingle(); this.DamagedRadius = binaryReader.ReadSingle(); this.FrictionType = ((FrictionTypeEnum)(binaryReader.ReadInt16())); this.fieldpad = binaryReader.ReadBytes(2); this.MovingFrictionVelocityDiff = binaryReader.ReadSingle(); this.EbrakeMovingFriction = binaryReader.ReadSingle(); this.EbrakeFriction = binaryReader.ReadSingle(); this.EbrakeMovingFrictionVelDiff = binaryReader.ReadSingle(); this.fieldpad0 = binaryReader.ReadBytes(20); this.CollisionGlobalMaterialName = binaryReader.ReadStringID(); this.fieldpad1 = binaryReader.ReadBytes(2); this.ModelStateDestroyed = ((ModelStateDestroyedEnum)(binaryReader.ReadInt16())); this.RegionName = binaryReader.ReadStringID(); this.fieldpad2 = binaryReader.ReadBytes(4); return(pointerQueue); }