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); } }
public override string strval() { String str = "-=ArchiveForm=-\r\n" + size.log() + Environment.NewLine; for (int i = 0; i < size.value(); i++) { str += "plan" + i.ToString() + "=" + plans[i].log() + Environment.NewLine; } if (dver > 5.1) { str += dead.log() + Environment.NewLine; } else { str += dead2.log() + Environment.NewLine; } return(str + "-=ArchiveForm_End=-"); }