public void read(BinaryReader br, float ver) { dver = ver; size.read(br, ver); for (int i = 0; i < size.value(); i++) { plans.Add(new ArcPlan(br, ver)); } if (ver > 5.1) { dead.read(br, ver); } else { dead2.read(br, ver); } }
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); } }