public String log() { String str = " -=Tier=-" + Environment.NewLine; str += String.Format(" type:{0:d} - {1:s}\r\n", Type, tierNames[Type]); str += String.Format(" repair:{0:d}\r\n", Repair); str += " " + Notes.log() + Environment.NewLine; for (int i = 0; i < tierBusyCount[Type]; i++) { str += String.Format("busy[{0:d}]={1:d} ", i, Busies[i]); } for (int i = 0; i < tierHeaterCount[Type]; i++) { str += String.Format("heater[{0:d}]={1:d} ", i, Heaters[i]); } for (int i = 0; i < tierNestCount[Type]; i++) { str += String.Format("nest[{0:d}]={1:d} ", i, Nests[i]); } for (int i = 0; i < tierDelimsCount[Type]; i++) { str += String.Format("delim[{0:d}]={1:d} ", i, Delims[i]); } if (tierNWBCount[Type] == 1) { str += String.Format("net_wbig={0:d}", NestWbig); } str += "\r\n -=Tier_end=-"; return(str); }
public override string strval() { String str = caption.log() + " " + subitems.log() + " "; for (int i = 0; i < (int)subitems.value(); i++) { str += "s" + i.ToString() + "=" + subs[i].value() + " "; } return(str); }
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 String log() { String str = " -=ZooJob=-\r\n "; str += caption.log() + Environment.NewLine + subcount.log() + Environment.NewLine; for (int i = 0; i < (int)subcount.value(); i++) { str += "sub" + i.ToString() + "=" + subs[i].value() + Environment.NewLine; } str += type.log() + Environment.NewLine + uniquer.log() + Environment.NewLine + uniquescnt.log() + Environment.NewLine + "uniques="; for (int i = 0; i < (int)uniquescnt.value(); i++) { str += String.Format("{0:d}({0:X}) ", uniques[i]); } return(str + Environment.NewLine + "-=ZooJob_end=-"); }
public override String strval() { String str = "-=TransFrom=-\r\nvalues="; for (int i = 0; i < Valcount; i++) { str += Values[i].ToString() + " "; } str += "\r\nskinnames="; for (int i = 0; i < Skincount; i++) { str += Skinnames[i].log(); } str += Environment.NewLine + PricePerKilo.log() + Environment.NewLine + FeedPrice.log() + Environment.NewLine; str += SkinBuyers.log() + Environment.NewLine + BodyBuyers.log() + Environment.NewLine + RabbitPartner.log() + Environment.NewLine + FeedPartner.log() + Environment.NewLine; str += Kind.log() + Environment.NewLine + OtherPartner.log() + Environment.NewLine + FeedType.log() + Environment.NewLine + OtherKind.log() + Environment.NewLine; str += OtherProduct.log() + Environment.NewLine + UsedFeedType.log() + Environment.NewLine + UsedFeedSpec.log() + Environment.NewLine + OtsevBuyer.log() + Environment.NewLine; return(str + "-=TransForm_End=-"); }
public String log() { String str = "-=f****r=-\r\n" + live.log() + Environment.NewLine; if (live.value() != 0) { str += name_key.log() + Environment.NewLine; } else { str += "genesis(" + gecnt.value().ToString() + ")="; for (int i = 0; i < (int)gecnt.value(); i++) { str += String.Format("{0:d} ", genesis[i]); } str += Environment.NewLine + name.log() + Environment.NewLine; } str += breed.log() + Environment.NewLine + f***s.log() + Environment.NewLine + children.log() + Environment.NewLine + my_fuck_is_last.log() + Environment.NewLine; return(str + "-=fucker_end=-"); }
public String log() { String str = " -=Transfer=-\r\n "; str += String.Format("type={0:d} {1:s}\r\n ", TransferType, TrNames[TransferType]); str += Notes.log() + Environment.NewLine; str += When.log() + Environment.NewLine; str += Units.log() + Environment.NewLine; String msk = Masks[TransferType]; for (int i = 0; i < msk.Length; i++) { IMFCommon obj = Getobj(msk[i], false); str += obj.log(); if (msk[i] == 's') { str += " " + SkinTypeNames[Skintype.value()]; } str += Environment.NewLine; } str += "-=Transfer_end=-"; return(str); }
public void read(BinaryReader br, float ver) { allobj.Add(Pervonest); allobj.Add(Kukunest); allobj.Add(Mothernest); allobj.Add(Heater); allobj.Add(Okrol); allobj.Add(Kuk); allobj.Add(Pravka1); allobj.Add(count_2); allobj.Add(count_3); allobj.Add(endkuku); allobj.Add(vacc); allobj.Add(vudvorenie); allobj.Add(countsuckers); allobj.Add(vyazkamother); allobj.Add(vyazkapervo); allobj.Add(rasselboys); allobj.Add(killfemales); allobj.Add(killbrides); allobj.Add(killboys); allobj.Add(max_age_diff); allobj.Add(automode); allobj.Add(rescopies); allobj.Add(tab_abbr); allobj.Add(double_sur); allobj.Add(heterosis); allobj.Add(inbreeding); allobj.Add(report_full_addr); allobj.Add(SOME_OPTION); allobj.Add(use_from); allobj.Add(use_till); allobj.Add(from); allobj.Add(till); allobj.Add(from_heater); allobj.Add(till_heater); allobj.Add(h_from_checked); allobj.Add(h_till_checked); allobj.Add(show_tier_types); allobj.Add(show_area_types); allobj.Add(sluchka_filter); allobj.Add(today); allobj.Add(otsad_boys_mother); allobj.Add(otsad_boys_pervo); allobj.Add(zoo_bits); allobj.Add(job_grouping); allobj.Add(name_show); allobj.Add(ignore_last_fuck); allobj.Add(partners_limit); allobj.Add(limit_value); allobj.Add(sec_ignore); allobj.Add(auto_kuk); allobj.Add(jurta_sync); allobj.Add(make_brides); allobj.Add(sell_mothers_with_babies); allobj.Add(imm_age_diff); allobj.Add(arctime); allobj.Add(lost_days); allobj.Add(use_feed_spec); allobj.Add(auto_arc); allobj.Add(no_kuk); allobj.Add(no_gen_mix); allobj.Add(holost_punish); allobj.Add(imm_heater); allobj.Add(rotation); allobj.Add(rot_speed); allobj.Add(no_jurta_kuk); allobj.Add(shed_scale); allobj.Add(show_gen_tree); allobj.Add(show_young_gen_tree); allobj.Add(gen_tree_width); allobj.Add(young_gen_tree_width); allobj.Add(show_numbers); allobj.Add(averfeed); for (int i = 0; i < allobj.Count; i++) { allobj[i].read(br, ver); DBG.dbg3(allobj[i].log()); } if (ver > 6.1) { number_before_name.read(br, ver); DBG.dbg3(number_before_name.log()); reserved = br.ReadBytes(99); DBG.dbg3(reserved.ToString()); } if (ver > 5.1) { next_svid.read(br, ver); DBG.dbg3(next_svid.log()); svid_remark_cnt.read(br, ver); DBG.dbg3(svid_remark_cnt.log()); for (int i = 0; i < svid_remark_cnt.value(); i++) { svid_remarks.Add(new MFString(br, ver)); DBG.dbg3("rem" + i.ToString() + "=" + svid_remarks[i].value()); } svid_head.read(br, ver); DBG.dbg3(svid_head.log()); svid_farm.read(br, ver); DBG.dbg3(svid_farm.log()); reserved2 = br.ReadBytes(100); for (int i = 0; i < 5; i++) { subscriber.Add(new SubscruberOrJob(br, ver, false)); } } jobcnt.read(br, ver); DBG.dbg3(jobcnt.log()); for (int i = 0; i < (int)jobcnt.value(); i++) { jobs.Add(new SubscruberOrJob(br, ver, true)); } }
public String log() { return((Issub ? On.log() : "") + " " + Job.log() + " " + Name.log()); }
public String log() { return(" " + Key.log() + " " + Surkey.log() + " " + Name.log() + " " + Surname.log()); }