Example #1
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                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);
                }
            }
Example #2
0
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _materialEffects.ReadString(reader);
                _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 < _cores.Count); x = (x + 1))
                {
                    Cores.Add(new LiquidCoreBlockBlock());
                    Cores[x].Read(reader);
                }
                for (x = 0; (x < _cores.Count); x = (x + 1))
                {
                    Cores[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);
                }
            }
Example #3
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);
                }
            }
Example #4
0
        public ComWithS71200DB()
        {
            TypeList.Add(Data0.GetType().ToString());
            TypeList.Add(Data1.GetType().ToString());
            TypeList.Add(Data2.GetType().ToString());
            TypeList.Add(Data3.GetType().ToString());
            TypeList.Add(Data4.GetType().ToString());
            TypeList.Add(Data5.GetType().ToString());
            TypeList.Add(Data6.GetType().ToString());
            TypeList.Add(Data7.GetType().ToString());
            TypeList.Add(Data8.GetType().ToString());
            TypeList.Add(Data9.GetType().ToString());
            TypeList.Add(Data10.GetType().ToString());
            TypeList.Add(Data11.GetType().ToString());
            TypeList.Add(Data12.GetType().ToString());
            TypeList.Add(Data13.GetType().ToString());
            TypeList.Add(Data14.GetType().ToString());
            TypeList.Add(Data15.GetType().ToString());
            TypeList.Add(Data16.GetType().ToString());
            TypeList.Add(Data17.GetType().ToString());
            TypeList.Add(Data18.GetType().ToString());
            TypeList.Add(Data19.GetType().ToString());
            TypeList.Add(Data20.GetType().ToString());
            TypeList.Add(Data21.GetType().ToString());
            TypeList.Add(Data22.GetType().ToString());
            TypeList.Add(Data23.GetType().ToString());
            TypeList.Add(Data24.GetType().ToString());
            TypeList.Add(Data25.GetType().ToString());
            TypeList.Add(Data26.GetType().ToString());
            TypeList.Add(Data27.GetType().ToString());
            TypeList.Add(Data28.GetType().ToString());
            TypeList.Add(Data29.GetType().ToString());
            TypeList.Add(Data30.GetType().ToString());
            TypeList.Add(Data31.GetType().ToString());
            TypeList.Add(Data32.GetType().ToString());
            TypeList.Add(Data33.GetType().ToString());
            TypeList.Add(Data34.GetType().ToString());
            TypeList.Add(Data35.GetType().ToString());
            TypeList.Add(Data36.GetType().ToString());
            TypeList.Add(Data37.GetType().ToString());
            TypeList.Add(Data38.GetType().ToString());
            TypeList.Add(Data39.GetType().ToString());
            TypeList.Add(Data40.GetType().ToString());
            TypeList.Add(Data41.GetType().ToString());
            TypeList.Add(Data42.GetType().ToString());
            TypeList.Add(Data43.GetType().ToString());
            TypeList.Add(Data44.GetType().ToString());
            TypeList.Add(Data45.GetType().ToString());
            TypeList.Add(Data46.GetType().ToString());
            TypeList.Add(Data47.GetType().ToString());
            TypeList.Add(Data48.GetType().ToString());
            TypeList.Add(Data49.GetType().ToString());
            TypeList.Add(Data50.GetType().ToString());
            TypeList.Add(Data51.GetType().ToString());
            TypeList.Add(Data52.GetType().ToString());
            TypeList.Add(Data53.GetType().ToString());
            TypeList.Add(Data54.GetType().ToString());
            TypeList.Add(Data55.GetType().ToString());
            TypeList.Add(Data56.GetType().ToString());
            TypeList.Add(Data57.GetType().ToString());
            TypeList.Add(Data58.GetType().ToString());
            TypeList.Add(Data59.GetType().ToString());
            TypeList.Add(Data60.GetType().ToString());
            TypeList.Add(Data61.GetType().ToString());
            TypeList.Add(Data62.GetType().ToString());
            TypeList.Add(Data63.GetType().ToString());
            TypeList.Add(Data64.GetType().ToString());
            TypeList.Add(Data65.GetType().ToString());
            TypeList.Add(Data66.GetType().ToString());
            TypeList.Add(Data67.GetType().ToString());
            TypeList.Add(Data68.GetType().ToString());
            TypeList.Add(Data69.GetType().ToString());
            TypeList.Add(Data70.GetType().ToString());
            TypeList.Add(Data71.GetType().ToString());
            TypeList.Add(Data72.GetType().ToString());
            TypeList.Add(Data73.GetType().ToString());
            TypeList.Add(Data74.GetType().ToString());
            TypeList.Add(Data75.GetType().ToString());
            TypeList.Add(Data76.GetType().ToString());
            TypeList.Add(Data77.GetType().ToString());
            TypeList.Add(Data78.GetType().ToString());
            TypeList.Add(Data79.GetType().ToString());
            TypeList.Add(Data80.GetType().ToString());
            TypeList.Add(Data81.GetType().ToString());
            TypeList.Add(Data82.GetType().ToString());
            TypeList.Add(Data83.GetType().ToString());
            TypeList.Add(Data84.GetType().ToString());
            TypeList.Add(Data85.GetType().ToString());
            TypeList.Add(Data86.GetType().ToString());
            TypeList.Add(Data87.GetType().ToString());
            TypeList.Add(Data88.GetType().ToString());
            TypeList.Add(Data89.GetType().ToString());
            TypeList.Add(Data90.GetType().ToString());
            TypeList.Add(Data91.GetType().ToString());
            TypeList.Add(Data92.GetType().ToString());
            TypeList.Add(Data93.GetType().ToString());
            TypeList.Add(Data94.GetType().ToString());
            TypeList.Add(Data95.GetType().ToString());
            TypeList.Add(Data96.GetType().ToString());
            TypeList.Add(Data97.GetType().ToString());
            TypeList.Add(Data98.GetType().ToString());
            TypeList.Add(Data99.GetType().ToString());
            TypeList.Add(Data100.GetType().ToString());

            DataList.Add(Data0);
            DataList.Add(Data1);
            DataList.Add(Data2);
            DataList.Add(Data3);
            DataList.Add(Data4);
            DataList.Add(Data5);
            DataList.Add(Data6);
            DataList.Add(Data7);
            DataList.Add(Data8);
            DataList.Add(Data9);
            DataList.Add(Data10);
            DataList.Add(Data11);
            DataList.Add(Data12);
            DataList.Add(Data13);
            DataList.Add(Data14);
            DataList.Add(Data15);
            DataList.Add(Data16);
            DataList.Add(Data17);
            DataList.Add(Data18);
            DataList.Add(Data19);
            DataList.Add(Data20);
            DataList.Add(Data21);
            DataList.Add(Data22);
            DataList.Add(Data23);
            DataList.Add(Data24);
            DataList.Add(Data25);
            DataList.Add(Data26);
            DataList.Add(Data27);
            DataList.Add(Data28);
            DataList.Add(Data29);
            DataList.Add(Data30);
            DataList.Add(Data31);
            DataList.Add(Data32);
            DataList.Add(Data33);
            DataList.Add(Data34);
            DataList.Add(Data35);
            DataList.Add(Data36);
            DataList.Add(Data37);
            DataList.Add(Data38);
            DataList.Add(Data39);
            DataList.Add(Data40);
            DataList.Add(Data41);
            DataList.Add(Data42);
            DataList.Add(Data43);
            DataList.Add(Data44);
            DataList.Add(Data45);
            DataList.Add(Data46);
            DataList.Add(Data47);
            DataList.Add(Data48);
            DataList.Add(Data49);
            DataList.Add(Data50);
            DataList.Add(Data51);
            DataList.Add(Data52);
            DataList.Add(Data53);
            DataList.Add(Data54);
            DataList.Add(Data55);
            DataList.Add(Data56);
            DataList.Add(Data57);
            DataList.Add(Data58);
            DataList.Add(Data59);
            DataList.Add(Data60);
            DataList.Add(Data61);
            DataList.Add(Data62);
            DataList.Add(Data63);
            DataList.Add(Data64);
            DataList.Add(Data65);
            DataList.Add(Data66);
            DataList.Add(Data67);
            DataList.Add(Data68);
            DataList.Add(Data69);
            DataList.Add(Data70);
            DataList.Add(Data71);
            DataList.Add(Data72);
            DataList.Add(Data73);
            DataList.Add(Data74);
            DataList.Add(Data75);
            DataList.Add(Data76);
            DataList.Add(Data77);
            DataList.Add(Data78);
            DataList.Add(Data79);
            DataList.Add(Data80);
            DataList.Add(Data81);
            DataList.Add(Data82);
            DataList.Add(Data83);
            DataList.Add(Data84);
            DataList.Add(Data85);
            DataList.Add(Data86);
            DataList.Add(Data87);
            DataList.Add(Data88);
            DataList.Add(Data89);
            DataList.Add(Data90);
            DataList.Add(Data91);
            DataList.Add(Data92);
            DataList.Add(Data93);
            DataList.Add(Data94);
            DataList.Add(Data95);
            DataList.Add(Data96);
            DataList.Add(Data97);
            DataList.Add(Data98);
            DataList.Add(Data99);
            DataList.Add(Data100);
        }
            public virtual void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                _particlePhysics.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 < _data6.Count); x = (x + 1))
                {
                    Data6.Add(new ByteBlockBlock());
                    Data6[x].Read(reader);
                }
                for (x = 0; (x < _data6.Count); x = (x + 1))
                {
                    Data6[x].ReadChildData(reader);
                }
                for (x = 0; (x < _data7.Count); x = (x + 1))
                {
                    Data7.Add(new ByteBlockBlock());
                    Data7[x].Read(reader);
                }
                for (x = 0; (x < _data7.Count); x = (x + 1))
                {
                    Data7[x].ReadChildData(reader);
                }
                for (x = 0; (x < _data8.Count); x = (x + 1))
                {
                    Data8.Add(new ByteBlockBlock());
                    Data8[x].Read(reader);
                }
                for (x = 0; (x < _data8.Count); x = (x + 1))
                {
                    Data8[x].ReadChildData(reader);
                }
                for (x = 0; (x < _data9.Count); x = (x + 1))
                {
                    Data9.Add(new ByteBlockBlock());
                    Data9[x].Read(reader);
                }
                for (x = 0; (x < _data9.Count); x = (x + 1))
                {
                    Data9[x].ReadChildData(reader);
                }
            }
Example #6
0
 /// <summary>
 /// Checks a search string to see if any of the data objects exclude it.
 /// </summary>
 public bool DataExcludes(string search)
 {
     if (Data1.Contains(search) || Data2.Contains(search) || Data3.Contains(search) || Data4.Contains(search) || Data5.Contains(search) ||
         Data6.Contains(search) || Data7.Contains(search) || Data8.Contains(search) || Data9.Contains(search) || Data10.Contains(search))
     {
         return(false);
     }
     return(true);
 }