/// <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 = reader.ReadUInt32(); this.Unknown_1Ch = reader.ReadUInt32(); this.emb1 = reader.ReadBlock <EffectSpawner>(); this.emb2 = reader.ReadBlock <EffectSpawner>(); this.Unknown_100h = reader.ReadUInt32(); this.Unknown_104h = reader.ReadUInt32(); this.Unknown_108h = reader.ReadUInt32(); this.Unknown_10Ch = reader.ReadUInt32(); this.Unknown_110h = reader.ReadUInt32(); this.Unknown_114h = reader.ReadUInt32(); this.Unknown_118h = reader.ReadUInt32(); this.Unknown_11Ch = reader.ReadUInt32(); this.NamePointer = reader.ReadUInt64(); this.Unknown_128h = reader.ReadBlock <ResourcePointerList64 <Behaviour> >(); this.Unknown_138h = reader.ReadBlock <ResourcePointerList64 <Behaviour> >(); this.Unknown_148h = reader.ReadBlock <ResourcePointerList64 <Behaviour> >(); this.Unknown_158h = reader.ReadBlock <ResourcePointerList64 <Behaviour> >(); this.Unknown_168h = reader.ReadBlock <ResourcePointerList64 <Behaviour> >(); this.Unknown_178h = reader.ReadUInt32(); this.Unknown_17Ch = reader.ReadUInt32(); this.Unknown_180h = reader.ReadUInt32(); this.Unknown_184h = reader.ReadUInt32(); this.Unknown_188h = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_013> >(); this.Unknown_198h = reader.ReadUInt32(); this.Unknown_19Ch = reader.ReadUInt32(); this.Unknown_1A0h = reader.ReadUInt32(); this.Unknown_1A4h = reader.ReadUInt32(); this.Unknown_1A8h = reader.ReadUInt32(); this.Unknown_1ACh = reader.ReadUInt32(); this.VFTx3 = reader.ReadUInt32(); this.Unknown_1B4h = reader.ReadUInt32(); this.p9 = reader.ReadUInt64(); this.p10 = reader.ReadUInt64(); this.Unknown_1C8h = reader.ReadUInt32(); this.Unknown_1CCh = reader.ReadUInt32(); this.Unknown_1D0h = reader.ReadUInt32(); this.Unknown_1D4h = reader.ReadUInt32(); this.VFTx4 = reader.ReadUInt32(); this.Unknown_1DCh = reader.ReadUInt32(); this.Unknown_1E0h = reader.ReadUInt32(); this.Unknown_1E4h = reader.ReadUInt32(); this.Unknown_1E8h = reader.ReadUInt32(); this.Unknown_1ECh = reader.ReadUInt32(); this.ShaderVars = reader.ReadBlock <ResourcePointerList64 <ShaderVar> >(); this.Unknown_200h = reader.ReadUInt32(); this.Unknown_204h = reader.ReadUInt32(); this.Unknown_208h = reader.ReadUInt32(); this.Unknown_20Ch = reader.ReadUInt32(); this.Unknown_210h = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_012> >(); this.Unknown_220h = reader.ReadUInt32(); this.Unknown_224h = reader.ReadUInt32(); this.Unknown_228h = reader.ReadUInt32(); this.Unknown_22Ch = reader.ReadUInt32(); this.Unknown_230h = reader.ReadUInt32(); this.Unknown_234h = reader.ReadUInt32(); this.Unknown_238h = reader.ReadUInt32(); this.Unknown_23Ch = reader.ReadUInt32(); // read reference data this.Name = reader.ReadBlockAt <string_r>( this.NamePointer // offset ); this.p9data = reader.ReadBlockAt <string_r>( this.p9 // offset ); this.p10data = reader.ReadBlockAt <string_r>( this.p10 // 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.ReadUInt64(); this.emb1 = reader.ReadBlock <EffectSpawner>(); this.emb2 = reader.ReadBlock <EffectSpawner>(); this.Unknown_100h = reader.ReadUInt32(); this.Unknown_104h = reader.ReadUInt32(); this.Unknown_108h = reader.ReadUInt32(); this.Unknown_10Ch = reader.ReadUInt32(); this.Unknown_110h = reader.ReadUInt32(); this.Unknown_114h = reader.ReadSingle(); this.Unknown_118h = reader.ReadUInt32(); this.Unknown_11Ch = reader.ReadUInt32(); this.NamePointer = reader.ReadUInt64(); this.Unknown_128h = reader.ReadBlock <ResourcePointerList64 <Behaviour> >(); this.Unknown_138h = reader.ReadBlock <ResourcePointerList64 <Behaviour> >(); this.Unknown_148h = reader.ReadBlock <ResourcePointerList64 <Behaviour> >(); this.Unknown_158h = reader.ReadBlock <ResourcePointerList64 <Behaviour> >(); this.Unknown_168h = reader.ReadBlock <ResourcePointerList64 <Behaviour> >(); this.Unknown_178h = reader.ReadUInt64(); this.Unknown_180h = reader.ReadUInt64(); this.Unknown_188h = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_013> >(); this.Unknown_198h = reader.ReadUInt64(); this.Unknown_1A0h = reader.ReadUInt64(); this.Unknown_1A8h = reader.ReadUInt64(); this.VFTx3 = reader.ReadUInt64(); this.ShaderNamePointer = reader.ReadUInt64(); this.ShaderTechniqueNamePointer = reader.ReadUInt64(); this.Unknown_1C8h = reader.ReadUInt64(); this.Unknown_1D0h = reader.ReadUInt32(); this.Unknown_1D4h = reader.ReadUInt32(); this.VFTx4 = reader.ReadUInt64(); this.Unknown_1E0h = reader.ReadUInt32(); this.Unknown_1E4h = reader.ReadUInt32(); this.Unknown_1E8h = reader.ReadUInt32(); this.Unknown_1ECh = reader.ReadUInt32(); this.ShaderVars = reader.ReadBlock <ResourcePointerList64 <ShaderVar> >(); this.Unknown_200h = reader.ReadUInt32(); this.Unknown_204h = reader.ReadUInt32(); this.ShaderNameHash = reader.ReadUInt32(); this.Unknown_20Ch = reader.ReadUInt32(); this.Unknown_210h = reader.ReadBlock <ResourceSimpleList64 <Unknown_P_012> >(); this.Unknown_220h = reader.ReadUInt32(); this.Unknown_224h = reader.ReadUInt32(); this.Unknown_228h = reader.ReadUInt64(); this.Unknown_230h = reader.ReadUInt64(); this.Unknown_238h = reader.ReadUInt64(); // read reference data this.Name = reader.ReadBlockAt <string_r>( this.NamePointer // offset ); this.ShaderName = reader.ReadBlockAt <string_r>( this.ShaderNamePointer // offset ); this.ShaderTechniqueName = reader.ReadBlockAt <string_r>( this.ShaderTechniqueNamePointer // offset ); }