Exemple #1
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.Unknown_0h         = reader.ReadUInt32();
            this.Unknown_4h         = reader.ReadUInt32();
            this.Unknown_8h_Pointer = reader.ReadUInt64();

            // read reference data
            this.Unknown_8h_Data = reader.ReadBlockAt <Unknown_P_003>(
                this.Unknown_8h_Pointer // offset
                );
        }
Exemple #2
0
        /// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.Unknown_0h = reader.ReadUInt32();
            this.Unknown_4h = reader.ReadUInt32();
            this.p1 = reader.ReadUInt64();

            // read reference data
            this.p1data = reader.ReadBlockAt<Unknown_P_003>(
                this.p1 // offset
            );
        }