/// <summary>
        /// Reads the data-block from a stream.
        /// </summary>
        public override void Read(ResourceDataReader reader, params object[] parameters)
        {
            // read structure data
            this.Hash        = reader.ReadUInt32();
            this.Unknown_4h  = reader.ReadUInt32();
            this.ClipPointer = reader.ReadUInt64();
            this.NextPointer = reader.ReadUInt64();
            this.Unknown_18h = reader.ReadUInt32();
            this.Unknown_1Ch = reader.ReadUInt32();

            // read reference data
            this.Clip = reader.ReadBlockAt <Clip_GTA5_pc>(
                this.ClipPointer // offset
                );
            this.Next = reader.ReadBlockAt <ClipMapEntry_GTA5_pc>(
                this.NextPointer // 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.Hash = reader.ReadUInt32();
            this.Unknown_4h = reader.ReadUInt32();
            this.ClipPointer = reader.ReadUInt64();
            this.NextPointer = reader.ReadUInt64();
            this.Unknown_18h = reader.ReadUInt32();
            this.Unknown_1Ch = reader.ReadUInt32();

            // read reference data
            this.Clip = reader.ReadBlockAt<Clip_GTA5_pc>(
                this.ClipPointer // offset
            );
            this.Next = reader.ReadBlockAt<ClipEntry_GTA5_pc>(
                this.NextPointer // offset
            );
        }