/// <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.PagesInfoPointer = reader.ReadUInt64(); // read reference data this.PagesInfo = reader.ReadBlockAt<PagesInfo_GTA5_pc>( this.PagesInfoPointer // 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.PagesInfoPointer = reader.ReadUInt64(); // read reference data this.PagesInfo = reader.ReadBlockAt <PagesInfo_GTA5_pc>( this.PagesInfoPointer // offset ); }