Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NiFile"/> class.
 /// </summary>
 /// <param name="reader">The reader.</param>
 public NiFile(BinaryReader reader)
 {
     this.Header = new NiHeader(this, reader);
     this.ReadNiObjects(reader);
     this.Footer = new NiFooter(this, reader);
     this.FixRefs();
 }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="NiFile"/> class.
        /// </summary>
        /// <param name="reader">The reader.</param>
        public NiFile(BinaryReader reader)
		{
			this.Header = new NiHeader(this, reader);
			this.ReadNiObjects(reader);
			this.Footer = new NiFooter(this, reader);
			this.FixRefs();
		}