Ejemplo n.º 1
0
 public void RefreshShop(GetShopInfos shop)
 {
     if (BaseMarketManager.mMarketClass != MarketClass.MarketManager)
     {
         return;
     }
     if (shop == null)
     {
         return;
     }
     if (shop.shopId == MarketManager.Instance.CurrentShopID)
     {
         this.ShiftType = ListShifts.GetShift(5, this.CurrentPageIndex, true);
         this.RefreshInfo(shop.remainingRefreshTime, shop.remainRefresh);
         if (shop.shopId == 3)
         {
             this.RefreshItemList1(shop.commodities);
         }
         else if (shop.shopId == 2)
         {
             this.RefreshItemList2(shop.commodities);
         }
         else
         {
             Debug.LogError("请根据商店类型设置商品列表类型!");
         }
     }
 }
Ejemplo n.º 2
0
 public void RefreshShop(QueryGuildShopInfoRes shop)
 {
     if (BaseMarketManager.mMarketClass != MarketClass.GuildMarketManager)
     {
         return;
     }
     if (shop == null)
     {
         return;
     }
     this.ShiftType = ListShifts.GetShift(5, this.CurrentPageIndex, true);
     this.RefreshInfo(shop.remainingRefreshTime, GuildMarketManager.Instance.GetRemainRefreshTimes());
     this.RefreshItemList1(shop.info);
 }
Ejemplo n.º 3
0
 public void OnArrowRUp()
 {
     this.ShiftType = ListShifts.GetShift(1, 0, false);
 }