| | |
| | | showCoinsUIDict = ConfigParse.GetDic<int, int>(mallCurrency.Numerical1);
|
| | | FuncConfigConfig mallPush = FuncConfigConfig.Get("MallPush");
|
| | | storeTrailerLv = int.Parse(mallPush.Numerical1);
|
| | | MainInterfaceWin.IsCopyOfThePanel += OnMoveTopPart;
|
| | |
|
| | | MainPositionTween.switchFunctionStateEvent += OnMoveTopPart;
|
| | | }
|
| | |
|
| | | public void OnBeforePlayerDataInitialize()
|
| | |
| | |
|
| | | public override void UnInit()
|
| | | {
|
| | | MainInterfaceWin.IsCopyOfThePanel -= OnMoveTopPart;
|
| | | MainPositionTween.switchFunctionStateEvent -= OnMoveTopPart;
|
| | | }
|
| | |
|
| | | public void RefreshMysteryShop()
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private void OnMoveTopPart(bool isMove)
|
| | | private void OnMoveTopPart(bool immedidately)
|
| | | {
|
| | | if (!isLogin)
|
| | | {
|
| | | SetPushPetAndMountWinState(!isMove);
|
| | | SetPushPetAndMountWinState(!MainPositionTween.isDefaultState);
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | || NewBieCenter.Instance.inGuiding
|
| | | || WindowCenter.Instance.IsOpen<FirstTimeRechargeWin>()
|
| | | || currentPushId == 0
|
| | | || !ModelCenter.Instance.GetModel<PlayerMainDate>().MainTopPanelShow)
|
| | | || MainPositionTween.rightTopState != MainPositionTween.RightTopState.Function)
|
| | | {
|
| | | isShow = false;
|
| | | }
|