Пример #1
0
        private void RefreshCostInfo(int stage, int level)
        {
            bool flag = this.pageIndex == 0;

            if (flag)
            {
                this.textLevelCostItemSum.text = Globle.getBigText(this.wingModel.GetLevelUpCostItemSum(stage, level));
                this.neednum = this.wingModel.GetLevelUpCostItemSum(stage, level);
            }
            else
            {
                bool flag2 = this.pageIndex == 1;
                if (flag2)
                {
                }
            }
        }
Пример #2
0
        //升级 材料/进阶金币花费变化
        private void RefreshCostInfo(int stage, int level)
        {
            if (pageIndex == LEVEL_INDEX)
            {
                textLevelCostItemSum.text = Globle.getBigText(wingModel.GetLevelUpCostItemSum(stage, level));


                neednum = wingModel.GetLevelUpCostItemSum(stage, level);
            }
            else if (pageIndex == STAGE_INDEX)
            {
                //
            }
            else
            {
                //
            }
        }
Пример #3
0
        public void refreshMoney()
        {
            Text money = transform.FindChild("top/jingbi/image/num").GetComponent <Text>();

            money.text = Globle.getBigText(PlayerModel.getInstance().money);
        }
Пример #4
0
 public void refreshAch_point()
 {
     A3_RankProxy.getInstance().sendProxy(A3_RankProxy.RANKREFRESH);
     ach_num.text = "" + Globle.getBigText((uint)PlayerModel.getInstance().ach_point);
 }
Пример #5
0
 private void refreshMoney()
 {
     coin.text     = Globle.getBigText(PlayerModel.getInstance().money);
     diamond.text  = PlayerModel.getInstance().gold.ToString();
     bangzuan.text = PlayerModel.getInstance().gift.ToString();
 }
Пример #6
0
        public void refreshAch_point()
        {
            BaseProxy <A3_RankProxy> .getInstance().sendProxy(A3_RankProxy.RANKREFRESH, -1, false);

            this.ach_num.text = (Globle.getBigText(ModelBase <PlayerModel> .getInstance().ach_point) ?? "");
        }
Пример #7
0
        //public void refreshGold()
        //{
        //    money.text = Globle.getBigText(PlayerModel.getInstance().gold);
        //}
        //public void refreshGift()
        //{
        //    gold.text = PlayerModel.getInstance().gift.ToString();
        //}
        //public void refreshCoin()
        //{
        //    coin.text = Globle.getBigText(PlayerModel.getInstance().money);
        //}

        public void refreshMoney()
        {
            money.text = Globle.getBigText(PlayerModel.getInstance().money);
        }