Example #1
0
 public Acceptor(BinaryReader br, float ver)
 {
     unique.read(br, ver); lack.read(br, ver);
     hybrid.read(br, ver); newgroup.read(br, ver);
     gendiff.read(br, ver); distance.read(br, ver);
     donor_best.read(br, ver); acceptor_best.read(br, ver);
 }
Example #2
0
 public void read(BinaryReader br, float ver)
 {
     items.read(br, ver);
     if (items.value() > 0)
     {
         zoodate.read(br, ver);
         donorcnt.read(br, ver);
         for (int i = 0; i < (int)donorcnt.value(); i++)
         {
             donors.Add(new Donor(br, ver));
         }
         zoocnt.read(br, ver);
         for (int i = 0; i < (int)zoocnt.value(); i++)
         {
             zoojobs.Add(new ZooJob(br, ver));
         }
         if (ver > 5.1)
         {
             strcount.read(br, ver);
             for (int i = 0; i < strcount.value(); i++)
             {
                 strings.Add(new MFString(br, ver));
             }
         }
     }
 }
Example #3
0
 public void Read(BinaryReader br, float ver)
 {
     Key.read(br, ver);
     Surkey.read(br, ver);
     Name.read(br, ver);
     Surname.read(br, ver);
 }
Example #4
0
 public void read(BinaryReader br, float ver)
 {
     live.read(br, ver);
     if (live.value() != 0)
     {
         name_key = new MFUShort("name_key");
         name_key.read(br, ver);
     }
     else
     {
         gecnt   = new MFUShort("genesis_count");
         genesis = new List <ushort>();
         name    = new MFString("name");
         gecnt.read(br, ver);
         for (int i = 0; i < (int)gecnt.value(); i++)
         {
             genesis.Add(br.ReadUInt16());
         }
         name.read(br, ver);
     }
     breed.read(br, ver);
     f***s.read(br, ver);
     children.read(br, ver);
     my_fuck_is_last.read(br, ver);
 }
Example #5
0
 public void read(BinaryReader br, float ver)
 {
     count.read(br, ver);
     for (int i = 0; i < (int)count.value(); i++)
     {
         Rabnames.Add(new RabName(br, ver));
     }
 }
Example #6
0
 public void read(BinaryReader br, float ver)
 {
     count.read(br, ver);
     for (int i = 0; i < (int)count.value(); i++)
     {
         strings.Add(new MFString(br, ver));
     }
 }
Example #7
0
 public void read(BinaryReader br, float ver)
 {
     Lookat.read(br, ver);
     Max.read(br, ver);
     for (int i = 0; i < (int)Max.value(); i++)
     {
         Filters.Add(new Filter(br, ver));
     }
     Combo.read(br, ver);
 }
Example #8
0
 public void read(BinaryReader br, float ver)
 {
     count.read(br, ver);
     for (int i = 0; i < (int)count.value(); i++)
     {
         weighters.Add(new Weighter(br, ver));
     }
     laston.read(br, ver);
     lastpos.read(br, ver);
 }
Example #9
0
 public Donor(BinaryReader br, float ver)
 {
     unique.read(br, ver);
     acccnt.read(br, ver);
     for (int i = 0; i < (int)acccnt.value(); i++)
     {
         acc.Add(new Acceptor(br, ver));
     }
     surplus.read(br, ver);
     immediate.read(br, ver);
 }
Example #10
0
 public void read(BinaryReader br, float ver)
 {
     Count.read(br, ver);
     for (int i = 0; i < (int)Count.value(); i++)
     {
         Minifarms.Add(new MiniFarm(br, ver));
         if (Minifarms[i].ID > Maxfarm)
         {
             Maxfarm = Minifarms[i].ID;
         }
     }
 }
Example #11
0
        public void read(BinaryReader br, float ver)
        {
            count.read(br, ver);
            int cnt = (int)count.value();

            for (int i = 0; i < (int)count.value(); i++)
            {
                if (mf != null)
                {
                    mf.Setpb(i, cnt);
                }
                rabbits.Add(new Rabbit(br, ver, nmales, nfemales));
            }
        }
Example #12
0
 public void read(BinaryReader br, float ver)
 {
     child_count.read(br, ver);
     DBG.dbg2(child_count.log(), br);
     borns.read(br, ver);
     DBG.dbg2(borns.log(), br);
     ev_date.read(br, ver);
     DBG.dbg2(ev_date.log(), br);
     last_okrol.read(br, ver);
     DBG.dbg2(last_okrol.log(), br);
     ev_type.read(br, ver);
     DBG.dbg2(ev_type.log(), br);
     if (ver > 3.1)
     {
         lost_babies.read(br, ver);
     }
     DBG.dbg2(lost_babies.log(), br);
     if (ver > 5.1)
     {
         overall_babies.read(br, ver);
     }
     DBG.dbg2(overall_babies.log(), br);
     suckers.read(br, ver);
     DBG.dbg2(suckers.log(), br);
     fuckers_count.read(br, ver);
     DBG.dbg2(fuckers_count.log(), br);
     for (int i = 0; i < (int)fuckers_count.value(); i++)
     {
         fuckers.Add(new F****r(br, ver));
         DBG.dbg2(fuckers[i].log(), br);
     }
     if (ver > 5.1)
     {
         worker.read(br, ver);
         DBG.dbg2(worker.log(), br);
         no_kuk.read(br, ver);
         DBG.dbg2(no_kuk.log(), br);
         no_lact.read(br, ver);
         DBG.dbg2(no_lact.log(), br);
     }
 }
Example #13
0
 public Weighter(BinaryReader br, float ver)
 {
     on.read(br, ver);
     start.read(br, ver);
     interval.read(br, ver);
 }