Exemple #1
0
        public void genbuttonpressed()
        {
            //this.hideInformation();
            helpf.hideInformationinfo.Invoke(helpf.storeinfo, null);
            iTween.MoveTo((GameObject)helpf.buymen.GetValue(helpf.storeinfo), iTween.Hash(new object[] { "x", -0.5f, "time", 1f, "easetype", iTween.EaseType.easeInExpo }));
            helpf.showBuyinfo.SetValue(helpf.storeinfo, false);
            ((GameObject)helpf.sellmen.GetValue(helpf.storeinfo)).SetActive(false);
            iTween.MoveTo((GameObject)helpf.sellmen.GetValue(helpf.storeinfo), iTween.Hash(new object[] { "x", -0.5f, "time", 1f, "easetype", iTween.EaseType.easeInExpo }));
            ((GameObject)helpf.sellmen.GetValue(helpf.storeinfo)).SetActive(true);
            helpf.showSellinfo.SetValue(helpf.storeinfo, false);
            Store.ENABLE_SHARD_PURCHASES = false;
            helpf.inauchouse             = false;
            helpf.generator = true;
            helpf.settings  = false;


            generator.buyOwnCardsFilter.filtersChanged  = true;
            generator.sellOwnCardsFilter.filtersChanged = true;
            if (this.wtsingen)
            {
                helpf.wtsmenue = true;
                srchsvr.setsettings(1, true);
                //alists.setAhlistsToGenWtsLists();
            }
            else
            {
                helpf.wtsmenue = false;
                srchsvr.setsettings(1, false);
                //alists.setAhlistsToGenWtbLists();
            }

            //this.genlist.AddRange(this.genlistfull);

            helpf.targetchathightinfo.SetValue(helpf.target, (float)Screen.height * 0.25f);
        }