public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 4;
     TriggerConditions = new TriggerConditions();
     TriggerConditions.FileRead(stream, stream.Position);
     stream.Position = offset + 40;
     Field2 = stream.ReadValueS32();
     stream.Position = offset + 44;
     Field3 = new SNOName();
     Field3.FileRead(stream, stream.Position);
     stream.Position = offset + 52;
     Field4 = stream.ReadValueS32();
     stream.Position = offset + 56;
     Field5 = stream.ReadValueS32();
     stream.Position = offset + 68;
     HardPointLinks = new HardpointLink[2];
     for(int loop12=0; loop12 < 2; loop12++ )
     {
         HardpointLink temp12_HardPointLinks;
         temp12_HardPointLinks = new HardpointLink();
         temp12_HardPointLinks.FileRead(stream, stream.Position);
         _HardPointLinks[loop12] = temp12_HardPointLinks;
     }
     stream.Position = offset + 204;
     LookLink = new LookLink();
     LookLink.FileRead(stream, stream.Position);
     stream.Position = offset + 268;
     ConstraintLink = new ConstraintLink();
     ConstraintLink.FileRead(stream, stream.Position);
     stream.Position = offset + 332;
     Field9 = stream.ReadValueS32();
     stream.Position = offset + 336;
     Field10 = stream.ReadValueF32();
     stream.Position = offset + 340;
     Field11 = stream.ReadValueS32();
     stream.Position = offset + 344;
     Field12 = stream.ReadValueS32();
     stream.Position = offset + 348;
     Field13 = stream.ReadValueS32();
     stream.Position = offset + 352;
     Field14 = stream.ReadValueS32();
     stream.Position = offset + 356;
     Field15 = stream.ReadValueS32();
     stream.Position = offset + 360;
     Field16 = stream.ReadValueF32();
     stream.Position = offset + 364;
     Field17 = stream.ReadValueF32();
     stream.Position = offset + 384;
     Field18 = stream.ReadValueS32();
     stream.Position = offset + 368;
     Field19 = stream.ReadValueS32();
     stream.Position = offset + 372;
     Field20 = stream.ReadValueF32();
     stream.Position = offset + 376;
     Field21 = stream.ReadValueS32();
     stream.Position = offset + 380;
     Velocity = stream.ReadValueF32();
     stream.Position = offset + 388;
     Ticks1 = stream.ReadValueS32();
     stream.Position = offset + 60;
     RuneType = stream.ReadValueS32();
     stream.Position = offset + 64;
     UseRuneType = stream.ReadValueS32();
     stream.Position = offset + 392;
     Color1 = new RGBAColor();
     Color1.FileRead(stream, stream.Position);
     stream.Position = offset + 396;
     Field27 = stream.ReadValueS32();
     stream.Position = offset + 400;
     Color2 = new RGBAColor();
     Color2.FileRead(stream, stream.Position);
     stream.Position = offset + 404;
     Field29 = stream.ReadValueS32();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new SNOName();
     Field0.FileRead(stream, stream.Position);
     stream.Position = offset + 8;
     Field1 = new PRTransform();
     Field1.FileRead(stream, stream.Position);
     stream.Position = offset + 36;
     Field2 = new SceneSpecification();
     Field2.FileRead(stream, stream.Position);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new RequiredMessageHeader();
     Field0.FileRead(stream, stream.Position);
     stream.Position = offset + 8;
     Name = new SNOName();
     Name.FileRead(stream, stream.Position);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 4;
     _ObjectiveType = stream.ReadValueS32();
     stream.Position = offset + 8;
     Field2 = stream.ReadValueS32();
     stream.Position = offset + 12;
     CounterTarget = stream.ReadValueS32();
     stream.Position = offset + 16;
     SNOName1 = new SNOName();
     SNOName1.FileRead(stream, stream.Position);
     stream.Position = offset + 24;
     SNOName2 = new SNOName();
     SNOName2.FileRead(stream, stream.Position);
     stream.Position = offset + 32;
     GBID1 = stream.ReadValueS32();
     stream.Position = offset + 36;
     GBID2 = stream.ReadValueS32();
     stream.Position = offset + 40;
     Group1Name = stream.ReadString(256);
     stream.Position = offset + 296;
     Unknown2 = stream.ReadString(256);
     stream.Position = offset + 552;
     Field10 = stream.ReadValueS32() == 1;
     stream.Position = offset + 556;
     Field11 = stream.ReadValueS32();
     stream.Position = offset + 560;
     GBIDItemToShow = stream.ReadValueS32();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     _ConditionType = stream.ReadValueS32();
     stream.Position = offset + 4;
     Field1 = stream.ReadValueS32();
     stream.Position = offset + 8;
     Field2 = stream.ReadValueS32();
     stream.Position = offset + 12;
     SNOName1 = new SNOName();
     SNOName1.FileRead(stream, stream.Position);
     stream.Position = offset + 20;
     SNOName2 = new SNOName();
     SNOName2.FileRead(stream, stream.Position);
     stream.Position = offset + 28;
     GBID1 = stream.ReadValueS32();
     stream.Position = offset + 32;
     GBID2 = stream.ReadValueS32();
     stream.Position = offset + 36;
     Unknown1 = stream.ReadString(256);
     stream.Position = offset + 292;
     Unknown2 = stream.ReadString(256);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Name = stream.ReadString(128);
     stream.Position = offset + 128;
     Type = stream.ReadValueS32();
     stream.Position = offset + 132;
     PRTransform = new PRTransform();
     PRTransform.FileRead(stream, stream.Position);
     stream.Position = offset + 160;
     Field3 = new SNOName();
     Field3.FileRead(stream, stream.Position);
     stream.Position = offset + 168;
     serTagMap = new SerializeData();
     serTagMap.FileRead(stream, stream.Position);
     stream.Position = offset + 176;
     // TagMap: type DT_TAGMAP hasnt a deserializer implemented
     throw new Exception("some fields arent going to be decoded.");
     stream.Position = offset + 184;
     Field6 = stream.ReadValueS32();
     stream.Position = offset + 188;
     serMarkerLinks = new SerializeData();
     serMarkerLinks.FileRead(stream, stream.Position);
     stream.Position = offset + 200;
     //still checking variablearrays
     MarkerLinks = new List<MarkerLink>();
     for(int i = 0; i < (int)(serMarkerLinks.Field1 / 256); i++)
     {
     stream.Position = serMarkerLinks.Field0 + 16 + (256*i) ;
         MarkerLink temp12_MarkerLinks;
         temp12_MarkerLinks = new MarkerLink();
         temp12_MarkerLinks.FileRead(stream, stream.Position);
         _MarkerLinks.Add(temp12_MarkerLinks);
     }
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new SNOName();
     Field0.FileRead(stream, stream.Position);
     stream.Position = offset + 8;
     _Field1 = stream.ReadValueS32();
     stream.Position = offset + 12;
     Field2 = stream.ReadValueS32();
     stream.Position = offset + 16;
     Field3 = stream.ReadValueS32();
     stream.Position = offset + 20;
     Field4 = stream.ReadValueS32();
     stream.Position = offset + 24;
     Field5 = stream.ReadValueS32();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Min = stream.ReadValueS32();
     stream.Position = offset + 4;
     Max = stream.ReadValueS32();
     stream.Position = offset + 8;
     Field2 = new SNOName();
     Field2.FileRead(stream, stream.Position);
     stream.Position = offset + 16;
     Field3 = stream.ReadValueS32();
 }