Exemplo 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.PagesInfoPointer = reader.ReadUInt64();

            // read reference data
            this.PagesInfo = reader.ReadBlockAt<PagesInfo_GTA5_pc>(
                this.PagesInfoPointer // offset
            );
        }
Exemplo 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.PagesInfoPointer = reader.ReadUInt64();

            // read reference data
            this.PagesInfo = reader.ReadBlockAt <PagesInfo_GTA5_pc>(
                this.PagesInfoPointer // offset
                );
        }