Exemple #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("请根据商店类型设置商品列表类型!");
         }
     }
 }
Exemple #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);
 }
Exemple #3
0
 private void UpdateShift(object arg)
 {
     this.m_arg = arg;
     ListShifts.SetShift(this.thisScrollRectCustom, arg);
 }
Exemple #4
0
 public void OnArrowRUp()
 {
     this.ShiftType = ListShifts.GetShift(1, 0, false);
 }