public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.MapID      = binaryReader.ReadInt32();
     this.Bitmap     = binaryReader.ReadTagReference();
     this.fieldskip  = binaryReader.ReadBytes(576);
     this.fieldskip0 = binaryReader.ReadBytes(2304);
     this.Path       = binaryReader.ReadString256();
     this.SortOrder  = binaryReader.ReadInt32();
     this.GlobalUiMultiplayerLevelFlags = ((Flags)(binaryReader.ReadByte()));
     this.fieldpad            = 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();
     return(pointerQueue);
 }
Example #2
0
 public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.ParentFolder = binaryReader.ReadLongBlockIndex1();
     this.Name         = binaryReader.ReadString256();
     return(pointerQueue);
 }
 public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.CampaignID = binaryReader.ReadInt32();
     this.MapID      = binaryReader.ReadInt32();
     this.Path       = binaryReader.ReadString256();
     return(pointerQueue);
 }
 public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.Position = binaryReader.ReadVector3();
     this.Type     = ((TypeEnum)(binaryReader.ReadInt32()));
     this.Name     = binaryReader.ReadString32();
     this.Comment  = binaryReader.ReadString256();
     return(pointerQueue);
 }
Example #5
0
 public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.Name       = binaryReader.ReadString256();
     this.ReportType = ((ReportTypeEnum)(binaryReader.ReadInt16()));
     this.GlobalErrorReportCategoriesFlags = ((Flags)(binaryReader.ReadInt16()));
     this.fieldpad  = binaryReader.ReadBytes(2);
     this.fieldpad0 = binaryReader.ReadBytes(2);
     this.fieldpad1 = binaryReader.ReadBytes(404);
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(608));
     return(pointerQueue);
 }
 public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.Path             = binaryReader.ReadString256();
     this.ModificationDate = binaryReader.ReadString32();
     this.fieldskip        = binaryReader.ReadBytes(8);
     this.fieldpad         = binaryReader.ReadBytes(88);
     this.Checksum         = binaryReader.ReadInt32();
     this.Size             = binaryReader.ReadInt32();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(1));
     this.fieldpad0 = binaryReader.ReadBytes(128);
     return(pointerQueue);
 }
 public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.Build      = binaryReader.ReadInt32();
     this.Version    = binaryReader.ReadString256();
     this.ImportDate = binaryReader.ReadString32();
     this.Culprit    = binaryReader.ReadString32();
     this.fieldpad   = binaryReader.ReadBytes(96);
     this.ImportTime = binaryReader.ReadString32();
     this.fieldpad0  = binaryReader.ReadBytes(4);
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(528));
     this.fieldpad1 = binaryReader.ReadBytes(128);
     return(pointerQueue);
 }
 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 GScenarioEditorFolderBlock(BinaryReader binaryReader)
 {
     this.parentFolder = binaryReader.ReadLongBlockIndex1();
     this.name = binaryReader.ReadString256();
 }
Example #10
0
 public EditorCommentBlock(BinaryReader binaryReader)
 {
     this.position = binaryReader.ReadVector3();
     this.type = (Type)binaryReader.ReadInt32();
     this.name = binaryReader.ReadString32();
     this.comment = 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);
             }
         }
     }
 }