zhaoyang пре 3 година
родитељ
комит
599b54b4bd

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Controller/BonusController.cs

@@ -11,7 +11,9 @@ namespace GFGGame
         public static void ShowBonusList(int[][] bonusInfos)
         {
             List<ItemData> bonusList = ItemUtil.CreateItemDataList(bonusInfos);
-            ViewManager.Show(ViewName.GET_BONUS_VIEW, bonusList);
+            // ViewManager.Show(ViewName.GET_BONUS_VIEW, bonusList);
+            ViewManager.Show<RewardView>(bonusList);
+
         }
     }
 }

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

@@ -224,7 +224,9 @@ namespace GFGGame
                 List<ItemData> bonusList = StoryDataManager.GetChapterBonus(StoryDataManager.currentChapter, index);
                 if (bonusList != null && bonusList.Count > 0)
                 {
-                    ViewManager.Show(ViewName.GET_BONUS_VIEW, bonusList);
+                    // ViewManager.Show(ViewName.GET_BONUS_VIEW, bonusList);
+                    ViewManager.Show<RewardView>(bonusList);
+
                 }
                 UpdateBonusBoxStatus(bonusBox, index);
             }

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

@@ -59,7 +59,9 @@ namespace GFGGame
             }
             if (bonusList != null && bonusList.Count > 0)
             {
-                ViewManager.Show(ViewName.GET_BONUS_VIEW, bonusList);
+                // ViewManager.Show(ViewName.GET_BONUS_VIEW, bonusList);
+                ViewManager.Show<RewardView>(bonusList);
+
             }
         }
 

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

@@ -154,8 +154,10 @@ namespace GFGGame
             }
             if (bonusList != null && bonusList.Count > 0)
             {
-                ViewManager.Show(ViewName.GET_BONUS_VIEW, bonusList);
+                // ViewManager.Show(ViewName.GET_BONUS_VIEW, bonusList);
+                ViewManager.Show<RewardView>(bonusList);
             }
+
             StoryDataManager.currentCardId = -1;
         }