Exemplo n.º 1
0
        public static DBCHeader prepareHeader(DBCReader reader)
        {
            DBCHeader header = new DBCHeader();

            header.DBCmagic        = DBCReader.DBCFmtSig;
            header.RecordsCount    = (uint)reader.RecordsCount;
            header.FieldsCount     = (uint)reader.FieldsCount;
            header.RecordSize      = (uint)reader.RecordSize;
            header.StringTableSize = (uint)reader.StringTableSize;

            return(header);
        }