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

飞花令界面问题修改

zhangyuqian 1 жил өмнө
parent
commit
1a180d245a
32 өөрчлөгдсөн 27 нэмэгдсэн , 7 устгасан
  1. 1 2
      GameClient/Assets/Game/HotUpdate/ServerProxy/ArenaSproxy.cs
  2. 3 1
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaDressInfoView.cs
  3. 8 1
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaView.cs
  4. 2 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/ArenaDressUpFightView.cs
  5. 2 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryCardChoose.cs
  6. 11 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryChapterView.cs
  7. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0!a.png
  8. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0.png
  9. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_1!a.png
  10. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_1.png
  11. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_2!a.png
  12. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_2.png
  13. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_5!a.png
  14. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_5.png
  15. BIN
      GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_fui.bytes
  16. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0!a.png
  17. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0.png
  18. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_2!a.png
  19. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_2.png
  20. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_3!a.png
  21. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_3.png
  22. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_4!a.png
  23. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_4.png
  24. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_5!a.png
  25. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_5.png
  26. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_6!a.png
  27. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_6.png
  28. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_8!a.png
  29. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_8.png
  30. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_9!a.png
  31. BIN
      GameClient/Assets/ResIn/UI/Main/Main_atlas0_9.png
  32. BIN
      GameClient/Assets/ResIn/UI/Main/Main_fui.bytes

+ 1 - 2
GameClient/Assets/Game/HotUpdate/ServerProxy/ArenaSproxy.cs

@@ -396,8 +396,7 @@ namespace GFGGame
                 arenaTarget.RoleInfo.roleId = 0;
                 arenaTarget.RoleInfo.roleName = arenaTargetProto.RobotDressupInfo.Name;
                 arenaTarget.RoleInfo.roleLv = robotCfg.level;
-                //由于现在机器人头像就一个,所以这么改
-                arenaTarget.RoleInfo.headRes = robotCfg.targetResArr[0]; //string.IsNullOrEmpty(arenaTargetProto.RobotDressupInfo.RobotHead) ? "self" : arenaTargetProto.RobotDressupInfo.RobotHead;
+                arenaTarget.RoleInfo.headRes = string.IsNullOrEmpty(arenaTargetProto.RobotDressupInfo.RobotHead) ? "self" : arenaTargetProto.RobotDressupInfo.RobotHead;
             }
 
             arenaTarget.FightDatas.Clear();

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

@@ -110,7 +110,9 @@ namespace GFGGame
 
         private void OnClickBtnBack()
         {
-            ViewManager.GoBackFrom(typeof(ArenaDressInfoView).FullName); //返回竞技场主界面
+            //ViewManager.GoBackFrom(typeof(ArenaDressInfoView).FullName); //返回竞技场主界面
+            this.OnHide();
+            ViewManager.Show<ArenaView>(null, new object[] { typeof(MainUIView).FullName, this.viewData }, true);
             if (!string.IsNullOrEmpty(_openViewName))
             {
                 ViewManager.Show(_openViewName); //打开来源界面:如历史记录、排行榜

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

@@ -149,7 +149,9 @@ namespace GFGGame
         {
             GuideController.TryCompleteGuideIndex(ConstGuideId.ARENA_OPEN, 12);
             GuideController.TryCompleteGuide(ConstGuideId.ARENA_OPEN, 12);
-            ViewManager.GoBackFrom(typeof(ArenaView).FullName);
+            //ViewManager.GoBackFrom(typeof(ArenaView).FullName);
+            this.OnHide();
+            ViewManager.Show<InstanceZonesUIView>();
         }
         private void OnBtnShopClick()
         {
@@ -410,6 +412,11 @@ namespace GFGGame
                 item.m_challengeBtn.onClick.Add(OnSelectRoleClick);
             }
             item.m_challengeBtn.data = index;
+            if (item.m_loaBg.data == null)
+            {
+                item.m_loaBg.onClick.Add(OnSelectRoleClick);
+            }
+            item.m_loaBg.data = index;
             if (item.m_btnLook.data == null)
             {
                 item.m_btnLook.onClick.Add(OnBtnLookClick);

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

@@ -209,7 +209,8 @@ namespace GFGGame
             _roleData.itemList = _itemList;
             FightDataManager.Instance.SetItemScoreList(_roleData);
             ScoreSystemData.Instance.SetEquipScoresWithPartId(_roleData);
-            ViewManager.GoBackFrom(typeof(ArenaDressUpFightView).FullName);
+            //ViewManager.GoBackFrom(typeof(ArenaDressUpFightView).FullName);
+            ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.MINE, 0, ArenaDataManager.Instance.DressupList, "" }, new object[] { typeof(ArenaView).FullName, this.viewData }, true);
         }
         private void OnBtnFightScoreRule()
         {

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

@@ -253,7 +253,8 @@ namespace GFGGame
                     MyDressUpHelper.dressUpObj.itemList).Coroutine();
                 if (InstanceZonesDataManager.FightScene == ConstInstanceZonesType.Arena)
                 {
-                    ViewManager.GoBackFrom(typeof(ArenaDressUpFightView).FullName);
+                    //ViewManager.GoBackFrom(typeof(ArenaDressUpFightView).FullName);
+                    ViewManager.Show<ArenaDressInfoView>(new object[] { FightRoleType.MINE, 0, ArenaDataManager.Instance.DressupList, "" }, new object[] { typeof(ArenaView).FullName, this.viewData }, true);
                 }
             }
             else

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

@@ -4,6 +4,7 @@ using UI.Main;
 using System.Collections.Generic;
 using UnityEngine;
 using System.Collections;
+using ET;
 
 namespace GFGGame
 {
@@ -194,7 +195,16 @@ namespace GFGGame
             }
             else
             {
-                PromptController.Instance.ShowFloatTextPrompt("需通关前置关卡");
+                StoryChapterCfg chapterCfg = StoryChapterCfgArray.Instance.GetCfg(_chapterID + 1);
+                if (GameGlobal.myNumericComponent.GetAsInt(NumericType.Lvl) < chapterCfg.lvl)
+                {
+                    PromptController.Instance.ShowFloatTextPrompt(string.Format("角色等级达到%d级开启",chapterCfg.lvl));
+                }
+                else
+                {
+                    PromptController.Instance.ShowFloatTextPrompt("需通关前置关卡");
+                }
+                
             }
         }
 

BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_1!a.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_1.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_2!a.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_2.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_5!a.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_atlas0_5.png


BIN
GameClient/Assets/ResIn/UI/DailyWelfare/DailyWelfare_fui.bytes


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_2!a.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_2.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_3!a.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_3.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_4!a.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_4.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_5!a.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_5.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_6!a.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_6.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_8!a.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_8.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_9!a.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_atlas0_9.png


BIN
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes