Пример #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.p1 = reader.ReadUInt64();

			// read reference data
			this.p1data = reader.ReadBlockAt<Unknown_P_013>(
				this.p1 // 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.Unknown_0h = reader.ReadUInt32();
            this.Unknown_4h = reader.ReadUInt32();
            this.p1         = reader.ReadUInt64();

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