Esempio n. 1
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _lensFlare.ReadString(reader);
                for (x = 0; (x < _extraLayers.Count); x = (x + 1))
                {
                    ExtraLayers.Add(new ShaderTransparentLayerBlock());
                    ExtraLayers[x].Read(reader);
                }
                for (x = 0; (x < _extraLayers.Count); x = (x + 1))
                {
                    ExtraLayers[x].ReadChildData(reader);
                }
                for (x = 0; (x < @__4StageMaps.Count); x = (x + 1))
                {
                    _4StageMaps.Add(new ShaderTransparentChicagoMapBlock());
                    _4StageMaps[x].Read(reader);
                }
                for (x = 0; (x < @__4StageMaps.Count); x = (x + 1))
                {
                    _4StageMaps[x].ReadChildData(reader);
                }
                for (x = 0; (x < @__2StageMaps.Count); x = (x + 1))
                {
                    _2StageMaps.Add(new ShaderTransparentChicagoMapBlock());
                    _2StageMaps[x].Read(reader);
                }
                for (x = 0; (x < @__2StageMaps.Count); x = (x + 1))
                {
                    _2StageMaps[x].ReadChildData(reader);
                }
            }
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _lensFlare.ReadString(reader);
                for (x = 0; (x < _extraLayers.Count); x = (x + 1))
                {
                    ExtraLayers.Add(new ShaderTransparentLayerBlock());
                    ExtraLayers[x].Read(reader);
                }
                for (x = 0; (x < _extraLayers.Count); x = (x + 1))
                {
                    ExtraLayers[x].ReadChildData(reader);
                }
                for (x = 0; (x < _maps.Count); x = (x + 1))
                {
                    Maps.Add(new ShaderTransparentGenericMapBlock());
                    Maps[x].Read(reader);
                }
                for (x = 0; (x < _maps.Count); x = (x + 1))
                {
                    Maps[x].ReadChildData(reader);
                }
                for (x = 0; (x < _stages.Count); x = (x + 1))
                {
                    Stages.Add(new ShaderTransparentGenericStageBlock());
                    Stages[x].Read(reader);
                }
                for (x = 0; (x < _stages.Count); x = (x + 1))
                {
                    Stages[x].ReadChildData(reader);
                }
            }
Esempio n. 3
0
 public void ReadChildData(BinaryReader reader)
 {
     _lensFlare.ReadString(reader);
     for (int x = 0; x < _extraLayers.Count; x++)
     {
         ExtraLayers.AddNew();
         ExtraLayers[x].Read(reader);
     }
     for (int x = 0; x < _extraLayers.Count; x++)
     {
         ExtraLayers[x].ReadChildData(reader);
     }
     for (int x = 0; x < _4StageMaps.Count; x++)
     {
         FourStageMaps.AddNew();
         FourStageMaps[x].Read(reader);
     }
     for (int x = 0; x < _4StageMaps.Count; x++)
     {
         FourStageMaps[x].ReadChildData(reader);
     }
     for (int x = 0; x < _2StageMaps.Count; x++)
     {
         TwoStageMaps.AddNew();
         TwoStageMaps[x].Read(reader);
     }
     for (int x = 0; x < _2StageMaps.Count; x++)
     {
         TwoStageMaps[x].ReadChildData(reader);
     }
 }
 public void ReadChildData(BinaryReader reader)
 {
     _lensFlare.ReadString(reader);
     for (int x = 0; x < _extraLayers.Count; x++)
     {
         ExtraLayers.AddNew();
         ExtraLayers[x].Read(reader);
     }
     for (int x = 0; x < _extraLayers.Count; x++)
     {
         ExtraLayers[x].ReadChildData(reader);
     }
     for (int x = 0; x < _maps.Count; x++)
     {
         Maps.AddNew();
         Maps[x].Read(reader);
     }
     for (int x = 0; x < _maps.Count; x++)
     {
         Maps[x].ReadChildData(reader);
     }
     for (int x = 0; x < _stages.Count; x++)
     {
         Stages.AddNew();
         Stages[x].Read(reader);
     }
     for (int x = 0; x < _stages.Count; x++)
     {
         Stages[x].ReadChildData(reader);
     }
 }