/// <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_10h = reader.ReadUInt32(); this.Unknown_14h = reader.ReadUInt32(); this.Unknown_18h = reader.ReadUInt32(); this.Unknown_1Ch = reader.ReadUInt32(); this.UnkPtr_20h = reader.ReadUInt64(); this.UnkPtr_28h = reader.ReadUInt64(); this.UnkPtr_30h = reader.ReadUInt64(); this.UnkPtr_38h = reader.ReadUInt64(); this.UnkPtr_40h = reader.ReadUInt64(); this.cnt1 = reader.ReadUInt16(); this.cnt3 = reader.ReadUInt16(); this.cnt2 = reader.ReadUInt16(); this.Unknown_4Eh = reader.ReadUInt16(); this.Unknown_50h = reader.ReadUInt32(); this.Unknown_54h = reader.ReadUInt32(); this.Unknown_58h = reader.ReadUInt32(); this.Unknown_5Ch = reader.ReadUInt32(); this.Unknown_60h = reader.ReadUInt32(); this.Unknown_64h = reader.ReadUInt32(); this.Unknown_68h = reader.ReadUInt32(); this.Unknown_6Ch = reader.ReadUInt32(); // read reference data this.UnkPtr_20hdata = reader.ReadBlockAt <ResourceSimpleArray <Unknown_T_003> >( this.UnkPtr_20h, // offset this.cnt1 ); this.UnkPtr_28hdata = reader.ReadBlockAt <ResourceSimpleArray <Unknown_T_002> >( this.UnkPtr_28h, // offset this.cnt3 ); this.UnkPtr_30hdata = reader.ReadBlockAt <ResourceSimpleArray <Unknown_T_004> >( this.UnkPtr_30h, // offset this.cnt2 ); this.UnkPtr_40hdata = reader.ReadBlockAt <Unknown_T_001>( this.UnkPtr_40h // offset ); }
/// <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_10h = reader.ReadUInt32(); this.Unknown_14h = reader.ReadUInt32(); this.Unknown_18h = reader.ReadUInt32(); this.Unknown_1Ch = reader.ReadUInt32(); this.UnkPtr_20h = reader.ReadUInt64(); this.UnkPtr_28h = reader.ReadUInt64(); this.UnkPtr_30h = reader.ReadUInt64(); this.UnkPtr_38h = reader.ReadUInt64(); this.UnkPtr_40h = reader.ReadUInt64(); this.cnt1 = reader.ReadUInt16(); this.cnt3 = reader.ReadUInt16(); this.cnt2 = reader.ReadUInt16(); this.Unknown_4Eh = reader.ReadUInt16(); this.Unknown_50h = reader.ReadUInt32(); this.Unknown_54h = reader.ReadUInt32(); this.Unknown_58h = reader.ReadUInt32(); this.Unknown_5Ch = reader.ReadUInt32(); this.Unknown_60h = reader.ReadUInt32(); this.Unknown_64h = reader.ReadUInt32(); this.Unknown_68h = reader.ReadUInt32(); this.Unknown_6Ch = reader.ReadUInt32(); // read reference data this.UnkPtr_20hdata = reader.ReadBlockAt<ResourceSimpleArray<Unknown_T_003>>( this.UnkPtr_20h, // offset this.cnt1 ); this.UnkPtr_28hdata = reader.ReadBlockAt<ResourceSimpleArray<Unknown_T_002>>( this.UnkPtr_28h, // offset this.cnt3 ); this.UnkPtr_30hdata = reader.ReadBlockAt<ResourceSimpleArray<Unknown_T_004>>( this.UnkPtr_30h, // offset this.cnt2 ); this.UnkPtr_40hdata = reader.ReadBlockAt<Unknown_T_001>( this.UnkPtr_40h // offset ); }