예제 #1
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
                );
        }
예제 #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
            );
        }