public override void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     serAppearanceMaterials = new SerializeData();
     serAppearanceMaterials.Parse(buffer);
     //still checking variablearrays
     this.AppearanceMaterials = new List<AppearanceMaterial>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _AppearanceMaterials.Count; loop12++)
     {
         _AppearanceMaterials[loop12] = new AppearanceMaterial();
         _AppearanceMaterials[loop12].Parse(buffer);
     }
     serAppearanceLooks = new SerializeData();
     serAppearanceLooks.Parse(buffer);
     //still checking variablearrays
     this.AppearanceLooks = new List<AppearanceLook>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _AppearanceLooks.Count; loop12++)
     {
         _AppearanceLooks[loop12] = new AppearanceLook();
         _AppearanceLooks[loop12].Parse(buffer);
     }
     Field5 = new Structure();
     Field5.Parse(buffer);
     Field6 = buffer.ReadInt(32);
     nStaticLightCount = buffer.ReadInt(32);
     serStaticLights = new SerializeData();
     serStaticLights.Parse(buffer);
     //still checking variablearrays
     this.StaticLights = new List<StaticLight>( buffer.ReadInt(0) );
     for(int loop12 = 0; loop12 < _StaticLights.Count; loop12++)
     {
         _StaticLights[loop12] = new StaticLight();
         _StaticLights[loop12].Parse(buffer);
     }
     Field10 = buffer.ReadInt(32);
     Field11 = buffer.ReadInt(32);
     Field12 = buffer.ReadInt(32);
     Field13 = buffer.ReadInt(32);
     Field14 = buffer.ReadInt(32);
     Field15 = buffer.ReadInt(32);
     Field16 = buffer.ReadInt(32);
     Field17 = buffer.ReadFloat32();
     Field18 = buffer.ReadInt(32);
     Field19 = buffer.ReadInt(32);
     Field20 = buffer.ReadInt64(64);
     Field21 = buffer.ReadInt(32);
 }
 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();
 }