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

                _bitmap.ReadString(reader);
                for (x = 0; (x < _data.Count); x = (x + 1))
                {
                    Data.Add(new ByteBlockBlock());
                    Data[x].Read(reader);
                }
                for (x = 0; (x < _data.Count); x = (x + 1))
                {
                    Data[x].ReadChildData(reader);
                }
                for (x = 0; (x < _data2.Count); x = (x + 1))
                {
                    Data2.Add(new ByteBlockBlock());
                    Data2[x].Read(reader);
                }
                for (x = 0; (x < _data2.Count); x = (x + 1))
                {
                    Data2[x].ReadChildData(reader);
                }
                for (x = 0; (x < _data3.Count); x = (x + 1))
                {
                    Data3.Add(new ByteBlockBlock());
                    Data3[x].Read(reader);
                }
                for (x = 0; (x < _data3.Count); x = (x + 1))
                {
                    Data3[x].ReadChildData(reader);
                }
                for (x = 0; (x < _data4.Count); x = (x + 1))
                {
                    Data4.Add(new ByteBlockBlock());
                    Data4[x].Read(reader);
                }
                for (x = 0; (x < _data4.Count); x = (x + 1))
                {
                    Data4[x].ReadChildData(reader);
                }
                for (x = 0; (x < _data5.Count); x = (x + 1))
                {
                    Data5.Add(new ByteBlockBlock());
                    Data5[x].Read(reader);
                }
                for (x = 0; (x < _data5.Count); x = (x + 1))
                {
                    Data5[x].ReadChildData(reader);
                }
                for (x = 0; (x < _aspect.Count); x = (x + 1))
                {
                    Aspect.Add(new LightVolumeAspectBlockBlock());
                    Aspect[x].Read(reader);
                }
                for (x = 0; (x < _aspect.Count); x = (x + 1))
                {
                    Aspect[x].ReadChildData(reader);
                }
                for (x = 0; (x < _emptyname.Count); x = (x + 1))
                {
                    Emptyname.Add(new LightVolumeRuntimeOffsetBlockBlock());
                    Emptyname[x].Read(reader);
                }
                for (x = 0; (x < _emptyname.Count); x = (x + 1))
                {
                    Emptyname[x].ReadChildData(reader);
                }
            }