| | |
| | | {
|
| | | IsMustBuyDay = false;
|
| | | isLogin = true;
|
| | | ClearJumpModel();
|
| | | StageManager.Instance.onStageLoadFinish -= OnStageLoadFinish;
|
| | | FuncOpen.Instance.OnFuncStateChangeEvent -= FuncStateChange;
|
| | | WindowCenter.Instance.windowAfterCloseEvent -= windowAfterOpen;
|
| | |
| | | List<StoreConfig> storelist = StoreConfig.GetAllShoplist();
|
| | | for(int i = 0; i < storelist.Count; i++)
|
| | | {
|
| | | if (storelist[i].ShopType != (int)StoreFunc.GrowStrongerStore) continue;
|
| | | if (storelist[i].ShopType != (int)StoreFunc.BindStore) continue;
|
| | |
|
| | | ItemConfig itemConfig = Config.Instance.Get<ItemConfig>(storelist[i].ItemID);
|
| | | string key = StringUtility.Contact(PlayerDatas.Instance.baseData.PlayerID,"ShopId",storelist[i].ID);
|
| | |
| | | }
|
| | |
|
| | | #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
|