Exemplo n.º 1
0
 public XdbfHeader(CBinaryReader b)
 {
     b.Seek(0L, SeekOrigin.Begin);
     this.MagicBytes = b.ReadBytes(4);
     this.Version = b.ReadUInt16();
     this.Reserved = b.ReadUInt16();
     this.NumEntries = b.ReadUInt32();
     this.NumEntriesCopy = b.ReadUInt32();
     this.UnknownA = b.ReadUInt32();
     this.UnknownB = b.ReadUInt32();
 }
Exemplo n.º 2
0
 public XdbfTableEntry(CBinaryReader b)
 {
     this.Identifier = b.ReadUInt32();
     this.Offset = b.ReadUInt32();
     this.Size = b.ReadUInt32();
     this.Type = b.ReadUInt16();
     this.Padding = b.ReadUInt32();
 }