コード例 #1
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);


            // read reference data
            //this.data = reader.ReadBlockAt<ResourceSimpleArray<Unknown_M_003_ed86f522_entry>>(
            //	this.dataPointer, // offset
            //             this.length / 16
            //         );

            this.data = reader.ReadBlockAt<Unknown_M_003_ed86f522Data>(
                this.DataPointer,
                this.DataLength / 16
            );
        }
コード例 #2
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            base.Read(reader, parameters);


            // read reference data
            //this.data = reader.ReadBlockAt<ResourceSimpleArray<Unknown_M_003_ed86f522_entry>>(
            //	this.dataPointer, // offset
            //             this.length / 16
            //         );

            this.data = reader.ReadBlockAt <Unknown_M_003_ed86f522Data>(
                this.DataPointer,
                this.DataLength / 16
                );
        }