public override void Parse(GameBitBuffer buffer)
 {
     Cellz = buffer.ReadInt(32);
     Cell = new IVector2D();
     Cell.Parse(buffer);
     SNOLevelAreas = new int[4];
     for(int i = 0;i < _SNOLevelAreas.Length;i++) _SNOLevelAreas[i] = buffer.ReadInt(32);
     SNOPrevWorld = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     SNOPrevLevelArea = buffer.ReadInt(32);
     SNONextWorld = buffer.ReadInt(32);
     Field7 = buffer.ReadInt(32);
     SNONextLevelArea = buffer.ReadInt(32);
     SNOMusic = buffer.ReadInt(32);
     SNOCombatMusic = buffer.ReadInt(32);
     SNOAmbient = buffer.ReadInt(32);
     SNOReverb = buffer.ReadInt(32);
     SNOWeather = buffer.ReadInt(32);
     SNOPresetWorld = buffer.ReadInt(32);
     Field15 = buffer.ReadInt(32);
     Field16 = buffer.ReadInt(32);
     Field17 = buffer.ReadInt(32);
     ClusterID = buffer.ReadInt(32);
     SceneCachedValues = new SceneCachedValues();
     SceneCachedValues.Parse(buffer);
 }
 public void FileRead(MpqFileStream stream, long offset)
 {
     stream.Position = offset + 0;
     Cellz = stream.ReadValueS32();
     stream.Position = offset + 4;
     Cell = new IVector2D();
     Cell.FileRead(stream, stream.Position);
     stream.Position = offset + 12;
     SNOLevelAreas = new int[4];
     for(int loop12=0; loop12 < 4; loop12++ )
     {
         int temp12_SNOLevelAreas;
         temp12_SNOLevelAreas = stream.ReadValueS32();
         _SNOLevelAreas[loop12] = temp12_SNOLevelAreas;
     }
     stream.Position = offset + 28;
     SNOPrevWorld = stream.ReadValueS32();
     stream.Position = offset + 32;
     Field4 = stream.ReadValueS32();
     stream.Position = offset + 36;
     SNOPrevLevelArea = stream.ReadValueS32();
     stream.Position = offset + 40;
     SNONextWorld = stream.ReadValueS32();
     stream.Position = offset + 44;
     Field7 = stream.ReadValueS32();
     stream.Position = offset + 48;
     SNONextLevelArea = stream.ReadValueS32();
     stream.Position = offset + 52;
     SNOMusic = stream.ReadValueS32();
     stream.Position = offset + 56;
     SNOCombatMusic = stream.ReadValueS32();
     stream.Position = offset + 60;
     SNOAmbient = stream.ReadValueS32();
     stream.Position = offset + 64;
     SNOReverb = stream.ReadValueS32();
     stream.Position = offset + 68;
     SNOWeather = stream.ReadValueS32();
     stream.Position = offset + 72;
     SNOPresetWorld = stream.ReadValueS32();
     stream.Position = offset + 76;
     Field15 = stream.ReadValueS32();
     stream.Position = offset + 80;
     Field16 = stream.ReadValueS32();
     stream.Position = offset + 84;
     Field17 = stream.ReadValueS32();
     stream.Position = offset + 124;
     ClusterID = stream.ReadValueS32();
     stream.Position = offset + 128;
     SceneCachedValues = new SceneCachedValues();
     SceneCachedValues.FileRead(stream, stream.Position);
 }