/// <summary> /// Reads the data-block from a stream. /// </summary> public override void Read(ResourceDataReader reader, params object[] parameters) { base.Read(reader, parameters); // read structure data this.BridgeSimGfxPointer = reader.ReadUInt64(); this.MorphControllerPointer = reader.ReadUInt64(); this.VerletCloth1Pointer = reader.ReadUInt64(); this.VerletCloth2Pointer = reader.ReadUInt64(); this.VerletCloth3Pointer = reader.ReadUInt64(); this.Unknown_38h = reader.ReadUInt64(); this.Unknown_40h = reader.ReadUInt64(); this.Unknown_48h = reader.ReadUInt64(); this.Type = reader.ReadUInt32(); this.Unknown_54h = reader.ReadUInt32(); this.Name = reader.ReadBlock <string32_r>(); this.Unknown_78h = reader.ReadUInt64(); // read reference data this.BridgeSimGfx = reader.ReadBlockAt <ClothBridgeSimGfx>( this.BridgeSimGfxPointer // offset ); this.MorphController = reader.ReadBlockAt <MorphController>( this.MorphControllerPointer // offset ); this.VerletCloth1 = reader.ReadBlockAt <VerletCloth>( this.VerletCloth1Pointer // offset ); this.VerletCloth2 = reader.ReadBlockAt <VerletCloth>( this.VerletCloth2Pointer // offset ); this.VerletCloth3 = reader.ReadBlockAt <VerletCloth>( this.VerletCloth3Pointer // offset ); }
public uint Unknown_54h; // 0x00000000 /// <summary> /// Reads the data-block from a stream. /// </summary> public override void Read(ResourceDataReader reader, params object[] parameters) { // read structure data this.Unknown_0h = reader.ReadBlock <string32_r>(); this.Unknown_20h = reader.ReadUInt64(); this.Unknown_28h = reader.ReadUInt64(); this.Unknown_30h = reader.ReadUInt64(); this.Unknown_38h = reader.ReadUInt64(); this.Unknown_40h = reader.ReadBlock <SimpleList64 <uint> >(); this.Unknown_50h = reader.ReadUInt32(); this.Unknown_54h = reader.ReadUInt32(); }
public float Unknown_ACh; // 0x00000000 /// <summary> /// Reads the data-block from a stream. /// </summary> public override void Read(ResourceDataReader reader, params object[] parameters) { // read structure data this.Unknown_0h = reader.ReadUInt32(); this.Unknown_4h = reader.ReadUInt32(); this.Unknown_8h = reader.ReadUInt32(); this.Unknown_Ch = reader.ReadUInt32(); this.Strength = reader.ReadSingle(); this.ForceTransmissionScaleUp = reader.ReadSingle(); this.ForceTransmissionScaleDown = reader.ReadSingle(); this.JointStiffness = reader.ReadSingle(); this.MinSoftAngle1 = reader.ReadSingle(); this.MaxSoftAngle1 = reader.ReadSingle(); this.MaxSoftAngle2 = reader.ReadSingle(); this.MaxSoftAngle3 = reader.ReadSingle(); this.RotationSpeed = reader.ReadSingle(); this.RotationStrength = reader.ReadSingle(); this.RestoringStrength = reader.ReadSingle(); this.RestoringMaxTorque = reader.ReadSingle(); this.LatchStrength = reader.ReadSingle(); this.Mass = reader.ReadSingle(); this.Unknown_48h = reader.ReadSingle(); this.Unknown_4Ch = reader.ReadByte(); this.ParentIndex = reader.ReadByte(); this.Index = reader.ReadByte(); this.Unknown_4Fh = reader.ReadByte(); this.Unknown_50h = reader.ReadByte(); this.Unknown_51h = reader.ReadByte(); this.GroupFlags = (FragTypeGroupFlags)reader.ReadUInt16(); this.MinDamageForce = reader.ReadSingle(); this.DamageHealth = reader.ReadSingle(); this.Unknown_5Ch = reader.ReadSingle(); this.Unknown_60h = reader.ReadSingle(); this.Unknown_64h = reader.ReadSingle(); this.Unknown_68h = reader.ReadSingle(); this.Unknown_6Ch = reader.ReadSingle(); this.Unknown_70h = reader.ReadSingle(); this.Unknown_74h = reader.ReadSingle(); this.Unknown_78h = reader.ReadSingle(); this.Unknown_7Ch = reader.ReadSingle(); this.Name = reader.ReadBlock <string32_r>(); this.Unknown_A0h = reader.ReadSingle(); this.Unknown_A4h = reader.ReadSingle(); this.Unknown_A8h = reader.ReadSingle(); this.Unknown_ACh = reader.ReadSingle(); }