public string getshortgenmsg(bool wts) { settingcopy copy = new settingcopy(); if (wts) { copy = this.genwtssettings; } if (!wts) { copy = this.genwtbsettings; } return(copy.strings2); }
public void setsettings(int ah, bool wts) { settingcopy copy = new settingcopy(); if (ah == 0 && wts) { copy = this.ahwtssettings; } if (ah == 0 && !wts) { copy = this.ahwtbsettings; } if (ah == 1 && wts) { copy = this.genwtssettings; } if (ah == 1 && !wts) { copy = this.genwtbsettings; } if (ah == 2 && wts) { copy = this.pswtssettings; } if (ah == 2 && !wts) { copy = this.pswtbsettings; } growthbool = copy.boolean0; orderbool = copy.boolean1; energybool = copy.boolean2; decaybool = copy.boolean3; commonbool = copy.boolean4; uncommonbool = copy.boolean5; rarebool = copy.boolean6; threebool = copy.boolean7; onebool = copy.boolean8; twentysevenbool = copy.boolean9; ignore0 = copy.boolean10; takepriceformgenarator = copy.boolean11; wtssearchstring = copy.strings0; sellersearchstring = copy.strings1; pricesearchstring = copy.strings2; timesearchstring = copy.strings3; pricesearchstring2 = copy.strings4; sortmode = copy.sorting; reverse = copy.sortreverse; }
public void savesettings(int ah, bool wts) { settingcopy copy = new settingcopy(); if (ah == 0 && wts) { copy = this.ahwtssettings; } if (ah == 0 && !wts) { copy = this.ahwtbsettings; } if (ah == 1 && wts) { copy = this.genwtssettings; } if (ah == 1 && !wts) { copy = this.genwtbsettings; } if (ah == 2 && wts) { copy = this.pswtssettings; } if (ah == 2 && !wts) { copy = this.pswtbsettings; } copy.boolean0 = growthbool; copy.boolean1 = orderbool; copy.boolean2 = energybool; copy.boolean3 = decaybool; copy.boolean4 = commonbool; copy.boolean5 = uncommonbool; copy.boolean6 = rarebool; copy.boolean7 = threebool; copy.boolean8 = onebool; copy.boolean9 = twentysevenbool; copy.boolean10 = ignore0; copy.boolean11 = takepriceformgenarator; copy.strings0 = wtssearchstring; copy.strings1 = sellersearchstring; copy.strings2 = pricesearchstring;//shortwts/wtbstring copy.strings3 = timesearchstring; copy.strings4 = pricesearchstring2; copy.sorting = sortmode; copy.sortreverse = reverse; }
public string getshortgenmsg(bool wts) { settingcopy copy=new settingcopy(); if ( wts) copy = this.genwtssettings; if (!wts) copy = this.genwtbsettings; return copy.strings2; }
public void setsettings(int ah, bool wts) { settingcopy copy = new settingcopy(); if (ah == 0 && wts) copy = this.ahwtssettings; if (ah == 0 && !wts) copy = this.ahwtbsettings; if (ah == 1 && wts) copy = this.genwtssettings; if (ah == 1 && !wts) copy = this.genwtbsettings; if (ah == 2 && wts) copy = this.pswtssettings; if (ah == 2 && !wts) copy = this.pswtbsettings; growthbool = copy.boolean0; orderbool = copy.boolean1; energybool = copy.boolean2; decaybool = copy.boolean3; commonbool = copy.boolean4; uncommonbool = copy.boolean5; rarebool = copy.boolean6; threebool = copy.boolean7; onebool = copy.boolean8; twentysevenbool = copy.boolean9; ignore0 = copy.boolean10; takepriceformgenarator = copy.boolean11; wtssearchstring = copy.strings0; sellersearchstring = copy.strings1; pricesearchstring = copy.strings2; timesearchstring = copy.strings3; pricesearchstring2 = copy.strings4; sortmode = copy.sorting; reverse = copy.sortreverse; }
public void savesettings(int ah, bool wts) { settingcopy copy=new settingcopy() ; if (ah==0 && wts) copy= this.ahwtssettings; if (ah==0 && !wts) copy = this.ahwtbsettings; if (ah==1 && wts) copy = this.genwtssettings; if (ah==1 && !wts) copy = this.genwtbsettings; if (ah == 2 && wts) copy = this.pswtssettings; if (ah == 2 && !wts) copy = this.pswtbsettings; copy.boolean0 = growthbool; copy.boolean1 = orderbool; copy.boolean2 = energybool; copy.boolean3 = decaybool; copy.boolean4 = commonbool; copy.boolean5 = uncommonbool; copy.boolean6 = rarebool; copy.boolean7 = threebool; copy.boolean8 = onebool; copy.boolean9 = twentysevenbool; copy.boolean10 = ignore0; copy.boolean11 = takepriceformgenarator; copy.strings0 = wtssearchstring; copy.strings1 = sellersearchstring; copy.strings2 = pricesearchstring;//shortwts/wtbstring copy.strings3 = timesearchstring; copy.strings4 = pricesearchstring2; copy.sorting = sortmode; copy.sortreverse = reverse; }