Эх сурвалжийг харах

去掉界面跳转函数里返回上一个界面传递的数据

huangxiaoyue 1 жил өмнө
parent
commit
07325a9175
71 өөрчлөгдсөн 202 нэмэгдсэн , 227 устгасан
  1. 4 4
      GameClient/Assets/Game/HotUpdate/Controller/GameController.cs
  2. 2 2
      GameClient/Assets/Game/HotUpdate/Data/StudioDataManager.cs
  3. 1 1
      GameClient/Assets/Game/HotUpdate/ServerProxy/InstanceZonesSProxy.cs
  4. 3 3
      GameClient/Assets/Game/HotUpdate/ServerProxy/LeagueSproxy.cs
  5. 1 2
      GameClient/Assets/Game/HotUpdate/Views/ActivityDay7/ActivityDay7View.cs
  6. 1 2
      GameClient/Assets/Game/HotUpdate/Views/ActivityThemeLuckyBox/ActivityThemeLuckyBoxTaskView.cs
  7. 3 4
      GameClient/Assets/Game/HotUpdate/Views/ActivityThemeLuckyBox/ActivityThemeLuckyBoxView.cs
  8. 1 1
      GameClient/Assets/Game/HotUpdate/Views/ActivityWanShiLiUI/ActivityWanShiLiView.cs
  9. 1 3
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaDressInfoView.cs
  10. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaFightRecordView.cs
  11. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaRankView.cs
  12. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaRoundResultView.cs
  13. 3 3
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaView.cs
  14. 2 2
      GameClient/Assets/Game/HotUpdate/Views/Card/CardDetailView.cs
  15. 2 2
      GameClient/Assets/Game/HotUpdate/Views/Card/CardFosterView.cs
  16. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Card/CardStoryView.cs
  17. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Card/CardView.cs
  18. 2 2
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingListView.cs
  19. 1 1
      GameClient/Assets/Game/HotUpdate/Views/ClothingSynthetic/SuitSyntheticView.cs
  20. 15 15
      GameClient/Assets/Game/HotUpdate/Views/CommonGame/ApproachView.cs
  21. 2 2
      GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/DailyWelfareView.cs
  22. 1 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/ArenaDressUpFightView.cs
  23. 5 5
      GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpFightView.cs
  24. 1 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs
  25. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Field/FieldFightInfoView.cs
  26. 2 2
      GameClient/Assets/Game/HotUpdate/Views/Field/FieldView.cs
  27. 1 1
      GameClient/Assets/Game/HotUpdate/Views/FieldGuide/CardGuideView.cs
  28. 1 1
      GameClient/Assets/Game/HotUpdate/Views/FieldGuide/ChapterItemGuideView.cs
  29. 1 1
      GameClient/Assets/Game/HotUpdate/Views/FieldGuide/DressUpGuideView.cs
  30. 6 5
      GameClient/Assets/Game/HotUpdate/Views/FieldGuide/FieldGuideView.cs
  31. 3 3
      GameClient/Assets/Game/HotUpdate/Views/FieldGuide/SuitGuideDetailView.cs
  32. 2 2
      GameClient/Assets/Game/HotUpdate/Views/FieldGuide/SuitGuideView.cs
  33. 1 1
      GameClient/Assets/Game/HotUpdate/Views/FieldGuide/TravelGuideView.cs
  34. 2 2
      GameClient/Assets/Game/HotUpdate/Views/Friend/FriendView.cs
  35. 4 4
      GameClient/Assets/Game/HotUpdate/Views/InstanceZones/InstanceZonesUIView.cs
  36. 2 2
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueAnswerView.cs
  37. 1 1
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueCreatView.cs
  38. 2 2
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueJoinView.cs
  39. 5 5
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueMemberView.cs
  40. 1 1
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueSkillView.cs
  41. 1 1
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyOverView.cs
  42. 1 1
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyShowView.cs
  43. 1 1
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyView.cs
  44. 9 9
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueView.cs
  45. 3 4
      GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxActivityView.cs
  46. 3 3
      GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxView.cs
  47. 1 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/ArenaFightResultView.cs
  48. 2 14
      GameClient/Assets/Game/HotUpdate/Views/MainStory/InstanceZonesController.cs
  49. 3 4
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryCardChoose.cs
  50. 1 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryChapterView.cs
  51. 7 7
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryController.cs
  52. 1 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightFailView.cs
  53. 1 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightTargetScoreView.cs
  54. 3 3
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryLevelInfoView.cs
  55. 15 16
      GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs
  56. 2 2
      GameClient/Assets/Game/HotUpdate/Views/Notice/NoticeView.cs
  57. 4 4
      GameClient/Assets/Game/HotUpdate/Views/Poem/PoemGalleryView.cs
  58. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Poem/PoemPhotoPreView.cs
  59. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Poem/PoemPhotoView.cs
  60. 2 2
      GameClient/Assets/Game/HotUpdate/Views/Poem/PoemView.cs
  61. 7 9
      GameClient/Assets/Game/HotUpdate/Views/RoleInfo/RoleInfoView.cs
  62. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Store/BrocadeWeavTask.cs
  63. 4 5
      GameClient/Assets/Game/HotUpdate/Views/Store/StoreBrocadeWeavView.cs
  64. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Studio/StudioFilingView.cs
  65. 5 5
      GameClient/Assets/Game/HotUpdate/Views/Studio/StudioView.cs
  66. 4 5
      GameClient/Assets/Game/HotUpdate/Views/Task/BattlePassTaskView.cs
  67. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Task/CombTaskController.cs
  68. 1 1
      GameClient/Assets/Game/HotUpdate/Views/Task/TaskAchieveDetailView.cs
  69. 4 5
      GameClient/Assets/Game/HotUpdate/Views/Travel/TravelView.cs
  70. 17 17
      GameClient/Assets/Game/HotUpdate/Views/ViewManager.cs
  71. 4 5
      GameClient/Assets/Game/HotUpdate/Views/XiuFang/XiuFangView.cs

+ 4 - 4
GameClient/Assets/Game/HotUpdate/Controller/GameController.cs

@@ -190,11 +190,11 @@ namespace GFGGame
                     }
                     else
                     {
-                        ViewManager.Show<StoryChapterView>(MainStoryDataManager.currentChapterCfgId, new object[] { typeof(StoryChapterListView).FullName});
+                        ViewManager.Show<StoryChapterView>(MainStoryDataManager.currentChapterCfgId);
 
                         //ViewManager.Show<StoryChapterView>(StudioDataManager.Instance.luckyBoxFilingChapterId, new object[] { typeof(ActivityThemeLuckyBoxView).FullName, this.viewData });
 
-                        ViewManager.Show<StoryChapterView>(MainStoryDataManager.currentChapterCfgId, ViewManager.GetGoBackDatas(typeof(StoryChapterListView).FullName));
+                        ViewManager.Show<StoryChapterView>(MainStoryDataManager.currentChapterCfgId);
                     }
                 }
                 GMController.AddShowGMViewEventListener();
@@ -333,7 +333,7 @@ namespace GFGGame
                 }
             }
             ViewManager.Hide<GuideView>();
-            ViewManager.Show<LoginView>(null, null, true);
+            ViewManager.Show<LoginView>(null, true);
         }
 
         //断线重连后需要处理的事情
@@ -350,7 +350,7 @@ namespace GFGGame
         public static void GoBackToMainView()
         {
             MainDataManager.Instance.ViewType = 0;
-            ViewManager.Show<MainUIView>(null, null, true);
+            ViewManager.Show<MainUIView>(null, true);
         }
 
         public static void ShowExitAlert(Action sureCallback = null)

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Data/StudioDataManager.cs

@@ -137,11 +137,11 @@ namespace GFGGame
 
         public void OnFinishStudioStoryLevel(int levelCfgId, bool firstPass, bool success)
         {
-            ViewManager.Show(VIEW_NAME, PROPERTY_SELECT_INDEX, ViewManager.GetGoBackDatas(VIEW_NAME));
+            ViewManager.Show(VIEW_NAME, PROPERTY_SELECT_INDEX);
         }
         public void OnFinishFilingStoryLevel(int levelCfgId, bool firstPass, bool success)
         {
-            ViewManager.Show<StudioFilingView>(MainStoryDataManager.currentChapterCfgId, ViewManager.GetGoBackDatas(typeof(StudioFilingView).FullName), true);
+            ViewManager.Show<StudioFilingView>(MainStoryDataManager.currentChapterCfgId, true);
         }
 
         private float GetAdditionBySuitId(int suitId)

+ 1 - 1
GameClient/Assets/Game/HotUpdate/ServerProxy/InstanceZonesSProxy.cs

@@ -105,7 +105,7 @@ namespace GFGGame
                         FirstPass = response.HasOnceBonus,
                         Star = response.Star,
                         BonusList = bonusList
-                    }, null, true);
+                    }, true);
                     if (response.HasOnceBonus)
                     {
                         FunctionOpenDataManager.Instance.CheckHasChapterFunOpen(response.LevelCfgId);

+ 3 - 3
GameClient/Assets/Game/HotUpdate/ServerProxy/LeagueSproxy.cs

@@ -67,7 +67,7 @@ namespace GFGGame
             {
                 if (ViewManager.isViewOpen(typeof(LeagueView).FullName))
                 {
-                    ViewManager.Show<MainUIView>(null, null, true);
+                    ViewManager.Show<MainUIView>(null, true);
                     PromptController.Instance.ShowFloatTextPrompt("您的雅集已解散");
                 }
                 LeagueDataManager.Instance.Clear();
@@ -114,7 +114,7 @@ namespace GFGGame
                     LeagueSproxy.ReqGetLeagueInfo().Coroutine();
                     if (ViewManager.isViewOpen(typeof(LeagueView).FullName))
                     {
-                        ViewManager.Show<MainUIView>(null, null, true);
+                        ViewManager.Show<MainUIView>(null, true);
                     }
                     PromptController.Instance.ShowFloatTextPrompt("您已离开雅集");
                     return;
@@ -156,7 +156,7 @@ namespace GFGGame
                 bool result = await LeagueSproxy.ReqGetLeagueInfo();
                 if (result && ViewManager.isViewOpen(typeof(LeagueJoinView).FullName))
                 {
-                    ViewManager.Show<LeagueView>(null, new object[] { typeof(MainUIView).FullName, null }, true);
+                    ViewManager.Show<LeagueView>(null, true);
                 }
             }
             else

+ 1 - 2
GameClient/Assets/Game/HotUpdate/Views/ActivityDay7/ActivityDay7View.cs

@@ -234,8 +234,7 @@ namespace GFGGame
             {
                 param[i] = taskCfg.jumpParamArr[i];
             }
-            ViewManager.JumpToView(taskCfg.jumpId, param,
-                new[] { typeof(ActivityDay7View).FullName, viewData });
+            ViewManager.JumpToView(taskCfg.jumpId, param);
         }
 
         private List<GComponent> components = new List<GComponent>();

+ 1 - 2
GameClient/Assets/Game/HotUpdate/Views/ActivityThemeLuckyBox/ActivityThemeLuckyBoxTaskView.cs

@@ -125,8 +125,7 @@ namespace GFGGame
             {
                 param[i] = taskCfg.jumpParamArr[i];
             }
-            ViewManager.JumpToView(taskCfg.jumpId, param,
-                new object[] { typeof(ActivityThemeLuckyBoxView).FullName, true });
+            ViewManager.JumpToView(taskCfg.jumpId, param);
             Hide();
         }
     }

+ 3 - 4
GameClient/Assets/Game/HotUpdate/Views/ActivityThemeLuckyBox/ActivityThemeLuckyBoxView.cs

@@ -98,20 +98,19 @@ namespace GFGGame
         }
         private void OnBtnChapterClick()
         {
-            ViewManager.Show<StudioFilingView>(StudioDataManager.Instance.GetLuckyBoxActivityID(), new object[] { typeof(ActivityThemeLuckyBoxView).FullName, this.viewData });
+            ViewManager.Show<StudioFilingView>(StudioDataManager.Instance.GetLuckyBoxActivityID());
         }
         private void OnBtnLuckyBoxClick()
         {
             long endTime = TimeUtil.DateTimeToTimestamp(_activityCfg.endTime);
             long curTime = TimeHelper.ServerNow();
             if (endTime < curTime) return;
-            ViewManager.Show<LuckyBoxActivityView>(_activityId, new object[] { typeof(ActivityThemeLuckyBoxView).FullName, this.viewData });
+            ViewManager.Show<LuckyBoxActivityView>(_activityId);
         }
 
         private void OnBtnShopClick()
         {
-            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_GIFT_BAG, ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY }
- , new object[] { typeof(ActivityThemeLuckyBoxView).FullName, viewData });
+            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_GIFT_BAG, ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY });
         }
 
         private void UpdateTime(object param = null)

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/ActivityWanShiLiUI/ActivityWanShiLiView.cs

@@ -288,7 +288,7 @@ namespace GFGGame
             else
             {
                 // 显示奖励详细列表
-                ViewManager.Show<GiftDetailView>(getState.rewardID, ViewManager.GetGoBackDatas(typeof(ActivityWanShiLiView).FullName));
+                ViewManager.Show<GiftDetailView>(getState.rewardID);
             }
         }
 

+ 1 - 3
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaDressInfoView.cs

@@ -144,9 +144,7 @@ namespace GFGGame
 
         private void OnBtnDressClick()
         {
-            ViewManager.Show<ArenaDressUpFightView>(null,
-                new object[]
-                    { typeof(ArenaDressInfoView).FullName, new object[] { _roleType, _themeIndex, _roleDatas, "" } });
+            ViewManager.Show<ArenaDressUpFightView>();
         }
 
         private async void OnBtnRecommendClick()

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaFightRecordView.cs

@@ -102,7 +102,7 @@ namespace GFGGame
             bool result = await ArenaSproxy.ReqArenaFightAttr(targetData.RoleInfo.roleId, targetData.FightDatas);
             if (result)
             {
-                ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.TAEGET, 0, targetData.FightDatas, typeof(ArenaFightRecordView).FullName }, new object[] { typeof(ArenaView).FullName, ViewManager.GetUIView(typeof(ArenaView).Name).viewData }, true);
+                ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.TAEGET, 0, targetData.FightDatas, typeof(ArenaFightRecordView).FullName }, true);
             }
 
         }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaRankView.cs

@@ -338,7 +338,7 @@ namespace GFGGame
             bool result = await ArenaSproxy.ReqArenaFightAttr(targetData.RoleInfo.roleId, targetData.FightDatas);
             if (result)
             {
-                ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.TAEGET, 0, targetData.FightDatas, typeof(ArenaRankView).FullName }, new object[] { typeof(ArenaView).FullName, ViewManager.GetUIView(typeof(ArenaView).Name).viewData }, true);
+                ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.TAEGET, 0, targetData.FightDatas, typeof(ArenaRankView).FullName }, true);
             }
         }
     }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaRoundResultView.cs

@@ -90,7 +90,7 @@ namespace GFGGame
         {
             ArenaTargetData targetData = _dataManager.LastTargets[_dataManager.SelectTargetIndex];
 
-            ViewManager.Show<StoryFightTargetScoreView>(new object[] { _dataManager.DressupList[_dataManager.CurFightIndex], targetData.FightDatas[_dataManager.CurFightIndex] }, null, true);
+            ViewManager.Show<StoryFightTargetScoreView>(new object[] { _dataManager.DressupList[_dataManager.CurFightIndex], targetData.FightDatas[_dataManager.CurFightIndex] }, true);
         }
         private void FinishFight()
         {

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaView.cs

@@ -155,7 +155,7 @@ namespace GFGGame
         }
         private void OnBtnShopClick()
         {
-            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_ARENA, ConstStoreSubId.STORE_ARENA_ITEM }, new object[] { typeof(ArenaView).FullName, this.viewData });
+            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_ARENA, ConstStoreSubId.STORE_ARENA_ITEM });
         }
         private void OnBtnRewardClick()
         {
@@ -267,7 +267,7 @@ namespace GFGGame
             }
             else
             {
-                ViewManager.Show<StoryFightTargetView>(null, null, true);
+                ViewManager.Show<StoryFightTargetView>(null, true);
             }
         }
         private async ETTask<bool> GetFightResult()
@@ -446,7 +446,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("玩家不在线,无法查看搭配");
                 return;
             }
-            ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.TAEGET, 0, targetData.FightDatas, "" }, new object[] { typeof(ArenaView).FullName, this.viewData }, true);
+            ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.TAEGET, 0, targetData.FightDatas, "" }, true);
         }
         private void CheckGuide(object param)
         {

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/Card/CardDetailView.cs

@@ -150,7 +150,7 @@ namespace GFGGame
         {
             CardData cardData = (CardData)(context.data as GObject).data;
             cardData.fromUIType = typeof(CardDetailView).FullName;
-            ViewManager.Show<CardFosterView>((context.data as GObject).data, new object[] { typeof(CardDetailView).FullName, _ui.m_listRole.selectedIndex });
+            ViewManager.Show<CardFosterView>((context.data as GObject).data);
             // this.Clear();
 
         }
@@ -178,7 +178,7 @@ namespace GFGGame
         /*******************************************************监听函数**************************************************/
         private void OnclickBtnFilter()
         {
-            ViewManager.Show<CardFilterView>(null, new object[] {typeof(CardDetailView).FullName, _ui.m_listRole.selectedIndex });
+            ViewManager.Show<CardFilterView>();
         }
         private void OnClickBtnBack()
         {

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/Card/CardFosterView.cs

@@ -685,7 +685,7 @@ namespace GFGGame
                     if (_showLv - lv >= 1)
                     {
                         // this._selectTab = _comFosterBottom.m_ctrlTab.selectedIndex;
-                        ViewManager.Show<CardUpView>(new object[] { _cardData.scores, "lv", lv, _showLv , _cardData.id }, new object[] { typeof(CardFosterView).FullName, _cardData });
+                        ViewManager.Show<CardUpView>(new object[] { _cardData.scores, "lv", lv, _showLv , _cardData.id });
                     }
                     this.UpdateCommon();
                     this.UpdateUpLvView(false, 0, 0, true);
@@ -1014,7 +1014,7 @@ namespace GFGGame
 
         private void OpenCardUp(string strType)
         {
-            ViewManager.Show<CardUpView>(new object[] { _cardData.scores, strType, _cardData.star - 1, _cardData.star, _cardData.id , _fromUIType }, new object[] { typeof(CardFosterView).FullName, _cardData });
+            ViewManager.Show<CardUpView>(new object[] { _cardData.scores, strType, _cardData.star - 1, _cardData.star, _cardData.id , _fromUIType });
         }
         /***********************************************************升技能***************************************************/
 

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Card/CardStoryView.cs

@@ -78,7 +78,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt(string.Format("词牌星级达到{0}级解锁", _viewData.itemCfg.cardMoodStar));
                 return;
             }
-            ViewManager.Show<CardMoodView>(_viewData, new object[] { typeof(CardStoryView).FullName, _viewData });
+            ViewManager.Show<CardMoodView>(_viewData);
         }
         protected override void OnHide()
         {

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Card/CardView.cs

@@ -64,7 +64,7 @@ namespace GFGGame
             });
             _ui.m_t0.SetHook("open", () =>
             {
-                ViewManager.Show<CardDetailView>(null, new object[] { typeof(CardView).FullName, this.viewData });
+                ViewManager.Show<CardDetailView>();
             });
         }
         protected override void OnHide()

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingListView.cs

@@ -167,11 +167,11 @@ namespace GFGGame
             {
                 if (haveSuit)
                 {
-                    ViewManager.Show<ClothingView>(new object[] { suitId, _suitIds }, new object[] { typeof(ClothingListView).FullName, this.viewData });
+                    ViewManager.Show<ClothingView>(new object[] { suitId, _suitIds });
                 }
                 else
                 {
-                    ViewManager.Show<SuitPartsDetailView>(suitId, new object[] { typeof(ClothingListView).FullName, this.viewData });
+                    ViewManager.Show<SuitPartsDetailView>(suitId);
                 }
             });
 

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/ClothingSynthetic/SuitSyntheticView.cs

@@ -171,7 +171,7 @@ namespace GFGGame
             {
                 if (!isLock)
                 {
-                    ViewManager.Show<ClothingSyntheticView>(new object[] { suitId }, new object[] { typeof(SuitSyntheticView).FullName, suitId });
+                    ViewManager.Show<ClothingSyntheticView>(new object[] { suitId });
                 }
             });
             // 提示合成物品的红点

+ 15 - 15
GameClient/Assets/Game/HotUpdate/Views/CommonGame/ApproachView.cs

@@ -169,11 +169,11 @@ namespace GFGGame
                     //     isJump = false;
                     //     break;
                     // }
-                    isJump = ViewManager.Show<ClothingShopView>(new object[] { shopId, null, _itemId, needCount }, _fromViewDatas, false, true);
+                    isJump = ViewManager.Show<ClothingShopView>(new object[] { shopId, null, _itemId, needCount }, false, true);
                     break;
                 case ConstFunctionId.FU_ZHUANG_DECOMPOSE:
                     // this.Hide();
-                    isJump = ViewManager.Show<ClothingDecomposeView>(null, _fromViewDatas);
+                    isJump = ViewManager.Show<ClothingDecomposeView>();
                     break;
                 case ConstFunctionId.STORE:
 
@@ -227,11 +227,11 @@ namespace GFGGame
                             StudioDataManager.Instance.filingChapterId = studioCfg.id;
                             if (StudioDataManager.Instance.IsluckyBoxFilingChapter())
                             {
-                                ViewManager.Show<StudioFilingView>(studioCfg.id, _fromViewDatas);
+                                ViewManager.Show<StudioFilingView>(studioCfg.id);
                             }
                             else
                             {
-                                ViewManager.Show<StudioFilingView>(null, _fromViewDatas);
+                                ViewManager.Show<StudioFilingView>();
                             }
                             MainStoryDataManager.currentLevelCfgId = levelCfg.id;
                             InstanceZonesController.ShowLevelView(levelCfg.id, StudioDataManager.Instance.OnFinishFilingStoryLevel, _itemId, _needCount);
@@ -254,7 +254,7 @@ namespace GFGGame
                             }
                             string viewName = "GFGGame." + studioCfg.funId;
 
-                            ViewManager.Show(viewName, StudioDataManager.Instance.PROPERTY_SELECT_INDEX, _fromViewDatas);
+                            ViewManager.Show(viewName, StudioDataManager.Instance.PROPERTY_SELECT_INDEX);
                             StudioDataManager.Instance.VIEW_NAME = viewName;
                             InstanceZonesController.ShowLevelView(levelCfgId, StudioDataManager.Instance.OnFinishStudioStoryLevel, _itemId, _needCount);
                             isJump = true;
@@ -280,7 +280,7 @@ namespace GFGGame
                             //从战斗换装必需品来源跳转到剧情界面,在剧情界面点返回后直接返回章节界面,无需返回换装界面
                             _fromViewDatas = null;
                         }
-                        isJump = ViewManager.Show<StoryChapterView>(levelCfg.chapterId, _fromViewDatas, false);
+                        isJump = ViewManager.Show<StoryChapterView>(levelCfg.chapterId, false);
                         StoryController.ShowLevelView(levelCfgId, _itemId, _needCount);
                         break;
                     }
@@ -294,17 +294,17 @@ namespace GFGGame
                         bool isPass = InstanceZonesDataManager.CheckLevelPass(suitCfg.syntheticStoryLevelId);
                         if (suitCfg.syntheticStoryLevelId > 0 && !isPass)
                         {
-                            isJump = ViewManager.Show<SuitSyntheticView>(suitId, _fromViewDatas);
+                            isJump = ViewManager.Show<SuitSyntheticView>(suitId);
                         }
                         else
                         {
-                            isJump = ViewManager.Show<ClothingSyntheticView>(new object[] { suitId, _itemId }, _fromViewDatas);
+                            isJump = ViewManager.Show<ClothingSyntheticView>(new object[] { suitId, _itemId });
                         }
                     }
                     break;
                 case ConstFunctionId.ZHAI_XING:
                     // this.Hide();
-                    isJump = ViewManager.Show<LuckyBoxView>(null, _fromViewDatas, true);
+                    isJump = ViewManager.Show<LuckyBoxView>(null, true);
                     break;
                 case ConstFunctionId.TAO_ZHUANG_TU_JIAN:
                     isJump = false;
@@ -312,28 +312,28 @@ namespace GFGGame
                     {
                         return;
                     }
-                    isJump = ViewManager.Show<SuitGuideView>(null, _fromViewDatas);
+                    isJump = ViewManager.Show<SuitGuideView>();
 
                     break;
                 case ConstFunctionId.TAO_ZHUANG_HE_CHENG:
                     isJump = ViewManager.Show<SuitSyntheticView>();
                     break;
                 case ConstFunctionId.SUIT_FOSTER:
-                    isJump = ViewManager.Show<ClothingListView>(null, _fromViewDatas);
+                    isJump = ViewManager.Show<ClothingListView>();
                     break;
                 case ConstFunctionId.DAILY_TASK:
-                    isJump = ViewManager.Show<TaskView>(null, _fromViewDatas);
+                    isJump = ViewManager.Show<TaskView>();
                     break;
                 case ConstFunctionId.WEEKLY_TASK:
-                    isJump = ViewManager.Show<TaskView>(new object[] { 1 }, _fromViewDatas);
+                    isJump = ViewManager.Show<TaskView>(new object[] { 1 });
                     break;
                 case ConstFunctionId.LEAGUE_PRAY:
-                    isJump = ViewManager.Show<LeaguePrayView>(null, _fromViewDatas);
+                    isJump = ViewManager.Show<LeaguePrayView>();
                     break;
                 case ConstFunctionId.LEAGUE_ANSWER:
                     if (LeagueDataManager.Instance.Type == LeagueJoinType.Join)
                     {
-                        ViewManager.Show<LeagueView>(null, _fromViewDatas);
+                        ViewManager.Show<LeagueView>();
                         isJump = ViewManager.Show<LeagueAnswerView>();
                     }
                     else

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/DailyWelfare/DailyWelfareView.cs

@@ -155,10 +155,10 @@ namespace GFGGame
 
             if (id == 501)
             {
-                ViewManager.Show<NewLimitChargeView>(new object[] { gObject.data }, new object[] { typeof(DailyWelfareView).FullName, this.viewData });
+                ViewManager.Show<NewLimitChargeView>(new object[] { gObject.data });
                 return;
             }
-            ViewManager.Show<LimitChargeView>(new object[] { gObject.data }, new object[] { typeof(DailyWelfareView).FullName, this.viewData });
+            ViewManager.Show<LimitChargeView>(new object[] { gObject.data });
         }
         private void OnBtnSevenDayLoginClick()
         {

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/ArenaDressUpFightView.cs

@@ -974,7 +974,7 @@ namespace GFGGame
 
         private void OnClickBtnSearch()
         {
-            ViewManager.Show<DressFilterView>(false, new object[] { typeof(DressUpView).FullName});
+            ViewManager.Show<DressFilterView>(false);
         }
         private void OnClickBtnLastStep()
         {

+ 5 - 5
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpFightView.cs

@@ -375,7 +375,7 @@ namespace GFGGame
 
         private void OnClickBtnClothingShop()
         {
-            ViewManager.Show<ClothingShopView>(new object[] { null, scoreType }, null, false, true);
+            ViewManager.Show<ClothingShopView>(new object[] { null, scoreType }, false, true);
         }
 
         private void OnClickListType1Item(EventContext context)
@@ -688,9 +688,9 @@ namespace GFGGame
             }
 
             if (hasFightTarget)
-                ViewManager.Show<StoryFightTargetView>(null,null,true);
+                ViewManager.Show<StoryFightTargetView>(null,true);
             else
-                ViewManager.Show<StoryFightSingleView>(null, null, true);
+                ViewManager.Show<StoryFightSingleView>(null, true);
 
             ViewManager.DeleteViewStackCountDown(1);
         }
@@ -1363,7 +1363,7 @@ namespace GFGGame
             int type = 0;
             if (_IsTeaParty)
                 type = 1;
-            ViewManager.Show<DressFilterView>(new object[] { 0, 0, type}, new object[] { typeof(DressUpView).FullName});
+            ViewManager.Show<DressFilterView>(new object[] { 0, 0, type});
         }
         private void OnClickBtnAutoPlay()
         {
@@ -1379,7 +1379,7 @@ namespace GFGGame
             }
             if (_fightCfg.needSuitId > 0)
             {
-                ViewManager.Show<SuitPartsDetailView>(_fightCfg.needSuitId, new object[] { typeof(DressUpFightView).FullName, this.viewData });
+                ViewManager.Show<SuitPartsDetailView>(_fightCfg.needSuitId);
             }
             else
             {

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpView.cs

@@ -456,7 +456,7 @@ namespace GFGGame
         }
         private void OnClickBtnSearch()
         {
-            ViewManager.Show<DressFilterView>(true, new object[] { typeof(DressUpView).FullName});
+            ViewManager.Show<DressFilterView>(true);
         }
 
 

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Field/FieldFightInfoView.cs

@@ -72,7 +72,7 @@ namespace GFGGame
                 InstanceZonesDataManager.currentScoreType = FieldFightDataManager.Instance.CurrentScoreType;
                 InstanceZonesDataManager.currentLevelCfgId = FieldFightDataManager.Instance.currentLevelCfgId;
 
-                ViewManager.Show<StoryFightTargetView>(null,null,true);
+                ViewManager.Show<StoryFightTargetView>(null,true);
                 this.Hide();
             }
             _ui.m_txtTime.text = string.Format("{0}秒后自动进入下一轮", _time);

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/Field/FieldView.cs

@@ -185,7 +185,7 @@ namespace GFGGame
                         DressUpFightType dressUpFightType = new DressUpFightType();
                         dressUpFightType.levelID = curLevelId;
                         dressUpFightType.teaPartID = 0;
-                        ViewManager.Show<DressUpFightView>(dressUpFightType, new object[] { typeof(FieldView).FullName, this.viewData }, true);
+                        ViewManager.Show<DressUpFightView>(dressUpFightType, true);
                         InstanceZonesDataManager.currentLevelCfgId = curLevelId;
                     });
                 }
@@ -256,7 +256,7 @@ namespace GFGGame
             DressUpFightType dressUpFightType = new DressUpFightType();
             dressUpFightType.levelID = curLevelId;
             dressUpFightType.teaPartID = 0;
-            ViewManager.Show<DressUpFightView>(dressUpFightType, new object[] { typeof(FieldView).FullName, this.viewData }, true);
+            ViewManager.Show<DressUpFightView>(dressUpFightType, true);
             InstanceZonesDataManager.currentLevelCfgId = curLevelId;
         }
         private void OnBtnTaskClick()

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/CardGuideView.cs

@@ -137,7 +137,7 @@ namespace GFGGame
             {
                 CardData cardData = CardDataManager.GetCardDataById(_cardList[index]);
                 cardData.fromUIType = typeof(CardGuideView).FullName;
-                ViewManager.Show<CardFosterView>(cardData, new object[] { typeof(CardGuideView).FullName, _ui.m_listRole.selectedIndex });
+                ViewManager.Show<CardFosterView>(cardData);
             }   
         }
 

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/ChapterItemGuideView.cs

@@ -82,7 +82,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("暂未解锁");
                 return;
             }
-            ViewManager.Show<ChapterItemShowView>(cfg, new object[] { typeof(ChapterItemGuideView).FullName, this.viewData });
+            ViewManager.Show<ChapterItemShowView>(cfg);
         }
     }
 }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/DressUpGuideView.cs

@@ -336,7 +336,7 @@ namespace GFGGame
 
         private void OnClickBtnSearch()
         {
-            ViewManager.Show<DressFilterView>(false, new object[] {typeof(DressUpView).FullName});
+            ViewManager.Show<DressFilterView>(false);
         }
 
         private void FilterItems(EventContext context)

+ 6 - 5
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/FieldGuideView.cs

@@ -134,22 +134,23 @@ namespace GFGGame
             switch (id)
             {
                 case ConstFieldGuideId.SUIT_GUIDE:
-                    ViewManager.Show<SuitGuideView>(null, new object[] { typeof(FieldGuideView).FullName, this.viewData });
+                    ViewManager.Show<SuitGuideView>();
                     break;
                 case ConstFieldGuideId.CHAPTER_ITEM:
-                    ViewManager.Show<ChapterItemGuideView>(null, new object[] { typeof(FieldGuideView).FullName, this.viewData });
+                    ViewManager.Show<ChapterItemGuideView>();
                     break;
                 case ConstFieldGuideId.TRAVEL_GUIDE:
-                    ViewManager.Show<TravelGuideView>(null, new object[] { typeof(FieldGuideView).FullName, this.viewData });
+                    ViewManager.Show<TravelGuideView>();
+                    ViewManager.Show<TravelGuideView>();
                     break;
                 case ConstFieldGuideId.DRESS_UP_GUIDE:
-                    ViewManager.Show<DressUpGuideView>(null, new object[] { typeof(FieldGuideView).FullName, this.viewData });
+                    ViewManager.Show<DressUpGuideView>();
                     break;
                 case ConstFieldGuideId.CARD_GUIDE:
                     bool open = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(CardDetailView).Name, false);
                     if (open)
                     {
-                        ViewManager.Show<CardGuideView>(null, new object[] { typeof(FieldGuideView).FullName, this.viewData });
+                        ViewManager.Show<CardGuideView>();
                     }
                     else
                     {

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/SuitGuideDetailView.cs

@@ -106,7 +106,7 @@ namespace GFGGame
 
         private void OnClickBtnSearch()
         {
-            ViewManager.Show<DressFilterView>(new object[] { 0, 2 }, new object[] { typeof(SuitGuideDetailView).FullName });
+            ViewManager.Show<DressFilterView>(new object[] { 0, 2 });
         }
 
         private void UpdateListSuit()
@@ -180,11 +180,11 @@ namespace GFGGame
             {
                 if (haveSuit)
                 {
-                    ViewManager.Show<SuitShowView>(new object[] { _suitTypeId, suitId, _suitIds }, new object[] { typeof(SuitGuideDetailView).FullName, this.viewData });
+                    ViewManager.Show<SuitShowView>(new object[] { _suitTypeId, suitId, _suitIds });
                 }
                 else
                 {
-                    ViewManager.Show<SuitPartsDetailView>(suitId, new object[] { typeof(SuitGuideDetailView).FullName, this.viewData });
+                    ViewManager.Show<SuitPartsDetailView>(suitId);
                 }
             });
         }

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/SuitGuideView.cs

@@ -162,7 +162,7 @@ namespace GFGGame
             item.m_icon.url = string.Format("ui://FieldGuide/tj_tz_{0}", typeId);
             item.target.onClick.Add(() =>
             {
-                ViewManager.Show<SuitGuideDetailView>(typeId, new object[] { typeof(SuitGuideView).FullName, this.viewData });
+                ViewManager.Show<SuitGuideDetailView>(typeId);
             });
 
             _suitTypeItems.Add(item);
@@ -205,7 +205,7 @@ namespace GFGGame
         {
             GObject obj = eventContext.data as GObject;
             int index = _ui.m_suitType2Items.GetChildIndex(obj);
-            ViewManager.Show<SuitGuideDetailView>(_menuTypeAllDataDic[_ui.m_c1.selectedIndex + 1][index], new object[] { typeof(SuitGuideView).FullName, this.viewData });
+            ViewManager.Show<SuitGuideDetailView>(_menuTypeAllDataDic[_ui.m_c1.selectedIndex + 1][index]);
         }
 
         private void OnClickBtnBack()

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/FieldGuide/TravelGuideView.cs

@@ -73,7 +73,7 @@ namespace GFGGame
             GObject obj = context.data as GObject;
             TravelGuideCfg cfg = obj.data as TravelGuideCfg;
 
-            ViewManager.Show<TravelShowView>(cfg, new object[] { typeof(TravelGuideView).FullName, this.viewData });
+            ViewManager.Show<TravelShowView>(cfg);
         }
     }
 }

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/Friend/FriendView.cs

@@ -308,12 +308,12 @@ namespace GFGGame
         {
             if (_friendRoleId == 0)
             {
-                ViewManager.Show<RoleInfoView>(null, new object[] { typeof(FriendView).FullName, _friendRoleId });
+                ViewManager.Show<RoleInfoView>();
             }
             else
             {
                 FriendInfoData friendInfoData = FriendDataManager.Instance.GetFriendDataById(_friendRoleId);
-                ViewManager.Show<OtherRoleInfoView>(new object[] { friendInfoData.roleInfo, friendInfoData.roleDetailInfo }, new object[] { typeof(FriendView).FullName, _friendRoleId });
+                ViewManager.Show<OtherRoleInfoView>(new object[] { friendInfoData.roleInfo, friendInfoData.roleDetailInfo });
             }
         }
         private void OnBtnAddClick()

+ 4 - 4
GameClient/Assets/Game/HotUpdate/Views/InstanceZones/InstanceZonesUIView.cs

@@ -112,23 +112,23 @@ namespace GFGGame
 
         private void OnClickBtnStudio()
         {
-            ViewManager.Show<StudioView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<StudioView>();
         }
 
         private void OnClickBtnTravel()
         {
-            ViewManager.Show<TravelView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<TravelView>();
         }
 
         private void OnClickBtnPoem()
         {
-            ViewManager.Show<PoemView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<PoemView>();
         }
 
         private void OnClickBtnField()
         {
             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.TIAN_YE_DIAO_CHA, 1);
-            ViewManager.Show<FieldView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<FieldView>();
         }
 
         private void OnClickBtnArena()

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/League/LeagueAnswerView.cs

@@ -100,9 +100,9 @@ namespace GFGGame
             }
 
             if (LeagueDataManager.Instance.TeaPartyStatus == LeagueTeaPartyStatus.YesGo && !LeagueDataManager.Instance.RoleTeapartyInfo.IsComplete && LeagueDataManager.Instance.RoleTeapartyInfo.Status)
-                ViewManager.Show<LeagueTeaPartyShowView>(null, new object[] { typeof(LeagueView).FullName, null });
+                ViewManager.Show<LeagueTeaPartyShowView>();
             else 
-                ViewManager.Show<LeagueTeaPartyView>(null, new object[] { typeof(LeagueView).FullName, null });
+                ViewManager.Show<LeagueTeaPartyView>();
         }
         
         private void UpdateView()

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/League/LeagueCreatView.cs

@@ -94,7 +94,7 @@ namespace GFGGame
             bool result = await LeagueSproxy.ReqCreateLeague(leagueName, GlobalCfgArray.globalCfg.badgeResArr[_ui.m_listIcon.selectedIndex]);
             if (result)
             {
-                ViewManager.Show<LeagueView>(null, new object[] { typeof(MainUIView).FullName, null }, true);
+                ViewManager.Show<LeagueView>(null, true);
             }
         }
 

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/League/LeagueJoinView.cs

@@ -83,7 +83,7 @@ namespace GFGGame
         }
         private void OnBtnCreatClick()
         {
-            ViewManager.Show<LeagueCreatView>(null, new object[] { typeof(LeagueJoinView).FullName, null });
+            ViewManager.Show<LeagueCreatView>();
         }
         private async void ReqLeagueList(string leagueName)
         {
@@ -142,7 +142,7 @@ namespace GFGGame
                 bool result = await LeagueSproxy.ReqJoinLeague(leagueId);
                 if (result)
                 {
-                    ViewManager.Show<LeagueView>(null, new object[] { typeof(MainUIView).FullName, null });
+                    ViewManager.Show<LeagueView>();
                     OnBtnBackClick();
                 }
             }

+ 5 - 5
GameClient/Assets/Game/HotUpdate/Views/League/LeagueMemberView.cs

@@ -103,12 +103,12 @@ namespace GFGGame
         //申请列表
         private void OnBtnApplyListClick()
         {
-            ViewManager.Show<LeagueApplyView>(null, new object[] { typeof(LeagueMemberView).FullName, null });
+            ViewManager.Show<LeagueApplyView>();
         }
         //联盟日志
         private void OnBtnMemberLogClick()
         {
-            ViewManager.Show<LeagueMemberLogView>(null, new object[] { typeof(LeagueMemberView).FullName, null });
+            ViewManager.Show<LeagueMemberLogView>();
         }
         //退出联盟
         private void OnBtnExitClick()
@@ -143,7 +143,7 @@ namespace GFGGame
                     bool result = await LeagueSproxy.ReqQuitLeague();
                     if (result)
                     {
-                        ViewManager.Show<MainUIView>(null, null, true);
+                        ViewManager.Show<MainUIView>(null, true);
                     }
                 });
             }
@@ -242,7 +242,7 @@ namespace GFGGame
             long roleId = (long)gObject.data;
             OtherRoleInfoData roleInfoData = LeagueDataManager.Instance.GetMemberRoleInfo(roleId);
             OtherRoleInfoDetailData detailData = await RoleInfoSProxy.ReqOtherRoleDetailInfo(roleId);
-            ViewManager.Show<OtherRoleInfoView>(new object[] { roleInfoData, detailData }, new object[] { typeof(LeagueView).FullName, null });
+            ViewManager.Show<OtherRoleInfoView>(new object[] { roleInfoData, detailData });
         }
         private void RenderListItem(int index, GObject obj)
         {
@@ -291,7 +291,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("该玩家已离开雅集");
                 return;
             }
-            ViewManager.Show<LeagueMemberAppointView>(memberData, new object[] { typeof(LeagueMemberView).FullName, null });
+            ViewManager.Show<LeagueMemberAppointView>(memberData);
         }
 
         private List<long> SortMemberIds(List<long> memberIds)

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/League/LeagueSkillView.cs

@@ -120,7 +120,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("学完前一类所有技能开启");
                 return;
             }
-            ViewManager.Show<LeagueSkillUpView>(type, new object[] { typeof(LeagueSkillView).FullName });
+            ViewManager.Show<LeagueSkillUpView>(type);
         }
     }
 }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyOverView.cs

@@ -111,7 +111,7 @@ namespace GFGGame
 
         private void OnBtnBackClick()
         {
-            ViewManager.Show<LeagueTeaPartyView>(null,null,true);
+            ViewManager.Show<LeagueTeaPartyView>(null,true);
         }
 
         private void OnBtnRewardClick()

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyShowView.cs

@@ -111,7 +111,7 @@ namespace GFGGame
         {
             var openCfg = TeapartyOpenCfgArray.Instance.GetCfg(LeagueDataManager.Instance.TeaPartyId);
             string stroyStartID = openCfg.storyId.ToString();
-            ViewManager.Show<StoryDialogView>(new object[] { stroyStartID, false, new OnCompleteStoryDialogCall(OnCompletePriorStoryDialog), null, true }, null, true);
+            ViewManager.Show<StoryDialogView>(new object[] { stroyStartID, false, new OnCompleteStoryDialogCall(OnCompletePriorStoryDialog), null, true }, true);
         }
 
         private static void OnCompletePriorStoryDialog(bool isSkip, object param)

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyView.cs

@@ -233,7 +233,7 @@ namespace GFGGame
             DressUpFightType dressUpFightType = new DressUpFightType();
             dressUpFightType.levelID = 0;
             dressUpFightType.teaPartID = LeagueDataManager.Instance.ChooseTeaPartId;
-            ViewManager.Show<DressUpFightView>(dressUpFightType, new object[] { typeof(LeagueTeaPartyView).FullName, null }, true);
+            ViewManager.Show<DressUpFightView>(dressUpFightType, true);
         }
 
         private void UpDataTime(object param = null)

+ 9 - 9
GameClient/Assets/Game/HotUpdate/Views/League/LeagueView.cs

@@ -94,26 +94,26 @@ namespace GFGGame
         }
         private void OnBtnMemberClick()
         {
-            ViewManager.Show<LeagueMemberView>(null, new object[] { typeof(LeagueView).FullName, null });
+            ViewManager.Show<LeagueMemberView>();
         }
         private void OnBtnConstructClick()
         {
-            ViewManager.Show<LeagueConstructView>(null, new object[] { typeof(LeagueView).FullName, null });
+            ViewManager.Show<LeagueConstructView>();
         }
         private void OnComLeagueHeadClick()
         {
-            ViewManager.Show<LeagueChangeNameView>(null, new object[] { typeof(LeagueView).FullName, null });
+            ViewManager.Show<LeagueChangeNameView>();
         }
         private void OnBtnChangeNoticeClick()
         {
-            ViewManager.Show<LeagueChangeNoticeView>(null, new object[] { typeof(LeagueView).FullName, null });
+            ViewManager.Show<LeagueChangeNoticeView>();
         }
         private async void OnShowOhterInfo()
         {
             long roleId = LeagueDataManager.Instance.LeagueData.OwnerId;
             OtherRoleInfoData roleInfoData = LeagueDataManager.Instance.GetMemberRoleInfo(roleId);
             OtherRoleInfoDetailData detailData = await RoleInfoSProxy.ReqOtherRoleDetailInfo(roleId);
-            ViewManager.Show<OtherRoleInfoView>(new object[] { roleInfoData, detailData }, new object[] { typeof(LeagueView).FullName, null });
+            ViewManager.Show<OtherRoleInfoView>(new object[] { roleInfoData, detailData });
         }
         private void OnBtnChatClick()
         {
@@ -121,7 +121,7 @@ namespace GFGGame
         }
         private void OnBtnPrayClick()
         {
-            ViewManager.Show<LeaguePrayView>(null, new object[] { typeof(LeagueView).FullName, null });
+            ViewManager.Show<LeaguePrayView>();
         }
         private void OnBtnPartyClick()
         {
@@ -133,15 +133,15 @@ namespace GFGGame
         }
         private void OnBtnSkillClick()
         {
-            ViewManager.Show<LeagueSkillView>(null, new object[] { typeof(LeagueView).FullName, null });
+            ViewManager.Show<LeagueSkillView>();
         }
         private void OnBtnAnswerClick()
         {
-            ViewManager.Show<LeagueAnswerView>(null, new object[] { typeof(LeagueView).FullName, null });
+            ViewManager.Show<LeagueAnswerView>();
         }
         private void OnBtnGiftClick()
         {
-            ViewManager.Show<LeagueGiftView>(null, new object[] { typeof(LeagueView).FullName, null });
+            ViewManager.Show<LeagueGiftView>();
         }
         private void UpdateView()
         {

+ 3 - 4
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxActivityView.cs

@@ -231,7 +231,7 @@ namespace GFGGame
                  bool result = await LuckyBoxSProxy.ReqGetBonus(_luckyBoxCfg.id, LuckyBoxDataManager.ONCE_TIME,false, _activityId);
                  if (result)
                  {
-                     ViewManager.Show<LuckyBoxStarView>(null, new object[] { typeof(LuckyBoxActivityView).FullName, _activityId });
+                     ViewManager.Show<LuckyBoxStarView>();
                      //  LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.ZAI_XING, 2);
                      GetSuitItemController.showSingle = false;
                  }
@@ -253,7 +253,7 @@ namespace GFGGame
                 bool result = await LuckyBoxSProxy.ReqGetBonus(this._luckyBoxCfg.id, LuckyBoxDataManager.TEN_TIME,false, _activityId);
                 if (result)
                 {
-                    ViewManager.Show<LuckyBoxStarView>(null, new object[] { typeof(LuckyBoxActivityView).FullName, _activityId });
+                    ViewManager.Show<LuckyBoxStarView>();
                     // LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.ZAI_XING, 2);
                     GetSuitItemController.showSingle = false;
                 }
@@ -266,8 +266,7 @@ namespace GFGGame
         }
         private void OnClickBtnShop()
         {
-            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_GIFT_BAG, ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY }
-            , new object[] { typeof(LuckyBoxActivityView).FullName, viewData});
+            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_GIFT_BAG, ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY });
         }
 
         //限时礼包按钮点击执行方法

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Views/LuckyBox/LuckyBoxView.cs

@@ -383,7 +383,7 @@ namespace GFGGame
 
         private void OnClikcBtnShop()
         {
-            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_GIFT_BAG, ConstStoreSubId.STORE_GIFT_BAG_TSY }, new object[] { typeof(LuckyBoxView).FullName });
+            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_GIFT_BAG, ConstStoreSubId.STORE_GIFT_BAG_TSY });
         }
 
         //刷新摘星活动期间的数据
@@ -552,7 +552,7 @@ namespace GFGGame
                  bool result = await LuckyBoxSProxy.ReqGetBonus(boxId, LuckyBoxDataManager.ONCE_TIME, freeType, activityId);
                  if (result)
                  {
-                     ViewManager.Show<LuckyBoxStarView>(null, new object[] { typeof(LuckyBoxView).FullName, boxId });
+                     ViewManager.Show<LuckyBoxStarView>();
                      LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.ZAI_XING, 2);
                      GetSuitItemController.showSingle = false;
                  }
@@ -589,7 +589,7 @@ namespace GFGGame
                 bool result = await LuckyBoxSProxy.ReqGetBonus(boxId, LuckyBoxDataManager.TEN_TIME,false, activityId);
                 if (result)
                 {
-                    ViewManager.Show<LuckyBoxStarView>(null, new object[] { typeof(LuckyBoxView).FullName, boxId });
+                    ViewManager.Show<LuckyBoxStarView>();
                     LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.ZAI_XING, 2);
                     GetSuitItemController.showSingle = false;
                 }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/ArenaFightResultView.cs

@@ -125,7 +125,7 @@ namespace GFGGame
             if (ArenaDataManager.Instance.CurFightIndex > 2)
             {
                 object[] goBackDatas = ViewManager.GetGoBackDatas(typeof(ArenaView).FullName);
-                ViewManager.Show<ArenaView>(null, goBackDatas, true);
+                ViewManager.Show<ArenaView>(null, true);
             }
         }
 

+ 2 - 14
GameClient/Assets/Game/HotUpdate/Views/MainStory/InstanceZonesController.cs

@@ -38,24 +38,12 @@ namespace GFGGame
                     Debug.LogError(string.Format("剧情id:{0}  无配置", levelCfg.storyStartID));
                     return;
                 }
-                object[] gobackparams;
-                if (levelCfg.type == ConstInstanceZonesType.Studio && levelCfg.subType == ConstInstanceZonesSubType.Hard3)
-                {
-                    object param = ViewManager.GetUIView(nameof(StudioFilingView)).viewData;
-                    gobackparams = new object[] { typeof(StudioFilingView).FullName, param };
-                }
-                else
-                {
-                    gobackparams = new object[] { typeof(StoryChapterView).FullName, MainStoryDataManager.currentChapterCfgId };
-                }
                 //, new object[] { typeof(StoryChapterView).FullName, MainStoryDataManager.currentChapterCfgId }
                 bool skipable = MainStoryDataManager.CheckCurrentLevelPass();
-                ViewManager.Show<StoryDialogView>(new object[] { levelCfg.storyStartID, skipable, new OnCompleteStoryDialogCall(OnCompleteChapterStoryDialog),null,false }, gobackparams, true);
+                ViewManager.Show<StoryDialogView>(new object[] { levelCfg.storyStartID, skipable, new OnCompleteStoryDialogCall(OnCompleteChapterStoryDialog),null,false }, true);
             }
         }
 
-
-
         public static async ETTask CheckStoryFightResult()
         {
             StoryLevelCfg storyLevelCfg = StoryLevelCfgArray.Instance.GetCfg(InstanceZonesDataManager.currentLevelCfgId);
@@ -80,7 +68,7 @@ namespace GFGGame
                     Score = score,
                     FirstPass = false,
                     Star = 0
-                }, null, true);
+                }, true);
                 //失败仅判断并更新最高分
                 if (score > InstanceZonesDataManager.GetScoreHighest(InstanceZonesDataManager.currentCardId))
                 {

+ 3 - 4
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryCardChoose.cs

@@ -264,8 +264,7 @@ namespace GFGGame
         {
             if (cardList.Count == 0) return;
             cardList[_ui.m_listCard.selectedIndex].fromUIType = typeof(StoryCardChoose).FullName;
-            ViewManager.Show<CardFosterView>(cardList[_ui.m_listCard.selectedIndex],
-                new object[] { typeof(StoryCardChoose).FullName, _scoreType });
+            ViewManager.Show<CardFosterView>(cardList[_ui.m_listCard.selectedIndex]);
             this.Hide();
         }
 
@@ -276,7 +275,7 @@ namespace GFGGame
             {
                 if (InstanceZonesDataManager.FightScene == ConstInstanceZonesType.Arena)
                 {
-                    ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.MINE, 0, ArenaDataManager.Instance.DressupList, "" }, new object[] { typeof(ArenaView).FullName, this.viewData }, true);
+                    ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.MINE, 0, ArenaDataManager.Instance.DressupList, "" }, true);
                 }
                 this.Hide();
                 return;
@@ -292,7 +291,7 @@ namespace GFGGame
                 if (InstanceZonesDataManager.FightScene == ConstInstanceZonesType.Arena)
                 {
                     //ViewManager.GoBackFrom(typeof(ArenaDressUpFightView).FullName);
-                    ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.MINE, 0, ArenaDataManager.Instance.DressupList, "" }, new object[] { typeof(ArenaView).FullName, this.viewData }, true);
+                    ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.MINE, 0, ArenaDataManager.Instance.DressupList, "" },true);
                 }
             }
             else

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryChapterView.cs

@@ -181,7 +181,7 @@ namespace GFGGame
         private void OnClickSwitchBack()
         {
             Timers.inst.Remove(SetContainerY);
-            ViewManager.Show<StoryChapterListView>(new object[] {Mathf.Max(0, currentDifficulty) , newIndex }, new object[] { typeof(StoryChapterView).FullName, this.viewData });
+            ViewManager.Show<StoryChapterListView>(new object[] {Mathf.Max(0, currentDifficulty) , newIndex });
         }
 
         private void OnClickBtnHome()

+ 7 - 7
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryController.cs

@@ -41,23 +41,23 @@ namespace GFGGame
                     if (nextStoryChapterCfg == null)
                     {
                         StoryChapterCfg lastChapter = StoryChapterCfgArray.Instance.GetCfg(levelCfg.chapterId);
-                        ViewManager.Show<StoryChapterListView>(new object[] { index, lastChapter.order }, null, true);
+                        ViewManager.Show<StoryChapterListView>(new object[] { index, lastChapter.order }, true);
                     }
                     else
                     {
-                        ViewManager.Show<StoryChapterListView>(new object[] { index , nextStoryChapterCfg.order}, null, true);
+                        ViewManager.Show<StoryChapterListView>(new object[] { index , nextStoryChapterCfg.order},true);
                     }
                     
                 }
                 else
                 {
-                    ViewManager.Show<StoryChapterView>(MainStoryDataManager.currentChapterCfgId, ViewManager.GetGoBackDatas(typeof(StoryChapterView).FullName));
+                    ViewManager.Show<StoryChapterView>(MainStoryDataManager.currentChapterCfgId);
                 }
             }
             else
             {
                 //异常返回到关卡列表界面
-                ViewManager.Show<StoryChapterView>(MainStoryDataManager.currentChapterCfgId, ViewManager.GetGoBackDatas(typeof(StoryChapterView).FullName));
+                ViewManager.Show<StoryChapterView>(MainStoryDataManager.currentChapterCfgId);
             }
         }
 
@@ -65,7 +65,7 @@ namespace GFGGame
 
         public static void ShowCardStoryDialog(CardStoryCfg cardStoryCfg, CardData cardData)
         {
-            ViewManager.Show<StoryDialogView>(new object[] { cardStoryCfg.storyStartID, true, new OnCompleteStoryDialogCall(OnCompleteCardStoryDialog), cardData ,false}, new object[] { typeof(CardFosterView).FullName, cardData }, true);
+            ViewManager.Show<StoryDialogView>(new object[] { cardStoryCfg.storyStartID, true, new OnCompleteStoryDialogCall(OnCompleteCardStoryDialog), cardData ,false}, true);
         }
         private static void OnCompleteCardStoryDialog(bool isSkip, object param)
         {
@@ -80,7 +80,7 @@ namespace GFGGame
             InstanceZonesDataManager.currentLevelCfgId = 100001001;
             string stroyStartID = "1";
             // string stroyStartID = MainStoryDataManager.priorId;
-            ViewManager.Show<StoryDialogView>(new object[] { stroyStartID, false, new OnCompleteStoryDialogCall(OnCompletePriorStoryDialog),null,false }, null, true);
+            ViewManager.Show<StoryDialogView>(new object[] { stroyStartID, false, new OnCompleteStoryDialogCall(OnCompletePriorStoryDialog),null,false }, true);
         }
 
         private static void OnCompletePriorStoryDialog(bool isSkip, object param)
@@ -94,7 +94,7 @@ namespace GFGGame
 
             InstanceZonesDataManager.currentLevelCfgId = storyLevelCfg.id;
 
-            ViewManager.Show<StoryDialogView>(new object[] { storyLevelCfg.storyStartID, false, new OnCompleteStoryDialogCall(OnCompleteFilingStoryDialog) ,null,false}, null, true);
+            ViewManager.Show<StoryDialogView>(new object[] { storyLevelCfg.storyStartID, false, new OnCompleteStoryDialogCall(OnCompleteFilingStoryDialog) ,null,false}, true);
 
         }
 

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightFailView.cs

@@ -105,7 +105,7 @@ namespace GFGGame
                 Hide();
             }
 
-            ViewManager.JumpToView(cfg.jumpId, param, null);
+            ViewManager.JumpToView(cfg.jumpId, param);
 
             if (cfg.jumpId == nameof(LuckyBoxView))
                 ViewManager.Hide<StoryChapterView>();

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryFightTargetScoreView.cs

@@ -863,7 +863,7 @@ namespace GFGGame
         {
             if (InstanceZonesDataManager.FightScene == ConstInstanceZonesType.Arena)
             {
-                ViewManager.Show<ArenaFightResultView>(new object[] { _score, _targetScore }, null, true);
+                ViewManager.Show<ArenaFightResultView>(new object[] { _score, _targetScore }, true);
             }
             else
             {

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryLevelInfoView.cs

@@ -93,7 +93,7 @@ namespace GFGGame
                 DressUpFightType dressUpFightType = new DressUpFightType();
                 dressUpFightType.levelID = _levelID;
                 dressUpFightType.teaPartID = 0;
-                ViewManager.Show<DressUpFightView>(dressUpFightType, null);
+                ViewManager.Show<DressUpFightView>(dressUpFightType);
                 this.Hide();
             }
             else
@@ -134,7 +134,7 @@ namespace GFGGame
             InstanceZonesDataManager.GetCanFightTime(_type, _storyType, _levelID, out int times, out string title);
             if (times > 0)
             {
-                ViewManager.Show<StoryFightQuicklyView>(new object[] { 1, _needItemId, _needItemCount }, new object[] { typeof(StoryLevelInfoView).FullName, this.viewData });
+                ViewManager.Show<StoryFightQuicklyView>(new object[] { 1, _needItemId, _needItemCount });
                 this.Hide();
             }
             else
@@ -162,7 +162,7 @@ namespace GFGGame
         {
             //只要按钮显示说明一定可以速刷多次
             InstanceZonesDataManager.GetCanFightTime(_type, _storyType, _levelID, out int times, out string title);
-            ViewManager.Show<StoryFightQuicklyView>(new object[] { times, _needItemId, _needItemCount }, new object[] { typeof(StoryLevelInfoView).FullName, this.viewData });
+            ViewManager.Show<StoryFightQuicklyView>(new object[] { times, _needItemId, _needItemCount });
             this.Hide();
 
         }

+ 15 - 16
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -347,7 +347,7 @@ namespace GFGGame
             _ui.m_btnHuanZhuang.m_holder1.visible = true;
             _ui.m_btnHuanZhuang.m_holder1.visible = false;
             this.Hide();
-            ViewManager.Show<DressUpView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<DressUpView>();
             isOpen = false;
         }
 
@@ -358,7 +358,7 @@ namespace GFGGame
             if (isOpen) return;
             isOpen = true;
             _ui.m_btnZhaiXing.m_holder1.visible = false;
-            ViewManager.Show<LuckyBoxView>(null, null, false, true);
+            ViewManager.Show<LuckyBoxView>(null, false, true);
             isOpen = false;
         }
 
@@ -368,7 +368,7 @@ namespace GFGGame
             isOpen = true;
             _ui.m_btnXiuFang.m_holder1.visible = true;
             _ui.m_btnXiuFang.m_holder1.visible = false;
-            ViewManager.Show<XiuFangView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<XiuFangView>();
             isOpen = false;
         }
 
@@ -376,23 +376,22 @@ namespace GFGGame
         {
             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.MEI_RI_DNEG_LU, 1);
 
-            ViewManager.Show<SevenDayLoginView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<SevenDayLoginView>();
         }
 
         private void OnClickBtnDailyWelfare()
         {
-            ViewManager.Show<DailyWelfareView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<DailyWelfareView>();
         }
 
         private void OnClickBtnActivityLuckyBox()
         {
-            ViewManager.Show<ActivityThemeLuckyBoxView>(null, new object[] { typeof(MainUIView).FullName, this.viewData },
-                true);
+            ViewManager.Show<ActivityThemeLuckyBoxView>(null,true);
         }
 
         private void OnClickBtnWanShiLi()
         {
-            ViewManager.Show<ActivityWanShiLiView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<ActivityWanShiLiView>();
         }
 
         private void OnClickBtnCiPai()
@@ -405,13 +404,13 @@ namespace GFGGame
             _ui.m_btnCiPai.m_holder1.visible = false;
 
             CardDataManager.isFilter = false;
-            ViewManager.Show<CardDetailView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<CardDetailView>();
             isOpen = false;
 
         }
         private void OnClickBtnBag()
         {
-            ViewManager.Show<BagView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<BagView>();
         }
 
         private void OnClickBtnLeague()
@@ -437,13 +436,13 @@ namespace GFGGame
         {
             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.SHANG_CHENG, 1);
 
-            ViewManager.Show<StoreView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<StoreView>();
         }
 
         private void OnClickBtnTuJian()
         {
             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.TU_JIAN, 1);
-            ViewManager.Show<FieldGuideView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<FieldGuideView>();
         }
 
         private void OnClickBtnYouJian()
@@ -453,7 +452,7 @@ namespace GFGGame
 
         private void OnClickBtnHaoYou()
         {
-            ViewManager.Show<FriendView>(null, new object[] { typeof(MainUIView).FullName, this.viewData }, true);
+            ViewManager.Show<FriendView>(null, true);
         }
 
         private void OnClickBtnGongGao()
@@ -463,7 +462,7 @@ namespace GFGGame
 
         private void OnClickBtnRenWu()
         {
-            ViewManager.Show<TaskView>(null, new[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<TaskView>();
         }
 
         private void OnClickBtnAfuGift()
@@ -472,11 +471,11 @@ namespace GFGGame
             {
                 return;
             }
-            ViewManager.Show<ActivityAfuGiftView>(null, new[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<ActivityAfuGiftView>();
         }
         private void OnClickBtnDay7()
         {
-            ViewManager.Show<ActivityDay7View>(null, new[] { typeof(MainUIView).FullName, this.viewData });
+            ViewManager.Show<ActivityDay7View>();
         }
 
         private void OnClickBtnFirstRecharge()

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/Notice/NoticeView.cs

@@ -141,12 +141,12 @@ namespace GFGGame
                 bool result = await NoticeSProxy.ReqSystemNotice(noticeInfo.noticeId);
                 if (result)
                 {
-                    ViewManager.Show<NoticeSystemShowView>(NoticeDataManager.Instance.GetNoticeInfoById(noticeInfo.noticeId), new object[] { typeof(NoticeView).Name, this.viewData });
+                    ViewManager.Show<NoticeSystemShowView>(NoticeDataManager.Instance.GetNoticeInfoById(noticeInfo.noticeId));
                 }
             }
             else
             {
-                ViewManager.Show<NoticeSystemShowView>(noticeInfo, new object[] { typeof(NoticeView).Name, this.viewData });
+                ViewManager.Show<NoticeSystemShowView>(noticeInfo);
             }
         }
     }

+ 4 - 4
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemGalleryView.cs

@@ -250,7 +250,7 @@ namespace GFGGame
         private void OnBtnShopClick()
         {
             object[] gobackParamDatas = new object[] { _tabIndex, _subtabIndex, _ui.m_comNormal.m_comBoBox.selectedIndex };
-            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_EXCHANGE, ConstStoreSubId.STORE_EXCHANGE_GALLERY }, new object[] { typeof(PoemGalleryView).FullName, gobackParamDatas });
+            ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_EXCHANGE, ConstStoreSubId.STORE_EXCHANGE_GALLERY });
         }
 
         /// <summary>
@@ -258,7 +258,7 @@ namespace GFGGame
         /// </summary>
         private void OnBtnRewardClick()
         {
-            ViewManager.Show<PoemGalleryRewardView>(null, new object[] { typeof(PoemGalleryView).FullName, this.viewData });
+            ViewManager.Show<PoemGalleryRewardView>();
         }
 
 
@@ -298,7 +298,7 @@ namespace GFGGame
         private void OnBtnJoinClick()
         {
             object[] gobackParamDatas = new object[] { _tabIndex, _subtabIndex, _ui.m_comNormal.m_comBoBox.selectedIndex };
-            ViewManager.Show<DressUpView>(1, new object[] { typeof(PoemGalleryView).FullName, gobackParamDatas }, false);
+            ViewManager.Show<DressUpView>(1,false);
         }
 
         /// <summary>
@@ -581,7 +581,7 @@ namespace GFGGame
             GObject obj = context.sender as GObject;
             long workId = (long)obj.data;
             object[] gobackParamDatas = new object[] { _tabIndex, _subtabIndex, _ui.m_comNormal.m_comBoBox.selectedIndex };
-            ViewManager.Show<PoemGalleryPreviewView>(new object[] { _sortType, workId }, new object[] { typeof(PoemGalleryView).FullName, gobackParamDatas });
+            ViewManager.Show<PoemGalleryPreviewView>(new object[] { _sortType, workId });
         }
 
         private async void OnBtnCollectClick(EventContext context)

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemPhotoPreView.cs

@@ -243,7 +243,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("暂时没有可以分享的对象");
                 return;
             }
-            ViewManager.Show<PoemPhotoShareView>(_curPhotoData, new object[] { typeof(PoemPhotoPreView).FullName, new object[] { _curIndex, _photoInfos, _sourceType } });
+            ViewManager.Show<PoemPhotoShareView>(_curPhotoData);
         }
     }
 }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemPhotoView.cs

@@ -227,7 +227,7 @@ namespace GFGGame
             PoemPhotoData photoData = _photoInfos[index];
             if (_ui.m_c2.selectedIndex == 0)
             {
-                ViewManager.Show<PoemPhotoPreView>(new object[] { index, _photoInfos, _sourceType }, new object[] { typeof(PoemPhotoView).FullName, _sourceType });
+                ViewManager.Show<PoemPhotoPreView>(new object[] { index, _photoInfos, _sourceType });
             }
             else if (_ui.m_c2.selectedIndex == 1)
             {

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/Poem/PoemView.cs

@@ -69,11 +69,11 @@ namespace GFGGame
         }
         private void OnComPhotoClick()
         {
-            ViewManager.Show<PoemPhotoView>(null, new object[] { typeof(PoemView).FullName, this.viewData });
+            ViewManager.Show<PoemPhotoView>();
         }
         private void OnComGalleryClick()
         {
-            ViewManager.Show<PoemGalleryView>(null, new object[] { typeof(PoemView).FullName, this.viewData });
+            ViewManager.Show<PoemGalleryView>();
         }
 
         private void CheckGuide(object param)

+ 7 - 9
GameClient/Assets/Game/HotUpdate/Views/RoleInfo/RoleInfoView.cs

@@ -137,19 +137,17 @@ namespace GFGGame
             if (RoleInfoManager.GetPosType(index) == MonthCardType.Gold && !RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.Gold))
             {
                 // PromptController.Instance.ShowFloatTextPrompt("灵犀卡开启");
-                ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_MONTH_CARD, ConstStoreSubId.STORE_MONTH_GOLD_CARD }
-                , new object[] { typeof(RoleInfoView).FullName, this.viewData });
+                ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_MONTH_CARD, ConstStoreSubId.STORE_MONTH_GOLD_CARD });
                 return;
             }
             if (RoleInfoManager.GetPosType(index) == MonthCardType.BlackGold && !RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.BlackGold))
             {
                 // PromptController.Instance.ShowFloatTextPrompt("璇玑卡开启");
-                ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_MONTH_CARD, ConstStoreSubId.STORE_MONTH_BLACK_CARD }
-                , new object[] { typeof(RoleInfoView).FullName, this.viewData });
+                ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_MONTH_CARD, ConstStoreSubId.STORE_MONTH_BLACK_CARD });
                 return;
             }
 
-            ViewManager.Show<PersonalPhotoView>(index, new object[] { typeof(RoleInfoView).FullName, this.viewData });
+            ViewManager.Show<PersonalPhotoView>(index);
         }
 
         private async void OnFocuseOut()
@@ -159,7 +157,7 @@ namespace GFGGame
 
         private void OnClickLoaChangeName()
         {
-            ViewManager.Show<ChangeNameView>(null, new object[] { typeof(RoleInfoView).FullName, this.viewData });
+            ViewManager.Show<ChangeNameView>();
         }
 
         private void OnBtnFieldGuideClick()
@@ -168,16 +166,16 @@ namespace GFGGame
         }
         private void OnBtnSkillClick()
         {
-            ViewManager.Show<PersonalSkillView>(null, new object[] { typeof(RoleInfoView).FullName, this.viewData });
+            ViewManager.Show<PersonalSkillView>();
         }
         private void OnBtnSettingClick()
         {
-            ViewManager.Show<SettingView>(null, new object[] { typeof(RoleInfoView).FullName, this.viewData });
+            ViewManager.Show<SettingView>();
         }
         private void OnComHeadClick()
         {
             GUIUtility.systemCopyBuffer = RoleDataManager.roleName;
-            ViewManager.Show<ChangeHeadView>(null, new object[] { typeof(RoleInfoView).FullName, this.viewData });
+            ViewManager.Show<ChangeHeadView>();
         }
 
         private void UpdateRedDot()

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Store/BrocadeWeavTask.cs

@@ -178,7 +178,7 @@ namespace GFGGame
             {
                 param[i] = taskCfg.jumpParamArr[i];
             }
-            ViewManager.JumpToView(taskCfg.jumpId, param, new[] { typeof(StoreView).FullName, viewData },true);
+            ViewManager.JumpToView(taskCfg.jumpId, param,true);
         }
 
         private async void OnBtnGetAllClick()

+ 4 - 5
GameClient/Assets/Game/HotUpdate/Views/Store/StoreBrocadeWeavView.cs

@@ -113,7 +113,7 @@ namespace GFGGame
         //开启通行证
         private void OnBtnOpenClick(EventContext context)
         {
-            ViewManager.Show<OpenBattlePassView>(null, new object[] { typeof(StoreBrocadeWeavView).FullName, null });
+            ViewManager.Show<OpenBattlePassView>();
         }
 
         private void OnBtnBuyLevel(EventContext context)
@@ -127,7 +127,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("已经满级");
                 return;
             }
-            ViewManager.Show<BuyBattlePassLevelView>(null, new object[] { typeof(StoreBrocadeWeavView).FullName, null });
+            ViewManager.Show<BuyBattlePassLevelView>();
         }
 
         //领取奖励
@@ -148,7 +148,7 @@ namespace GFGGame
             // var isBuy = BattlePassTaskDataManager.Instance.GetIsBuy();
             // if (!isBuy)
             // {
-            ViewManager.Show<OpenBattlePassView>(null, new object[] { typeof(StoreBrocadeWeavView).FullName, null });
+            ViewManager.Show<OpenBattlePassView>();
             // return;
             // }
             // var get = await BattlePassTaskSProxy.GetBattlePassReward(id);
@@ -182,8 +182,7 @@ namespace GFGGame
             {
                 var isBuy = BattlePassTaskDataManager.Instance.GetIsBuy();
                 if (isBuy) return;
-                ViewManager.Show<OpenBattlePassView>(null,
-                    new object[] { typeof(StoreBrocadeWeavView).FullName, null });
+                ViewManager.Show<OpenBattlePassView>();
             });
             if (!get) return;
             SetBattlePassLevel();

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Studio/StudioFilingView.cs

@@ -231,7 +231,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt(string.Format("需通关{0}关卡解锁", cfg.name));
                 return;
             }
-            ViewManager.Show<ClothingSyntheticView>(new object[] { _studioCfg.suitId }, new object[] { typeof(StudioFilingView).FullName, this.viewData }, false);
+            ViewManager.Show<ClothingSyntheticView>(new object[] { _studioCfg.suitId }, false);
             EventAgent.AddEventListener(ConstMessage.STUDIO_FILING_UPDATE, UpdateView);
             //if (_viewData == StudioDataManager.Instance.GetLuckyBoxActivityID())
             //{

+ 5 - 5
GameClient/Assets/Game/HotUpdate/Views/Studio/StudioView.cs

@@ -89,7 +89,7 @@ namespace GFGGame
             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.JIN_SHU_XIU_FU, 1);
 
             if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(StudioMetalView).FullName, true)) return;
-            ViewManager.Show<StudioMetalView>(null, new object[] { typeof(StudioView).FullName, this.viewData });
+            ViewManager.Show<StudioMetalView>();
             this.Hide();
         }
         private void OnCliclComFabric()
@@ -97,7 +97,7 @@ namespace GFGGame
             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.ZHI_WU_XIU_FU, 1);
 
             if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(StudioFabricView).FullName, true)) return;
-            ViewManager.Show<StudioFabricView>(null, new object[] { typeof(StudioView).FullName, this.viewData });
+            ViewManager.Show<StudioFabricView>();
             this.Hide();
 
         }
@@ -106,7 +106,7 @@ namespace GFGGame
             //LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.SHU_HUA_XIU_FU, 1);
 
             if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(StudioPropertyView).FullName, true)) return;
-            ViewManager.Show<StudioPropertyView>(null, new object[] { typeof(StudioView).FullName, this.viewData });
+            ViewManager.Show<StudioPropertyView>();
             this.Hide();
 
         }
@@ -116,14 +116,14 @@ namespace GFGGame
             // LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.SHU_HUA_XIU_FU, 1);
 
             if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(StudioPorcelainView).FullName, true)) return;
-            ViewManager.Show<StudioPorcelainView>(null, new object[] { typeof(StudioView).FullName, this.viewData });
+            ViewManager.Show<StudioPorcelainView>();
             this.Hide();
 
         }
         private void OnClickComFilling()
         {
 
-            ViewManager.Show<StudioFilingView>(StudioDataManager.Instance.npcFilingChapterId, new object[] { typeof(StudioView).FullName, this.viewData });
+            ViewManager.Show<StudioFilingView>(StudioDataManager.Instance.npcFilingChapterId);
         }
         private void UpdateRedDot()
         {

+ 4 - 5
GameClient/Assets/Game/HotUpdate/Views/Task/BattlePassTaskView.cs

@@ -105,7 +105,7 @@ namespace GFGGame
         //开启通行证
         private void OnBtnOpenClick(EventContext context)
         {
-            ViewManager.Show<OpenBattlePassView>(null, new object[] { typeof(BattlePassTaskView).FullName, null });
+            ViewManager.Show<OpenBattlePassView>();
         }
 
         private void OnBtnBuyLevel(EventContext context)
@@ -119,7 +119,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("已经满级");
                 return;
             }
-            ViewManager.Show<BuyBattlePassLevelView>(null, new object[] { typeof(BattlePassTaskView).FullName, null });
+            ViewManager.Show<BuyBattlePassLevelView>();
         }
 
         //领取奖励
@@ -140,7 +140,7 @@ namespace GFGGame
             // var isBuy = BattlePassTaskDataManager.Instance.GetIsBuy();
             // if (!isBuy)
             // {
-            ViewManager.Show<OpenBattlePassView>(null, new object[] { typeof(BattlePassTaskView).FullName, null });
+            ViewManager.Show<OpenBattlePassView>();
             // return;
             // }
             // var get = await BattlePassTaskSProxy.GetBattlePassReward(id);
@@ -155,8 +155,7 @@ namespace GFGGame
             {
                 var isBuy = BattlePassTaskDataManager.Instance.GetIsBuy();
                 if (isBuy) return;
-                ViewManager.Show<OpenBattlePassView>(null,
-                    new object[] { typeof(BattlePassTaskView).FullName, null });
+                ViewManager.Show<OpenBattlePassView>();
             });
             if (!get) return;
             SetBattlePassLevel();

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Task/CombTaskController.cs

@@ -204,7 +204,7 @@ namespace GFGGame
             {
                 param[i] = taskCfg.jumpParamArr[i];
             }
-            ViewManager.JumpToView(taskCfg.jumpId, param, new object[] { typeof(TaskView).FullName, new[] { _ui.m_c1.selectedIndex } });
+            ViewManager.JumpToView(taskCfg.jumpId, param);
         }
 
         private async void OnBtnGetAllClick()

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/Task/TaskAchieveDetailView.cs

@@ -163,7 +163,7 @@ namespace GFGGame
                 param[i] = taskCfg.jumpParamArr[i];
             }
 
-            ViewManager.JumpToView(taskCfg.jumpId, param, new object[] { typeof(TaskAchieveDetailView).FullName});
+            ViewManager.JumpToView(taskCfg.jumpId, param);
         }
     }
 }

+ 4 - 5
GameClient/Assets/Game/HotUpdate/Views/Travel/TravelView.cs

@@ -155,23 +155,22 @@ namespace GFGGame
                 return;
             }
 
-            ViewManager.Show<TravelDressupView>(null, new object[] { typeof(TravelView).FullName, this.viewData });
+            ViewManager.Show<TravelDressupView>();
         }
 
         private void OnBtnGetClick()
         {
-            ViewManager.Show<TravelRewardView>(null, new object[] { typeof(TravelView).FullName, this.viewData });
+            ViewManager.Show<TravelRewardView>();
         }
 
         private void OnBtnPhotoClick()
         {
-            ViewManager.Show<PoemPhotoView>(PictureSourceType.WanShuiQianShan,
-                new object[] { typeof(TravelView).FullName, this.viewData });
+            ViewManager.Show<PoemPhotoView>(PictureSourceType.WanShuiQianShan);
         }
 
         private void OnBtnFieldGuideClick()
         {
-            ViewManager.Show<TravelGuideView>(null, new object[] { typeof(TravelView).FullName, this.viewData });
+            ViewManager.Show<TravelGuideView>();
         }
 
         private void CheckGuide(object param)

+ 17 - 17
GameClient/Assets/Game/HotUpdate/Views/ViewManager.cs

@@ -120,7 +120,7 @@ namespace GFGGame
         /// <param name="viewData">要传递给视图的参数</param>
         /// <param name="goBackParams">从该视图返回的视图信息</param>
         /// <param name="hideOthers">是否关闭其他视图</param>
-        public static bool Show(string fullViewName, object viewData = null, object[] goBackParams = null, bool hideOthers = false, bool resetGobackParams = false)
+        public static bool Show(string fullViewName, object viewData = null, bool hideOthers = false, bool resetGobackParams = false)
         {
             string name = GetName(fullViewName);
             if (!GameGlobal.skipCheckOpen && !FunctionOpenDataManager.Instance.CheckIsFunOpenById(name))
@@ -204,12 +204,12 @@ namespace GFGGame
             return false;
         }
 
-        public static bool Show<T>(object viewData = null, object[] goBackParams = null, bool hideOthers = false, bool resetGobackParams = false) where T : class, new()
+        public static bool Show<T>(object viewData = null, bool hideOthers = false, bool resetGobackParams = false) where T : class, new()
         {
             // string[] names = typeof(T).FullName.Split('.');
             // string viewName = names[names.Length - 1];
             //string name = GetName(typeof(T).FullName);
-            return ViewManager.Show(typeof(T).FullName, viewData, null, hideOthers);
+            return ViewManager.Show(typeof(T).FullName, viewData, hideOthers);
         }
 
         public static void HideWin(string viewName)
@@ -287,7 +287,7 @@ namespace GFGGame
                 }
             }
             MainDataManager.Instance.ViewType = 0;
-            ViewManager.Show<MainUIView>(null, null, true);
+            ViewManager.Show<MainUIView>(null, true);
         }
 
         public static object[] GetGoBackDatas(string fullViewName)
@@ -419,7 +419,7 @@ namespace GFGGame
         /// 任务界面跳转
         /// </summary>
         /// <param name="jumpId"></param>
-        public static void JumpToView(string jumpId, object[] param, object[] goBackDatas, bool hideOther = false, Action onSuccess = null)
+        public static void JumpToView(string jumpId, object[] param, bool hideOther = false, Action onSuccess = null)
         {
             switch (jumpId)
             {
@@ -427,13 +427,13 @@ namespace GFGGame
 
                     if (LeagueDataManager.Instance.Type == LeagueJoinType.Join)
                     {
-                        ViewManager.Show<LeagueView>(null, goBackDatas, hideOther);
+                        ViewManager.Show<LeagueView>(null, hideOther);
                         ViewManager.Show($"GFGGame.{jumpId}");
                     }
                     else
                     {
                         if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(nameof(LeagueView))) return;
-                        ViewManager.Show<LeagueJoinView>(null, goBackDatas, hideOther, true);
+                        ViewManager.Show<LeagueJoinView>(null, hideOther, true);
                     }
 
                     break;
@@ -441,36 +441,36 @@ namespace GFGGame
                     if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(nameof(LeagueView))) return;
                     if (LeagueDataManager.Instance.Type == LeagueJoinType.Join)
                     {
-                        ViewManager.Show<LeagueView>(null, goBackDatas, hideOther);
+                        ViewManager.Show<LeagueView>(null, hideOther);
                     }
                     else
                     {
-                        ViewManager.Show<LeagueJoinView>(null, goBackDatas, hideOther, true);
+                        ViewManager.Show<LeagueJoinView>(null, hideOther, true);
                     }
                     break;
                 case nameof(StoreView):
-                    ViewManager.Show<StoreView>(param, goBackDatas, hideOther);
+                    ViewManager.Show<StoreView>(param, hideOther);
                     break;
                 case nameof(StoryChapterListView):
-                    ViewManager.Show($"GFGGame.{jumpId}", param, goBackDatas, hideOther, true);
+                    ViewManager.Show($"GFGGame.{jumpId}", param, hideOther, true);
                     break;
                 case nameof(StoryChapterView):
-                    ViewManager.Show<StoryChapterView>(param[0], goBackDatas, hideOther);
+                    ViewManager.Show<StoryChapterView>(param[0], hideOther);
                     break;
                 case nameof(FirstChargeBonusView):
-                    ViewManager.Show<FirstChargeBonusView>(param, goBackDatas, false);
+                    ViewManager.Show<FirstChargeBonusView>(param, false);
                     break;
                 case nameof(ClothingSyntheticView):
-                    ViewManager.Show<ClothingSyntheticView>(param, goBackDatas, hideOther);
+                    ViewManager.Show<ClothingSyntheticView>(param, hideOther);
                     break;
                 case nameof(LuckyBoxView):
                     if(param.Length > 0)
-                        ViewManager.Show<LuckyBoxView>(param[0], goBackDatas, hideOther);
+                        ViewManager.Show<LuckyBoxView>(param[0], hideOther);
                     else
-                        ViewManager.Show<LuckyBoxView>(null, goBackDatas, hideOther);
+                        ViewManager.Show<LuckyBoxView>(null, hideOther);
                     break;
                 default:
-                    ViewManager.Show($"GFGGame.{jumpId}", null, goBackDatas, hideOther, true);
+                    ViewManager.Show($"GFGGame.{jumpId}", null, hideOther, true);
                     break;
             }
             onSuccess?.Invoke();

+ 4 - 5
GameClient/Assets/Game/HotUpdate/Views/XiuFang/XiuFangView.cs

@@ -83,21 +83,21 @@ namespace GFGGame
         private void OnClickBtnClothingShop()
         {
             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.FU_ZHUANG_DIAN, 1);
-            ViewManager.Show<ClothingShopView>(null, new object[] { typeof(XiuFangView).FullName, this.viewData }, false, true);
+            ViewManager.Show<ClothingShopView>(null, true);
         }
 
         private void OnClickBtnSuitSynthetic()
         {
             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.FU_ZHUANG_HE_CHENG, 1);
 
-            ViewManager.Show<SuitSyntheticView>(null, new object[] { typeof(XiuFangView).FullName, this.viewData });
+            ViewManager.Show<SuitSyntheticView>();
         }
 
         private void OnClickBtnClothingUpgrade()
         {
             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.FU_ZHUANG_YANG_CHENG, 1);
 
-            ViewManager.Show<ClothingListView>(null, new object[] { typeof(XiuFangView).FullName, this.viewData }, false, true);
+            ViewManager.Show<ClothingListView>(null, true);
 
             // PromptController.Instance.ShowFloatTextPrompt("暂未开放", MessageType.WARNING);
         }
@@ -105,8 +105,7 @@ namespace GFGGame
         {
             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.FU_ZHUANG_FEN_JIE, 1);
 
-            ViewManager.Show<ClothingDecomposeView>(null, new object[] { typeof(XiuFangView).FullName, this.viewData });
-
+            ViewManager.Show<ClothingDecomposeView>();
         }
         private void CheckGuide(object param)
         {