public void WriteHeader(ref BrgHeader header) { this.Write(header.magic); this.Write(header.unknown01); this.Write(header.numMaterials); this.Write(header.unknown02); this.Write(header.numMeshes); this.Write(header.space); this.Write(header.unknown03); }
public void ReadHeader(ref BrgHeader header) { header.magic = this.ReadInt32(); header.unknown01 = this.ReadInt32(); header.numMaterials = this.ReadInt32(); header.unknown02 = this.ReadInt32(); header.numMeshes = this.ReadInt32(); header.space = this.ReadInt32(); header.unknown03 = this.ReadInt32(); }