|
@@ -121,21 +121,21 @@ namespace GFGGame
|
|
object[] temp = viewData as object[];
|
|
object[] temp = viewData as object[];
|
|
int count = temp.Length > 2 ? (int)temp[2] : 0;
|
|
int count = temp.Length > 2 ? (int)temp[2] : 0;
|
|
int shopId = int.Parse(infos[1]);
|
|
int shopId = int.Parse(infos[1]);
|
|
- ViewManager.Show(ViewName.CLOTHING_SHOP_VIEW, new object[] { shopId, null, _itemId, count }, _fromeViewDatas, true, true);
|
|
|
|
|
|
+ isJump = ViewManager.Show(ViewName.CLOTHING_SHOP_VIEW, new object[] { shopId, null, _itemId, count }, _fromeViewDatas, true, true);
|
|
break;
|
|
break;
|
|
case ConstFunctionId.FU_ZHUANG_DECOMPOSE:
|
|
case ConstFunctionId.FU_ZHUANG_DECOMPOSE:
|
|
this.Hide();
|
|
this.Hide();
|
|
- ViewManager.Show<ClothingDecomposeView>(null, _fromeViewDatas);
|
|
|
|
|
|
+ isJump = ViewManager.Show<ClothingDecomposeView>(null, _fromeViewDatas);
|
|
break;
|
|
break;
|
|
case ConstFunctionId.SHOP_GIFT_BAG:
|
|
case ConstFunctionId.SHOP_GIFT_BAG:
|
|
this.Hide();
|
|
this.Hide();
|
|
int giftBagValue = int.Parse(infos[1]);
|
|
int giftBagValue = int.Parse(infos[1]);
|
|
- ViewManager.Show<RechargeStoreView>(giftBagValue, _fromeViewDatas);
|
|
|
|
|
|
+ isJump = ViewManager.Show<RechargeStoreView>(giftBagValue, _fromeViewDatas);
|
|
break;
|
|
break;
|
|
case ConstFunctionId.SHOP_EXCHANGE:
|
|
case ConstFunctionId.SHOP_EXCHANGE:
|
|
this.Hide();
|
|
this.Hide();
|
|
int exchangeValue = int.Parse(infos[1]);
|
|
int exchangeValue = int.Parse(infos[1]);
|
|
- ViewManager.Show<RechargeStoreView>(exchangeValue, _fromeViewDatas);
|
|
|
|
|
|
+ isJump = ViewManager.Show<RechargeStoreView>(exchangeValue, _fromeViewDatas);
|
|
break;
|
|
break;
|
|
case ConstFunctionId.JU_QING_GUAN_QIA:
|
|
case ConstFunctionId.JU_QING_GUAN_QIA:
|
|
string value = infos[1];
|
|
string value = infos[1];
|
|
@@ -159,9 +159,8 @@ namespace GFGGame
|
|
//从战斗换装必需品来源跳转到剧情界面,在剧情界面点返回后直接返回章节界面,无需返回换装界面
|
|
//从战斗换装必需品来源跳转到剧情界面,在剧情界面点返回后直接返回章节界面,无需返回换装界面
|
|
_fromeViewDatas = null;
|
|
_fromeViewDatas = null;
|
|
}
|
|
}
|
|
- ViewManager.Show(ViewName.STORY_CHAPTER_VIEW, levelCfg.chapterId, _fromeViewDatas, true);
|
|
|
|
|
|
+ isJump = ViewManager.Show(ViewName.STORY_CHAPTER_VIEW, levelCfg.chapterId, _fromeViewDatas, true);
|
|
InstanceZonesController.ShowLevelView(levelCfgId, StudioDataManager.Instance.OnFinishStoryLevel);
|
|
InstanceZonesController.ShowLevelView(levelCfgId, StudioDataManager.Instance.OnFinishStoryLevel);
|
|
- isJump = true;
|
|
|
|
}
|
|
}
|
|
else if (levelCfg.type == ConstInstanceZonesType.Studio)
|
|
else if (levelCfg.type == ConstInstanceZonesType.Studio)
|
|
{
|
|
{
|
|
@@ -220,13 +219,13 @@ namespace GFGGame
|
|
if (suitId > 0)
|
|
if (suitId > 0)
|
|
{
|
|
{
|
|
this.Hide();
|
|
this.Hide();
|
|
- ViewManager.Show(ViewName.CLOTHING_SYNTHETIC_VIEW, new object[] { suitId, _itemId }, _fromeViewDatas);
|
|
|
|
- isJump = true;
|
|
|
|
|
|
+ isJump = ViewManager.Show(ViewName.CLOTHING_SYNTHETIC_VIEW, new object[] { suitId, _itemId }, _fromeViewDatas);
|
|
|
|
+
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
case ConstFunctionId.ZHAI_XING:
|
|
case ConstFunctionId.ZHAI_XING:
|
|
this.Hide();
|
|
this.Hide();
|
|
- ViewManager.Show(ViewName.LUCKY_BOX_VIEW, null, _fromeViewDatas);
|
|
|
|
|
|
+ isJump = ViewManager.Show(ViewName.LUCKY_BOX_VIEW, null, _fromeViewDatas, true);
|
|
break;
|
|
break;
|
|
case ConstFunctionId.TAO_ZHUANG_TU_JIAN:
|
|
case ConstFunctionId.TAO_ZHUANG_TU_JIAN:
|
|
isJump = false;
|
|
isJump = false;
|
|
@@ -237,17 +236,16 @@ namespace GFGGame
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
this.Hide();
|
|
this.Hide();
|
|
- ViewManager.Show(ViewName.SUIT_GUIDE_VIEW, null, _fromeViewDatas);
|
|
|
|
- isJump = true;
|
|
|
|
|
|
+ isJump = ViewManager.Show(ViewName.SUIT_GUIDE_VIEW, null, _fromeViewDatas);
|
|
|
|
|
|
break;
|
|
break;
|
|
case ConstFunctionId.TAO_ZHUANG_HE_CHENG:
|
|
case ConstFunctionId.TAO_ZHUANG_HE_CHENG:
|
|
this.Hide();
|
|
this.Hide();
|
|
- ViewManager.Show(ViewName.SUIT_SYNTHETIC_LIST_VIEW);
|
|
|
|
|
|
+ isJump = ViewManager.Show(ViewName.SUIT_SYNTHETIC_LIST_VIEW);
|
|
break;
|
|
break;
|
|
case ConstFunctionId.SUIT_FOSTER:
|
|
case ConstFunctionId.SUIT_FOSTER:
|
|
this.Hide();
|
|
this.Hide();
|
|
- ViewManager.Show<SuitListView>(null, _fromeViewDatas);
|
|
|
|
|
|
+ isJump = ViewManager.Show<SuitListView>(null, _fromeViewDatas);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
if (isJump)
|
|
if (isJump)
|