| | |
| | | ImpactRankModel rankModel { get { return ModelCenter.Instance.GetModel<ImpactRankModel>(); } }
|
| | | ComposeWinModel composeModel { get { return ModelCenter.Instance.GetModel<ComposeWinModel>(); } }
|
| | | MapModel mapModel { get { return ModelCenter.Instance.GetModel<MapModel>(); } }
|
| | | PlayerSuitModel suitModel { get { return ModelCenter.Instance.GetModel<PlayerSuitModel>(); } }
|
| | |
|
| | | public bool IsJumpState { get; private set; }
|
| | | public int jumpPhase { get; private set;}
|
| | | public int jumpType { get; private set; }
|
| | |
| | | case JumpUIType.StrengthFunc4:
|
| | | case JumpUIType.StrengthFunc5:
|
| | | case JumpUIType.EquipWashType2:
|
| | | case JumpUIType.StrengthFunc1Type2:
|
| | | case JumpUIType.EquipSuitType2:
|
| | | case JumpUIType.StrengthFunc1Type2: |
| | | SetJumpLogic<EquipReinforceWin>(_tagWinSearchModel.TABID);
|
| | | break;
|
| | | case JumpUIType.EquipHighSuit:
|
| | | case JumpUIType.EquipLowSuit:
|
| | | int suitType = 0;
|
| | | int.TryParse(_tagWinSearchModel.SelectActive,out suitType);
|
| | | suitModel.SetJumpModel(suitType);
|
| | | SetJumpLogic<EquipReinforceWin>(_tagWinSearchModel.TABID);
|
| | | break;
|
| | | case JumpUIType.ComposeFunc1:
|
| | |
| | | var giftModel = ModelCenter.Instance.GetModel<OSGiftModel>();
|
| | | int giftId = 0;
|
| | | int.TryParse(_tagWinSearchModel.SelectActive, out giftId);
|
| | | if (!giftModel.CheckActivate())
|
| | | if (!giftModel.IsGiftExist(giftId))
|
| | | {
|
| | | if (PlayerDatas.Instance.baseData.coinPointTotal <= 0
|
| | | || !ModelCenter.Instance.GetModel<VipModel>().firstChargeRewardGet)
|
| | |
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("GiftAlreadyBuy");
|
| | | }
|
| | | else if (giftModel.IsGiftOverdue(giftId))
|
| | | else if (!giftModel.IsGiftExist(giftId))
|
| | | {
|
| | | SysNotifyMgr.Instance.ShowTip("MissSell");
|
| | | }
|
| | | return false;
|
| | | }
|
| | | else
|
| | | {
|
| | | giftModel.jumpGiftId = giftId;
|
| | | }
|
| | | break;
|
| | | case JumpUIType.OpenServerGift:
|
| | |
| | | StrengthFunc2 = 13,
|
| | | StrengthFunc3 = 14,
|
| | | StrengthFunc4 = 15,
|
| | | EquipSuitType2 = 241, //套装界面
|
| | | EquipLowSuit = 241, //普通套装界面
|
| | | StrengthFunc5 = 16,
|
| | | EquipWashType2 = 239, //装备洗练界面
|
| | | ComposeFunc1 = 17,
|
| | |
| | | DogzFunc2Type2 = 251, //神兽强化界面
|
| | | BindGoldWheel = 252, //绑玉转盘界面
|
| | | FlashRushToBuy = 253, //精彩活动—限时抢购界面
|
| | | EquipHighSuit = 254, //强化套装界面
|
| | | DhszTs = 1001,//定海神针功法提升界面
|
| | | HyqTs = 1002,//皓月枪功法提升界面
|
| | | GyzTs = 1003,//鬼牙刃功法提升界面
|