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