| System/Store/PetAndMountPushWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Store/StoreModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Store/StoreWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/Store/PetAndMountPushWin.cs
@@ -83,6 +83,7 @@ private void ClickGoTo() { CloseImmediately(); storeModel.SetJumpModel(StoreFunc.BindStore, storeModel.currentPushId); WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.StoreFunc4); } private void ClickCloseBtn() System/Store/StoreModel.cs
@@ -58,6 +58,7 @@ { IsMustBuyDay = false; isLogin = true; ClearJumpModel(); StageManager.Instance.onStageLoadFinish -= OnStageLoadFinish; FuncOpen.Instance.OnFuncStateChangeEvent -= FuncStateChange; WindowCenter.Instance.windowAfterCloseEvent -= windowAfterOpen; @@ -1242,6 +1243,24 @@ } #endregion #region 处理跳转数据 public int funcOrder { get; private set; } public int jumpShopId { get; private set; } public void SetJumpModel(StoreFunc storeFunc,int shopId) { if (shopId == 0) return; funcOrder = (int)storeFunc - 1; jumpShopId = shopId; } public void ClearJumpModel() { funcOrder = -1; jumpShopId = 0; } #endregion } public enum StoreFunc System/Store/StoreWin.cs
@@ -130,6 +130,11 @@ functionOrder = _integralStoreTitle.order; } } if(!WindowJumpMgr.Instance.IsJumpState && m_storeModel.funcOrder != -1) { functionOrder = m_storeModel.funcOrder; } _funcBtnGroup.TriggerByOrder(functionOrder); GlobalTimeEvent.Instance.secondEvent += RefreshResetTime; } @@ -182,8 +187,25 @@ AchievementGoto.guideAchievementId = 0; } } else { if(m_storeModel.jumpShopId != 0) { _tagStoreModellist = StoreConfig.GetTypeStoreModel((int)m_storeModel.storeFuncType); for (int i = 0; i < _tagStoreModellist.Count; i++) { if (_tagStoreModellist[i].ID == m_storeModel.jumpShopId) { int index = i / 2 ; _shopCtrl.JumpIndex(index > 2 ? index - 1 : index); _shopCtrl.m_Scorller.RefreshActiveCellViews(); break; } } m_storeModel.ClearJumpModel(); } } } private void RefreshResetTime() {