/// <summary> /// Reads the data-block from a stream. /// </summary> public override void Read(ResourceDataReader reader, params object[] parameters) { // read structure data this.VFT = reader.ReadUInt32(); this.Unknown_4h = reader.ReadUInt32(); this.Unknown_8h = reader.ReadUInt32(); this.Unknown_Ch = reader.ReadUInt32(); this.Unknown_10h = reader.ReadUInt32(); this.Unknown_14h = reader.ReadUInt32(); this.Unknown_18h_Pointer = reader.ReadUInt64(); this.Unknown_20h_Pointer = reader.ReadUInt64(); this.Unknown_28h_Pointer = reader.ReadUInt64(); this.Unknown_30h = reader.ReadUInt32(); this.Unknown_34h = reader.ReadUInt32(); this.Unknown_38h = reader.ReadUInt32(); this.Unknown_3Ch = reader.ReadUInt32(); // read reference data this.Unknown_18h_Data = reader.ReadBlockAt <Unknown_F_007>( this.Unknown_18h_Pointer // offset ); this.Unknown_20h_Data = reader.ReadBlockAt <Unknown_F_007>( this.Unknown_20h_Pointer // offset ); this.Unknown_28h_Data = reader.ReadBlockAt <Unknown_F_007>( this.Unknown_28h_Pointer // offset ); }
/// <summary> /// Reads the data-block from a stream. /// </summary> public override void Read(ResourceDataReader reader, params object[] parameters) { // read structure data this.VFT = reader.ReadUInt32(); this.Unknown_4h = reader.ReadUInt32(); this.Unknown_8h = reader.ReadUInt32(); this.Unknown_Ch = reader.ReadUInt32(); this.Unknown_10h = reader.ReadUInt32(); this.Unknown_14h = reader.ReadUInt32(); this.Unknown_18h_Pointer = reader.ReadUInt64(); this.Unknown_20h_Pointer = reader.ReadUInt64(); this.Unknown_28h_Pointer = reader.ReadUInt64(); this.Unknown_30h = reader.ReadUInt32(); this.Unknown_34h = reader.ReadUInt32(); this.Unknown_38h = reader.ReadUInt32(); this.Unknown_3Ch = reader.ReadUInt32(); // read reference data this.Unknown_18h_Data = reader.ReadBlockAt<Unknown_F_007>( this.Unknown_18h_Pointer // offset ); this.Unknown_20h_Data = reader.ReadBlockAt<Unknown_F_007>( this.Unknown_20h_Pointer // offset ); this.Unknown_28h_Data = reader.ReadBlockAt<Unknown_F_007>( this.Unknown_28h_Pointer // offset ); }