private void OnClick_ownShop(GameObject obj)
        {
            this.handlingRItem = null;
            EBattleShopType nearestShopType = BattleEquipTools_op.GetNearestShopType();

            MobaMessageManagerTools.BattleShop_openBattleShop(nearestShopType, EBattleShopOpenType.eFromButton);
        }
 private void OnClick_recommendItem(BattleEquip_recommendItem com)
 {
     if (this.showDetail)
     {
         this.handlingRItem = com.RecommendItem;
     }
     MobaMessageManagerTools.SendClientMsg(ClientV2C.BattleShop_clickRItem, com.RecommendItem, false);
     NewbieManager.Instance.TryTriggerBuyEquipHint();
 }
 private void OnMsg_DetailedShopToggle(MobaMessage msg)
 {
     this.showDetail = (bool)msg.Param;
     this.RefreshUI_detailShop();
     this.RefreshUI_money();
     if (this.showDetail)
     {
         this.RefreshUI_initAttriList();
         this.LoadHeroAttriMain();
     }
     else
     {
         this.handlingRItem = null;
     }
 }
        private void InitData()
        {
            this.curPosseessItem = ModelManager.Instance.Get_BattleShop_curPItem();
            this.curShopItem     = ModelManager.Instance.Get_BattleShop_curSItem();
            this.tItem           = ModelManager.Instance.Get_BattleShop_curTItem();
            this.wallet          = ModelManager.Instance.Get_BattleShop_money();
            this.playerAlive     = ModelManager.Instance.Get_BattleShop_playerAlive();
            ShopInfo shopInfo = ModelManager.Instance.Get_BattleShop_openShop();

            this.brawlCanBuy = ModelManager.Instance.Get_BattleShop_brawlCanBuy();
            if (shopInfo != null)
            {
                this.withDistance = shopInfo.InArea;
                this.dealCounter  = shopInfo.DealCounter;
                this.shopState    = shopInfo.State;
            }
        }
 private void OnMsg_BattleShop_TItemChanged(MobaMessage msg)
 {
     this.tItem = (IBEItem)msg.Param;
     this.RefreshUI_tip();
 }
 private void Awake()
 {
     this.item = null;
 }