Exemple #1
0
 private void ReadOutputsSection2(BinaryReader reader)
 {
     this.outputs2Header = MapBlockHeader.Read(reader);
     this.outputs2Count  = reader.ReadInt32();
     for (int i = 0; i < this.outputs2Count; i++)
     {
         reader.ReadBytes(24);
     }
 }
Exemple #2
0
 private void ReadOutputsSection3(BinaryReader reader)
 {
     this.outputs3Header = MapBlockHeader.Read(reader);
     if (this.outputs3Header.Length > 0)
     {
         this.outputs3Count = reader.ReadInt32();
         for (int i = 0; i < this.outputs3Count; i++)
         {
             reader.ReadBytes(36);
         }
     }
 }
Exemple #3
0
        private void ReadMapName(BinaryReader reader)
        {
            this.mapNameHeader = MapBlockHeader.Read(reader);
            char[] array = reader.ReadChars(34);
            int    num   = 0;

            while (num < array.Length && array[num] != '\0')
            {
                num++;
            }
            this.mapName = new string(array, 0, num);
            reader.ReadBytes(98);
        }
Exemple #4
0
 private void ReadMapHeader(BinaryReader reader)
 {
     this.fileHeader1   = MapBlockHeader.Read(reader);
     this.fileHeader2   = MapBlockHeader.Read(reader);
     this.mapEntryCount = reader.ReadInt32();
 }