예제 #1
0
            public void ReadChildData(BinaryReader reader)
            {
                int x = 0;

                integratedLightToggle.ReadString(reader);
                for (x = 0; (x < cameraTracks.Count); x = (x + 1))
                {
                    CameraTracks.AddNew();
                    CameraTracks[x].Read(reader);
                }
                for (x = 0; (x < cameraTracks.Count); x = (x + 1))
                {
                    CameraTracks[x].ReadChildData(reader);
                }
                spawnedActor.ReadString(reader);
                meleeDamage.ReadString(reader);
                for (x = 0; (x < nEWHUDINTERFACES.Count); x = (x + 1))
                {
                    NEWHUDINTERFACES.AddNew();
                    NEWHUDINTERFACES[x].Read(reader);
                }
                for (x = 0; (x < nEWHUDINTERFACES.Count); x = (x + 1))
                {
                    NEWHUDINTERFACES[x].ReadChildData(reader);
                }
                for (x = 0; (x < dialogueVariants.Count); x = (x + 1))
                {
                    DialogueVariants.AddNew();
                    DialogueVariants[x].Read(reader);
                }
                for (x = 0; (x < dialogueVariants.Count); x = (x + 1))
                {
                    DialogueVariants[x].ReadChildData(reader);
                }
                for (x = 0; (x < poweredSeats.Count); x = (x + 1))
                {
                    PoweredSeats.AddNew();
                    PoweredSeats[x].Read(reader);
                }
                for (x = 0; (x < poweredSeats.Count); x = (x + 1))
                {
                    PoweredSeats[x].ReadChildData(reader);
                }
                for (x = 0; (x < weapons.Count); x = (x + 1))
                {
                    Weapons.AddNew();
                    Weapons[x].Read(reader);
                }
                for (x = 0; (x < weapons.Count); x = (x + 1))
                {
                    Weapons[x].ReadChildData(reader);
                }
                for (x = 0; (x < seats.Count); x = (x + 1))
                {
                    Seats.AddNew();
                    Seats[x].Read(reader);
                }
                for (x = 0; (x < seats.Count); x = (x + 1))
                {
                    Seats[x].ReadChildData(reader);
                }
            }