Esempio n. 1
0
        /// <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.p0          = reader.ReadUInt64();
            this.Unknown_18h = reader.ReadUInt32();
            this.Unknown_1Ch = reader.ReadUInt32();
            this.p1          = reader.ReadUInt64();
            this.Unknown_28h = reader.ReadUInt32();
            this.Unknown_2Ch = reader.ReadUInt32();
            this.Unknown_30h = reader.ReadUInt32();
            this.Unknown_34h = reader.ReadUInt32();
            this.Unknown_38h = reader.ReadUInt32();
            this.Unknown_3Ch = reader.ReadUInt32();
            this.Unknown_40h = reader.ReadUInt32();
            this.Unknown_44h = reader.ReadUInt32();
            this.Unknown_48h = reader.ReadUInt32();
            this.Unknown_4Ch = reader.ReadUInt32();
            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();
            this.Unknown_70h = reader.ReadUInt32();
            this.Unknown_74h = reader.ReadUInt32();
            this.Unknown_78h = reader.ReadUInt32();
            this.Unknown_7Ch = reader.ReadUInt32();
            this.Unknown_80h = reader.ReadBlock <ResourceSimpleList64 <ushort_r> >();
            this.Unknown_90h = reader.ReadBlock <ResourceSimpleList64 <Unknown_C_005> >();
            this.Unknown_A0h = reader.ReadUInt32();
            this.Unknown_A4h = reader.ReadUInt32();
            this.Unknown_A8h = reader.ReadUInt32();
            this.Unknown_ACh = reader.ReadUInt32();
            this.Unknown_B0h = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();
            this.Unknown_C0h = reader.ReadBlock <ResourceSimpleList64 <Unknown_C_006> >();
            this.Unknown_D0h = reader.ReadUInt32();
            this.Unknown_D4h = reader.ReadUInt32();
            this.Unknown_D8h = reader.ReadUInt32();
            this.Unknown_DCh = reader.ReadUInt32();
            this.Unknown_E0h = reader.ReadBlock <ResourceSimpleList64 <uint_r> >();

            // read reference data
            this.p0data = reader.ReadBlockAt <Unknown_C_003>(
                this.p0 // offset
                );
            this.p1data = reader.ReadBlockAt <Unknown_C_004>(
                this.p1 // offset
                );
        }
Esempio n. 2
0
        /// <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.p0 = reader.ReadUInt64();
            this.Unknown_18h = reader.ReadUInt32();
            this.Unknown_1Ch = reader.ReadUInt32();
            this.p1 = reader.ReadUInt64();
            this.Unknown_28h = reader.ReadUInt32();
            this.Unknown_2Ch = reader.ReadUInt32();
            this.Unknown_30h = reader.ReadUInt32();
            this.Unknown_34h = reader.ReadUInt32();
            this.Unknown_38h = reader.ReadUInt32();
            this.Unknown_3Ch = reader.ReadUInt32();
            this.Unknown_40h = reader.ReadUInt32();
            this.Unknown_44h = reader.ReadUInt32();
            this.Unknown_48h = reader.ReadUInt32();
            this.Unknown_4Ch = reader.ReadUInt32();
            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();
            this.Unknown_70h = reader.ReadUInt32();
            this.Unknown_74h = reader.ReadUInt32();
            this.Unknown_78h = reader.ReadUInt32();
            this.Unknown_7Ch = reader.ReadUInt32();
            this.p2 = reader.ReadUInt64();
            this.c2a = reader.ReadUInt16();
            this.c2b = reader.ReadUInt16();
            this.Unknown_8Ch = reader.ReadUInt32();
            this.p3 = reader.ReadUInt64();
            this.c3a = reader.ReadUInt16();
            this.c3b = reader.ReadUInt16();
            this.Unknown_9Ch = reader.ReadUInt32();
            this.Unknown_A0h = reader.ReadUInt32();
            this.Unknown_A4h = reader.ReadUInt32();
            this.Unknown_A8h = reader.ReadUInt32();
            this.Unknown_ACh = reader.ReadUInt32();
            this.p4 = reader.ReadUInt64();
            this.c4a = reader.ReadUInt16();
            this.c4b = reader.ReadUInt16();
            this.Unknown_BCh = reader.ReadUInt32();
            this.p5 = reader.ReadUInt64();
            this.c5a = reader.ReadUInt16();
            this.c5b = reader.ReadUInt16();
            this.Unknown_CCh = reader.ReadUInt32();
            this.Unknown_D0h = reader.ReadUInt32();
            this.Unknown_D4h = reader.ReadUInt32();
            this.Unknown_D8h = reader.ReadUInt32();
            this.Unknown_DCh = reader.ReadUInt32();
            this.p6 = reader.ReadUInt64();
            this.c6a = reader.ReadUInt16();
            this.c6b = reader.ReadUInt16();
            this.Unknown_ECh = reader.ReadUInt32();

            // read reference data
            this.p0data = reader.ReadBlockAt<Unknown_C_003>(
                this.p0 // offset
            );
            this.p1data = reader.ReadBlockAt<Unknown_C_004>(
                this.p1 // offset
            );
            this.p2data = reader.ReadBlockAt<ResourceSimpleArray<ushort_r>>(
                this.p2, // offset
                this.c2a
            );
            this.p3data = reader.ReadBlockAt<ResourceSimpleArray<Unknown_C_005>>(
                this.p3, // offset
                this.c3a
            );
            this.p4data = reader.ReadBlockAt<ResourceSimpleArray<uint_r>>(
                this.p4, // offset
                this.c4a
            );
            this.p5data = reader.ReadBlockAt<ResourceSimpleArray<Unknown_C_006>>(
                this.p5, // offset
                this.c5a
            );
            this.p6data = reader.ReadBlockAt<ResourceSimpleArray<uint_r>>(
                this.p6, // offset
                this.c6a
            );
        }
Esempio n. 3
0
        /// <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.p0          = reader.ReadUInt64();
            this.Unknown_18h = reader.ReadUInt32();
            this.Unknown_1Ch = reader.ReadUInt32();
            this.p1          = reader.ReadUInt64();
            this.Unknown_28h = reader.ReadUInt32();
            this.Unknown_2Ch = reader.ReadUInt32();
            this.Unknown_30h = reader.ReadUInt32();
            this.Unknown_34h = reader.ReadUInt32();
            this.Unknown_38h = reader.ReadUInt32();
            this.Unknown_3Ch = reader.ReadUInt32();
            this.Unknown_40h = reader.ReadUInt32();
            this.Unknown_44h = reader.ReadUInt32();
            this.Unknown_48h = reader.ReadUInt32();
            this.Unknown_4Ch = reader.ReadUInt32();
            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();
            this.Unknown_70h = reader.ReadUInt32();
            this.Unknown_74h = reader.ReadUInt32();
            this.Unknown_78h = reader.ReadUInt32();
            this.Unknown_7Ch = reader.ReadUInt32();
            this.p2          = reader.ReadUInt64();
            this.c2a         = reader.ReadUInt16();
            this.c2b         = reader.ReadUInt16();
            this.Unknown_8Ch = reader.ReadUInt32();
            this.p3          = reader.ReadUInt64();
            this.c3a         = reader.ReadUInt16();
            this.c3b         = reader.ReadUInt16();
            this.Unknown_9Ch = reader.ReadUInt32();
            this.Unknown_A0h = reader.ReadUInt32();
            this.Unknown_A4h = reader.ReadUInt32();
            this.Unknown_A8h = reader.ReadUInt32();
            this.Unknown_ACh = reader.ReadUInt32();
            this.p4          = reader.ReadUInt64();
            this.c4a         = reader.ReadUInt16();
            this.c4b         = reader.ReadUInt16();
            this.Unknown_BCh = reader.ReadUInt32();
            this.p5          = reader.ReadUInt64();
            this.c5a         = reader.ReadUInt16();
            this.c5b         = reader.ReadUInt16();
            this.Unknown_CCh = reader.ReadUInt32();
            this.Unknown_D0h = reader.ReadUInt32();
            this.Unknown_D4h = reader.ReadUInt32();
            this.Unknown_D8h = reader.ReadUInt32();
            this.Unknown_DCh = reader.ReadUInt32();
            this.p6          = reader.ReadUInt64();
            this.c6a         = reader.ReadUInt16();
            this.c6b         = reader.ReadUInt16();
            this.Unknown_ECh = reader.ReadUInt32();

            // read reference data
            this.p0data = reader.ReadBlockAt <Unknown_C_003>(
                this.p0 // offset
                );
            this.p1data = reader.ReadBlockAt <Unknown_C_004>(
                this.p1 // offset
                );
            this.p2data = reader.ReadBlockAt <ResourceSimpleArray <ushort_r> >(
                this.p2, // offset
                this.c2a
                );
            this.p3data = reader.ReadBlockAt <ResourceSimpleArray <Unknown_C_005> >(
                this.p3, // offset
                this.c3a
                );
            this.p4data = reader.ReadBlockAt <ResourceSimpleArray <uint_r> >(
                this.p4, // offset
                this.c4a
                );
            this.p5data = reader.ReadBlockAt <ResourceSimpleArray <Unknown_C_006> >(
                this.p5, // offset
                this.c5a
                );
            this.p6data = reader.ReadBlockAt <ResourceSimpleArray <uint_r> >(
                this.p6, // offset
                this.c6a
                );
        }