コード例 #1
0
 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);
 }
コード例 #2
0
 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();
 }