/// <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.Unknown_18h = reader.ReadUInt32(); this.Unknown_1Ch = reader.ReadUInt32(); this.Unknown_20h = reader.ReadUInt32(); this.Unknown_24h = reader.ReadUInt32(); this.p0 = reader.ReadUInt64(); this.p1 = reader.ReadUInt64(); this.Unknown_38h = reader.ReadUInt32(); this.Unknown_3Ch = reader.ReadUInt32(); // read reference data this.p0data = reader.ReadBlockAt<Texture_GTA5_pc>( this.p0 // offset ); this.p1data = reader.ReadBlockAt<string_r>( this.p1 // offset ); }
public TextureWrapper_GTA5_pc(Texture_GTA5_pc texture) { this.texture = texture; }
public TextureWrapper_GTA5_pc() { this.texture = new Texture_GTA5_pc(); this.texture.Data = new TextureData_GTA5_pc(); }