public GlobalUiMultiplayerLevelBlock(BinaryReader binaryReader)
 {
     this.mapID = binaryReader.ReadInt32();
     this.bitmap = binaryReader.ReadTagReference();
     this.skip = binaryReader.ReadBytes(576);
     this.skip0 = binaryReader.ReadBytes(2304);
     this.path = binaryReader.ReadString256();
     this.sortOrder = binaryReader.ReadInt32();
     this.flags = (Flags)binaryReader.ReadByte();
     this.padding1 = binaryReader.ReadBytes(3);
     this.maxTeamsNone = binaryReader.ReadByte();
     this.maxTeamsCTF = binaryReader.ReadByte();
     this.maxTeamsSlayer = binaryReader.ReadByte();
     this.maxTeamsOddball = binaryReader.ReadByte();
     this.maxTeamsKOTH = binaryReader.ReadByte();
     this.maxTeamsRace = binaryReader.ReadByte();
     this.maxTeamsHeadhunter = binaryReader.ReadByte();
     this.maxTeamsJuggernaut = binaryReader.ReadByte();
     this.maxTeamsTerritories = binaryReader.ReadByte();
     this.maxTeamsAssault = binaryReader.ReadByte();
     this.maxTeamsStub10 = binaryReader.ReadByte();
     this.maxTeamsStub11 = binaryReader.ReadByte();
     this.maxTeamsStub12 = binaryReader.ReadByte();
     this.maxTeamsStub13 = binaryReader.ReadByte();
     this.maxTeamsStub14 = binaryReader.ReadByte();
     this.maxTeamsStub15 = binaryReader.ReadByte();
 }
 public EditorCommentBlock(BinaryReader binaryReader)
 {
     this.position = binaryReader.ReadVector3();
     this.type = (Type)binaryReader.ReadInt32();
     this.name = binaryReader.ReadString32();
     this.comment = binaryReader.ReadString256();
 }
 public GScenarioEditorFolderBlock(BinaryReader binaryReader)
 {
     this.parentFolder = binaryReader.ReadLongBlockIndex1();
     this.name = binaryReader.ReadString256();
 }
 public GlobalTagImportInfoBlock(BinaryReader binaryReader)
 {
     this.build = binaryReader.ReadInt32();
     this.version = binaryReader.ReadString256();
     this.importDate = binaryReader.ReadString32();
     this.culprit = binaryReader.ReadString32();
     this.padding = binaryReader.ReadBytes(96);
     this.importTime = binaryReader.ReadString32();
     this.padding0 = binaryReader.ReadBytes(4);
     this.files = ReadFiles(binaryReader);
     this.padding1 = binaryReader.ReadBytes(128);
 }
 public TagImportFileBlock(BinaryReader binaryReader)
 {
     this.path = binaryReader.ReadString256();
     this.modificationDate = binaryReader.ReadString32();
     this.skip = binaryReader.ReadBytes(8);
     this.padding0 = binaryReader.ReadBytes(88);
     this.checksumCrc32 = binaryReader.ReadInt32();
     this.sizeBytes = binaryReader.ReadInt32();
     this.paddingzippedData = binaryReader.ReadBytes(8);
     this.padding1 = binaryReader.ReadBytes(128);
 }
 public GlobalErrorReportCategoriesBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString256();
     this.reportType = (ReportType)binaryReader.ReadInt16();
     this.flags = (Flags)binaryReader.ReadInt16();
     this.padding = binaryReader.ReadBytes(2);
     this.padding0 = binaryReader.ReadBytes(2);
     this.padding1 = binaryReader.ReadBytes(404);
     this.reports = ReadReports(binaryReader);
 }
 public GlobalTagImportInfoBlock(BinaryReader binaryReader)
 {
     this.build = binaryReader.ReadInt32();
     this.version = binaryReader.ReadString256();
     this.importDate = binaryReader.ReadString32();
     this.culprit = binaryReader.ReadString32();
     this.padding = binaryReader.ReadBytes(96);
     this.importTime = binaryReader.ReadString32();
     this.padding0 = binaryReader.ReadBytes(4);
     {
         var elementSize = Marshal.SizeOf(typeof(TagImportFileBlock));
         var blamPointer = binaryReader.ReadBlamPointer(elementSize);
         this.files = new TagImportFileBlock[blamPointer.Count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < blamPointer.Count; ++i)
             {
                 binaryReader.BaseStream.Position = blamPointer[i];
                 this.files[i] = new TagImportFileBlock(binaryReader);
             }
         }
     }
     this.padding1 = binaryReader.ReadBytes(128);
 }
 public GlobalErrorReportCategoriesBlock(BinaryReader binaryReader)
 {
     this.name = binaryReader.ReadString256();
     this.reportType = (ReportType)binaryReader.ReadInt16();
     this.flags = (Flags)binaryReader.ReadInt16();
     this.padding = binaryReader.ReadBytes(2);
     this.padding0 = binaryReader.ReadBytes(2);
     this.padding1 = binaryReader.ReadBytes(404);
     {
         var elementSize = Marshal.SizeOf(typeof(ErrorReportsBlock));
         var blamPointer = binaryReader.ReadBlamPointer(elementSize);
         this.reports = new ErrorReportsBlock[blamPointer.Count];
         using (binaryReader.BaseStream.Pin())
         {
             for (int i = 0; i < blamPointer.Count; ++i)
             {
                 binaryReader.BaseStream.Position = blamPointer[i];
                 this.reports[i] = new ErrorReportsBlock(binaryReader);
             }
         }
     }
 }