/// <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.p1 = reader.ReadUInt64(); this.p2 = reader.ReadUInt64(); this.Unknown_18h = reader.ReadUInt32(); this.Unknown_1Ch = reader.ReadUInt32(); // read reference data this.Animation = reader.ReadBlockAt <Animation>( this.p1 // offset ); this.NextEntry = reader.ReadBlockAt <AnimationEntry>( this.p2 // offset ); }
/// <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.p1 = reader.ReadUInt64(); this.p2 = reader.ReadUInt64(); this.Unknown_18h = reader.ReadUInt32(); this.Unknown_1Ch = reader.ReadUInt32(); // read reference data this.Animation = reader.ReadBlockAt<Animation>( this.p1 // offset ); this.NextEntry = reader.ReadBlockAt<AnimationEntry>( this.p2 // offset ); }