Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | data.SetGatherSoul(item.level, hole);
|
| | | GatherSoulComposeModel.Compose compose;
|
| | | bool requireCompose = composeModel.ExistInComposeMat(item.id, out compose);
|
| | | data.SetTipsFuncBtn(ItemWinBtnType.putOff, OnTipFunc);
|
| | | if (requireCompose)
|
| | | {
|
| | | data.SetTipsFuncBtn(ItemWinBtnType.compose, OnTipFunc);
|
| | |
| | | {
|
| | | data.SetTipsFuncBtn(ItemWinBtnType.LevelUp, OnTipFunc);
|
| | | }
|
| | | data.SetTipsFuncBtn(ItemWinBtnType.putOff, OnTipFunc);
|
| | | itemTipsModel.SetItemTipsModel(data);
|
| | | }
|
| | | else
|
| | |
| | | data.SetGatherSoul(item.level, -1, PackType.rptGatherSoul, displayItem.index);
|
| | | if (item.itemType != GatheringSoulModel.GATHERSOUL_ESSENCE_TYPE)
|
| | | {
|
| | | GatherSoulComposeModel.Compose compose;
|
| | | if (composeModel.TryGetCompose(item.id, out compose)
|
| | | && compose.requireItems.Count > 0)
|
| | | {
|
| | | data.SetTipsFuncBtn(ItemWinBtnType.split, OnTipFunc);
|
| | | }
|
| | | else
|
| | | {
|
| | | data.SetTipsFuncBtn(ItemWinBtnType.Resolve, OnTipFunc);
|
| | | }
|
| | | GatherSoulComposeModel.Compose outCompose;
|
| | | bool requireCompose = composeModel.ExistInComposeMat(item.id, out outCompose);
|
| | | if (requireCompose)
|
| | |
| | | else
|
| | | {
|
| | | data.SetTipsFuncBtn(ItemWinBtnType.Replace, OnTipFunc);
|
| | | }
|
| | | GatherSoulComposeModel.Compose compose;
|
| | | if (composeModel.TryGetCompose(item.id, out compose)
|
| | | && compose.requireItems.Count > 0)
|
| | | {
|
| | | data.SetTipsFuncBtn(ItemWinBtnType.split, OnTipFunc);
|
| | | }
|
| | | else
|
| | | {
|
| | | data.SetTipsFuncBtn(ItemWinBtnType.Resolve, OnTipFunc);
|
| | | }
|
| | | }
|
| | | itemTipsModel.SetItemTipsModel(data);
|
| | |
| | | {
|
| | | get { return ModelCenter.Instance.GetModel<GatheringSoulModel>(); }
|
| | | }
|
| | |
|
| | | DailyQuestModel dailyQuestModel
|
| | | {
|
| | | get { return ModelCenter.Instance.GetModel<DailyQuestModel>(); }
|
| | | }
|
| | | #region Built-in
|
| | | protected override void BindController()
|
| | | {
|
| | |
| | |
|
| | | private void GetSoul()
|
| | | {
|
| | |
|
| | | dailyQuestModel.currentDailyQuest = (int)DailyQuestType.GatherSoulDungeon;
|
| | | WindowJumpMgr.Instance.WindowJumpTo(JumpUIType.DailyQuestFunc1);
|
| | | }
|
| | |
|
| | | private void GotoCompose()
|