public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 1460;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 1464;
     serAppearanceMaterials = new SerializeData();
     serAppearanceMaterials.FileRead(stream, stream.Position);
     stream.Position = offset + 1472;
     //still checking variablearrays
     AppearanceMaterials = new List<AppearanceMaterial>();
     for(int i = 0; i < (int)(serAppearanceMaterials.Field1 / 140); i++)
     {
     stream.Position = serAppearanceMaterials.Field0 + 16 + (140*i) ;
         AppearanceMaterial temp12_AppearanceMaterials;
         temp12_AppearanceMaterials = new AppearanceMaterial();
         temp12_AppearanceMaterials.FileRead(stream, stream.Position);
         _AppearanceMaterials.Add(temp12_AppearanceMaterials);
     }
     stream.Position = offset + 1480;
     serAppearanceLooks = new SerializeData();
     serAppearanceLooks.FileRead(stream, stream.Position);
     stream.Position = offset + 1488;
     //still checking variablearrays
     AppearanceLooks = new List<AppearanceLook>();
     for(int i = 0; i < (int)(serAppearanceLooks.Field1 / 64); i++)
     {
     stream.Position = serAppearanceLooks.Field0 + 16 + (64*i) ;
         AppearanceLook temp12_AppearanceLooks;
         temp12_AppearanceLooks = new AppearanceLook();
         temp12_AppearanceLooks.FileRead(stream, stream.Position);
         _AppearanceLooks.Add(temp12_AppearanceLooks);
     }
     stream.Position = offset + 16;
     Field5 = new Structure();
     Field5.FileRead(stream, stream.Position);
     stream.Position = offset + 1456;
     Field6 = stream.ReadValueS32();
     stream.Position = offset + 1496;
     nStaticLightCount = stream.ReadValueS32();
     stream.Position = offset + 1500;
     serStaticLights = new SerializeData();
     serStaticLights.FileRead(stream, stream.Position);
     stream.Position = offset + 1512;
     //still checking variablearrays
     StaticLights = new List<StaticLight>();
     for(int i = 0; i < (int)(serStaticLights.Field1 / 92); i++)
     {
     stream.Position = serStaticLights.Field0 + 16 + (92*i) ;
         StaticLight temp12_StaticLights;
         temp12_StaticLights = new StaticLight();
         temp12_StaticLights.FileRead(stream, stream.Position);
         _StaticLights.Add(temp12_StaticLights);
     }
     stream.Position = offset + 1520;
     Field10 = stream.ReadValueS32();
     stream.Position = offset + 1524;
     Field11 = stream.ReadValueS32();
     stream.Position = offset + 1528;
     Field12 = stream.ReadValueS32();
     stream.Position = offset + 1532;
     Field13 = stream.ReadValueS32();
     stream.Position = offset + 1536;
     Field14 = stream.ReadValueS32();
     stream.Position = offset + 1540;
     Field15 = stream.ReadValueS32();
     stream.Position = offset + 1544;
     Field16 = stream.ReadValueS32();
     stream.Position = offset + 1548;
     Field17 = stream.ReadValueF32();
     stream.Position = offset + 1552;
     Field18 = stream.ReadValueS32();
     stream.Position = offset + 1556;
     Field19 = stream.ReadValueS32();
     stream.Position = offset + 1560;
     Field20 = stream.ReadValueS64();
     stream.Position = offset + 1568;
     Field21 = stream.ReadValueS32();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new RequiredMessageHeader();
     Field0.FileRead(stream, stream.Position);
     stream.Position = offset + 8;
     _Field1 = stream.ReadValueS32();
     stream.Position = offset + 16;
     Field2 = new GameId();
     Field2.FileRead(stream, stream.Position);
     stream.Position = offset + 40;
     Field3 = stream.ReadValueS64();
     stream.Position = offset + 48;
     _Field4 = stream.ReadValueS32();
     stream.Position = offset + 52;
     Field5 = stream.ReadValueS32();
     stream.Position = offset + 56;
     _Field6 = stream.ReadValueS32();
     stream.Position = offset + 60;
     Field7 = stream.ReadValueS32();
     stream.Position = offset + 64;
     Field8 = stream.ReadValueU16();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new RequiredMessageHeader();
     Field0.FileRead(stream, stream.Position);
     stream.Position = offset + 8;
     Field1 = stream.ReadValueS64();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = stream.ReadValueS64();
     stream.Position = offset + 8;
     Field1 = stream.ReadString(512);
     stream.Position = offset + 520;
     Field2 = new DataElements();
     Field2.FileRead(stream, stream.Position);
     stream.Position = offset + 568;
     Field3 = stream.ReadValueS32();
     stream.Position = offset + 572;
     serChildSpecs = new SerializeData();
     serChildSpecs.FileRead(stream, stream.Position);
     stream.Position = offset + 580;
     //still checking variablearrays
     ChildSpecs = new List<UIStyleChildSpec>();
     for(int i = 0; i < (int)(serChildSpecs.Field1 / 572); i++)
     {
     stream.Position = serChildSpecs.Field0 + 16 + (572*i) ;
         UIStyleChildSpec temp12_ChildSpecs;
         temp12_ChildSpecs = new UIStyleChildSpec();
         temp12_ChildSpecs.FileRead(stream, stream.Position);
         _ChildSpecs.Add(temp12_ChildSpecs);
     }
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 8;
     Field1 = stream.ReadValueS64();
     stream.Position = offset + 16;
     Field2 = stream.ReadString(512);
     stream.Position = offset + 528;
     Field3 = stream.ReadValueS64();
     stream.Position = offset + 536;
     Field4 = stream.ReadString(512);
     stream.Position = offset + 1048;
     Field5 = stream.ReadValueS32();
     stream.Position = offset + 1056;
     Field6 = new UIStyle();
     Field6.FileRead(stream, stream.Position);
     stream.Position = offset + 1664;
     Field7 = new UIAnimationElements();
     Field7.FileRead(stream, stream.Position);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = stream.ReadValueS64();
     stream.Position = offset + 8;
     Field1 = stream.ReadValueS32();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new RequiredMessageHeader();
     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 + 24;
     Field4 = stream.ReadValueS64();
     stream.Position = offset + 32;
     Field5 = stream.ReadValueS32();
     stream.Position = offset + 36;
     Field6 = new int[5];
     for(int loop12=0; loop12 < 5; loop12++ )
     {
         int temp12_Field6;
         temp12_Field6 = stream.ReadValueS32();
         _Field6[loop12] = temp12_Field6;
     }
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = stream.ReadValueS64();
     stream.Position = offset + 8;
     Field1 = stream.ReadString(512);
     stream.Position = offset + 520;
     Field2 = stream.ReadValueS32();
     stream.Position = offset + 524;
     Field3 = new int[2];
     for(int loop12=0; loop12 < 2; loop12++ )
     {
         int temp12_Field3;
         temp12_Field3 = stream.ReadValueS32();
         _Field3[loop12] = temp12_Field3;
     }
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 16;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 20;
     dwWidth = stream.ReadValueS32();
     stream.Position = offset + 24;
     dwHeight = stream.ReadValueS32();
     stream.Position = offset + 28;
     dwFaceCount = stream.ReadValueS32();
     stream.Position = offset + 36;
     dwMipMapLevelMax = stream.ReadValueS32();
     stream.Position = offset + 40;
     Field5 = new SerializeData[60];
     for(int loop12=0; loop12 < 60; loop12++ )
     {
         SerializeData temp12_Field5;
         temp12_Field5 = new SerializeData();
         temp12_Field5.FileRead(stream, stream.Position);
         _Field5[loop12] = temp12_Field5;
     }
     stream.Position = offset + 520;
     Field6 = stream.ReadValueS32();
     stream.Position = offset + 32;
     Field7 = stream.ReadValueS32();
     stream.Position = offset + 592;
     Field8 = stream.ReadString(256);
     stream.Position = offset + 852;
     serImageFileIDs = new SerializeData();
     serImageFileIDs.FileRead(stream, stream.Position);
     stream.Position = offset + 848;
     //still checking variablearrays
     ImageFileIDs = new List<ImageFileID>();
     for(int i = 0; i < (int)(serImageFileIDs.Field1 / 516); i++)
     {
     stream.Position = serImageFileIDs.Field0 + 16 + (516*i) ;
         ImageFileID temp12_ImageFileIDs;
         temp12_ImageFileIDs = new ImageFileID();
         temp12_ImageFileIDs.FileRead(stream, stream.Position);
         _ImageFileIDs.Add(temp12_ImageFileIDs);
     }
     stream.Position = offset + 524;
     serFrame = new SerializeData();
     serFrame.FileRead(stream, stream.Position);
     stream.Position = offset + 532;
     //still checking variablearrays
     Frame = new List<TexFrame>();
     for(int i = 0; i < (int)(serFrame.Field1 / 80); i++)
     {
     stream.Position = serFrame.Field0 + 16 + (80*i) ;
         TexFrame temp12_Frame;
         temp12_Frame = new TexFrame();
         temp12_Frame.FileRead(stream, stream.Position);
         _Frame.Add(temp12_Frame);
     }
     stream.Position = offset + 536;
     Field13 = new IVector2D();
     Field13.FileRead(stream, stream.Position);
     stream.Position = offset + 860;
     Field14 = stream.ReadValueS32();
     stream.Position = offset + 864;
     Field15 = stream.ReadValueS32();
     stream.Position = offset + 868;
     Field16 = stream.ReadValueS32();
     stream.Position = offset + 544;
     Field17 = stream.ReadValueS32();
     stream.Position = offset + 548;
     Field18 = stream.ReadValueS32();
     stream.Position = offset + 552;
     Field19 = stream.ReadValueS32();
     stream.Position = offset + 560;
     Field20 = stream.ReadValueS64();
     stream.Position = offset + 568;
     Field21 = stream.ReadValueS32();
     stream.Position = offset + 572;
     Field22 = (byte)stream.ReadByte();
     stream.Position = offset + 573;
     Field23 = (byte)stream.ReadByte();
     stream.Position = offset + 574;
     Field24 = (byte)stream.ReadByte();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 20;
     Field0 = stream.ReadValueS32();
     stream.Position = offset + 12;
     serSoundSamples = new SerializeData();
     serSoundSamples.FileRead(stream, stream.Position);
     stream.Position = offset + 24;
     //still checking variablearrays
     SoundSamples = new List<SoundSample>();
     for(int i = 0; i < (int)(serSoundSamples.Field1 / 680); i++)
     {
     stream.Position = serSoundSamples.Field0 + 16 + (680*i) ;
         SoundSample temp12_SoundSamples;
         temp12_SoundSamples = new SoundSample();
         temp12_SoundSamples.FileRead(stream, stream.Position);
         _SoundSamples.Add(temp12_SoundSamples);
     }
     stream.Position = offset + 28;
     serSampleTimestamps = new SerializeData();
     serSampleTimestamps.FileRead(stream, stream.Position);
     stream.Position = offset + 36;
     //still checking variablearrays
     SampleTimestamps = new List<long>();
     for(int i = 0; i < (int)(serSampleTimestamps.Field1 / 8); i++)
     {
     stream.Position = serSampleTimestamps.Field0 + 16 + (8*i) ;
         long temp12_SampleTimestamps;
         temp12_SampleTimestamps = stream.ReadValueS64();
         _SampleTimestamps.Add(temp12_SampleTimestamps);
     }
     stream.Position = offset + 40;
     Field5 = stream.ReadValueS32();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new RequiredMessageHeader();
     Field0.FileRead(stream, stream.Position);
     stream.Position = offset + 8;
     ToonEntityId = new EntityId();
     ToonEntityId.FileRead(stream, stream.Position);
     stream.Position = offset + 24;
     Field2 = new GameId();
     Field2.FileRead(stream, stream.Position);
     stream.Position = offset + 48;
     GameId = stream.ReadValueS32();
     stream.Position = offset + 56;
     Field4 = stream.ReadValueS64();
     stream.Position = offset + 64;
     _Field5 = stream.ReadValueS32();
     stream.Position = offset + 68;
     ProtocolHash = stream.ReadValueS32();
     stream.Position = offset + 72;
     SNOPackHash = stream.ReadValueS32();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Field0 = new RequiredMessageHeader();
     Field0.FileRead(stream, stream.Position);
     stream.Position = offset + 8;
     FromID = stream.ReadValueS32();
     stream.Position = offset + 12;
     ToID = stream.ReadValueS32();
     stream.Position = offset + 16;
     Amount = stream.ReadValueS64();
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     High = stream.ReadValueS64();
     stream.Position = offset + 8;
     Low = stream.ReadValueS64();
 }