Browse Source

Merge branch 'master' of http://10.108.64.190:3000/gfg/client

zhangyuqian 1 year ago
parent
commit
69e1833dcb

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

@@ -334,7 +334,10 @@ namespace GFGGame
                     QDManager.Logout(fromSdkLogoutCallback);
                     QDManager.Logout(fromSdkLogoutCallback);
             }
             }
             ViewManager.Hide<GuideView>();
             ViewManager.Hide<GuideView>();
-            ViewManager.Show<LoginView>(null, true);
+            if(!ViewManager.isViewOpen(typeof(LoginView).FullName))
+            {
+                ViewManager.Show<LoginView>(null, true);
+            }
         }
         }
 
 
         //断线重连后需要处理的事情
         //断线重连后需要处理的事情

+ 3 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ActivityAfternoonTea/UI_ActivityTeaMainUI.cs

@@ -7,7 +7,7 @@ namespace UI.ActivityAfternoonTea
     public partial class UI_ActivityTeaMainUI
     public partial class UI_ActivityTeaMainUI
     {
     {
         public GComponent target;
         public GComponent target;
-        public GLoader m_loaBg;
+        public GLoader m_Bg;
         public GButton m_btnBack;
         public GButton m_btnBack;
         public GLoader m_titleBg;
         public GLoader m_titleBg;
         public GLoader m_oneTimeIcon;
         public GLoader m_oneTimeIcon;
@@ -67,7 +67,7 @@ namespace UI.ActivityAfternoonTea
 
 
         private void Init(GComponent comp)
         private void Init(GComponent comp)
         {
         {
-            m_loaBg = (GLoader)comp.GetChild("loaBg");
+            m_Bg = (GLoader)comp.GetChild("Bg");
             m_btnBack = (GButton)comp.GetChild("btnBack");
             m_btnBack = (GButton)comp.GetChild("btnBack");
             m_titleBg = (GLoader)comp.GetChild("titleBg");
             m_titleBg = (GLoader)comp.GetChild("titleBg");
             m_oneTimeIcon = (GLoader)comp.GetChild("oneTimeIcon");
             m_oneTimeIcon = (GLoader)comp.GetChild("oneTimeIcon");
@@ -83,7 +83,7 @@ namespace UI.ActivityAfternoonTea
         }
         }
         public void Dispose(bool disposeTarget = false)
         public void Dispose(bool disposeTarget = false)
         {
         {
-            m_loaBg = null;
+            m_Bg = null;
             m_btnBack = null;
             m_btnBack = null;
             m_titleBg = null;
             m_titleBg = null;
             m_oneTimeIcon = null;
             m_oneTimeIcon = null;

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Common/UI_ModalStatusUI.cs

@@ -7,6 +7,7 @@ namespace UI.Common
     public partial class UI_ModalStatusUI
     public partial class UI_ModalStatusUI
     {
     {
         public GComponent target;
         public GComponent target;
+        public GGraph m_mask;
         public GTextField m_txtMessage;
         public GTextField m_txtMessage;
         public GGraph m_holder;
         public GGraph m_holder;
         public const string URL = "ui://mk0fwx0xd4iw4m";
         public const string URL = "ui://mk0fwx0xd4iw4m";
@@ -56,11 +57,13 @@ namespace UI.Common
 
 
         private void Init(GComponent comp)
         private void Init(GComponent comp)
         {
         {
+            m_mask = (GGraph)comp.GetChild("mask");
             m_txtMessage = (GTextField)comp.GetChild("txtMessage");
             m_txtMessage = (GTextField)comp.GetChild("txtMessage");
             m_holder = (GGraph)comp.GetChild("holder");
             m_holder = (GGraph)comp.GetChild("holder");
         }
         }
         public void Dispose(bool disposeTarget = false)
         public void Dispose(bool disposeTarget = false)
         {
         {
+            m_mask = null;
             m_txtMessage = null;
             m_txtMessage = null;
             m_holder = null;
             m_holder = null;
             if(disposeTarget && target != null)
             if(disposeTarget && target != null)

+ 3 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/CommonGame/UI_RewardUI.cs

@@ -7,7 +7,7 @@ namespace UI.CommonGame
     public partial class UI_RewardUI
     public partial class UI_RewardUI
     {
     {
         public GComponent target;
         public GComponent target;
-        public GGraph m_bg;
+        public GGraph m_mask;
         public GGraph m_holderBgCom;
         public GGraph m_holderBgCom;
         public GGraph m_holderTitle;
         public GGraph m_holderTitle;
         public GGroup m_downTipsText;
         public GGroup m_downTipsText;
@@ -61,7 +61,7 @@ namespace UI.CommonGame
 
 
         private void Init(GComponent comp)
         private void Init(GComponent comp)
         {
         {
-            m_bg = (GGraph)comp.GetChild("bg");
+            m_mask = (GGraph)comp.GetChild("mask");
             m_holderBgCom = (GGraph)comp.GetChild("holderBgCom");
             m_holderBgCom = (GGraph)comp.GetChild("holderBgCom");
             m_holderTitle = (GGraph)comp.GetChild("holderTitle");
             m_holderTitle = (GGraph)comp.GetChild("holderTitle");
             m_downTipsText = (GGroup)comp.GetChild("downTipsText");
             m_downTipsText = (GGroup)comp.GetChild("downTipsText");
@@ -71,7 +71,7 @@ namespace UI.CommonGame
         }
         }
         public void Dispose(bool disposeTarget = false)
         public void Dispose(bool disposeTarget = false)
         {
         {
-            m_bg = null;
+            m_mask = null;
             m_holderBgCom = null;
             m_holderBgCom = null;
             m_holderTitle = null;
             m_holderTitle = null;
             m_downTipsText = null;
             m_downTipsText = null;

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DressUp/UI_PhotographSaveUI.cs

@@ -7,6 +7,7 @@ namespace UI.DressUp
     public partial class UI_PhotographSaveUI
     public partial class UI_PhotographSaveUI
     {
     {
         public GComponent target;
         public GComponent target;
+        public GGraph m_mask;
         public GImage m_imgRes;
         public GImage m_imgRes;
         public GImage m_imgBorder;
         public GImage m_imgBorder;
         public GButton m_btnClose;
         public GButton m_btnClose;
@@ -62,6 +63,7 @@ namespace UI.DressUp
 
 
         private void Init(GComponent comp)
         private void Init(GComponent comp)
         {
         {
+            m_mask = (GGraph)comp.GetChild("mask");
             m_imgRes = (GImage)comp.GetChild("imgRes");
             m_imgRes = (GImage)comp.GetChild("imgRes");
             m_imgBorder = (GImage)comp.GetChild("imgBorder");
             m_imgBorder = (GImage)comp.GetChild("imgBorder");
             m_btnClose = (GButton)comp.GetChild("btnClose");
             m_btnClose = (GButton)comp.GetChild("btnClose");
@@ -73,6 +75,7 @@ namespace UI.DressUp
         }
         }
         public void Dispose(bool disposeTarget = false)
         public void Dispose(bool disposeTarget = false)
         {
         {
+            m_mask = null;
             m_imgRes = null;
             m_imgRes = null;
             m_imgBorder = null;
             m_imgBorder = null;
             m_btnClose = null;
             m_btnClose = null;

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Main/UI_StoryFightSingleScoreUI.cs

@@ -7,6 +7,7 @@ namespace UI.Main
     public partial class UI_StoryFightSingleScoreUI
     public partial class UI_StoryFightSingleScoreUI
     {
     {
         public GComponent target;
         public GComponent target;
+        public GLoader m_loaBg;
         public GLoader m_bg;
         public GLoader m_bg;
         public GGraph m_bgEffect;
         public GGraph m_bgEffect;
         public GGraph m_holder;
         public GGraph m_holder;
@@ -62,6 +63,7 @@ namespace UI.Main
 
 
         private void Init(GComponent comp)
         private void Init(GComponent comp)
         {
         {
+            m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_bg = (GLoader)comp.GetChild("bg");
             m_bg = (GLoader)comp.GetChild("bg");
             m_bgEffect = (GGraph)comp.GetChild("bgEffect");
             m_bgEffect = (GGraph)comp.GetChild("bgEffect");
             m_holder = (GGraph)comp.GetChild("holder");
             m_holder = (GGraph)comp.GetChild("holder");
@@ -73,6 +75,7 @@ namespace UI.Main
         }
         }
         public void Dispose(bool disposeTarget = false)
         public void Dispose(bool disposeTarget = false)
         {
         {
+            m_loaBg = null;
             m_bg = null;
             m_bg = null;
             m_bgEffect = null;
             m_bgEffect = null;
             m_holder = null;
             m_holder = null;

+ 6 - 6
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Studio/UI_StudioFilingUI.cs

@@ -8,12 +8,12 @@ namespace UI.Studio
     {
     {
         public GComponent target;
         public GComponent target;
         public Controller m_type;
         public Controller m_type;
-        public GLoader m_Bg;
+        public GLoader m_loaBg;
         public GComponent m_comValueBar;
         public GComponent m_comValueBar;
         public GButton m_btnBack;
         public GButton m_btnBack;
         public GButton m_btnChange;
         public GButton m_btnChange;
         public GLoader m_btnChageLine;
         public GLoader m_btnChageLine;
-        public GLoader m_loaBg;
+        public GLoader m_role;
         public GList m_list;
         public GList m_list;
         public GButton m_btnReward;
         public GButton m_btnReward;
         public GButton m_btnSuit;
         public GButton m_btnSuit;
@@ -71,12 +71,12 @@ namespace UI.Studio
         private void Init(GComponent comp)
         private void Init(GComponent comp)
         {
         {
             m_type = comp.GetController("type");
             m_type = comp.GetController("type");
-            m_Bg = (GLoader)comp.GetChild("Bg");
+            m_loaBg = (GLoader)comp.GetChild("loaBg");
             m_comValueBar = (GComponent)comp.GetChild("comValueBar");
             m_comValueBar = (GComponent)comp.GetChild("comValueBar");
             m_btnBack = (GButton)comp.GetChild("btnBack");
             m_btnBack = (GButton)comp.GetChild("btnBack");
             m_btnChange = (GButton)comp.GetChild("btnChange");
             m_btnChange = (GButton)comp.GetChild("btnChange");
             m_btnChageLine = (GLoader)comp.GetChild("btnChageLine");
             m_btnChageLine = (GLoader)comp.GetChild("btnChageLine");
-            m_loaBg = (GLoader)comp.GetChild("loaBg");
+            m_role = (GLoader)comp.GetChild("role");
             m_list = (GList)comp.GetChild("list");
             m_list = (GList)comp.GetChild("list");
             m_btnReward = (GButton)comp.GetChild("btnReward");
             m_btnReward = (GButton)comp.GetChild("btnReward");
             m_btnSuit = (GButton)comp.GetChild("btnSuit");
             m_btnSuit = (GButton)comp.GetChild("btnSuit");
@@ -90,12 +90,12 @@ namespace UI.Studio
         public void Dispose(bool disposeTarget = false)
         public void Dispose(bool disposeTarget = false)
         {
         {
             m_type = null;
             m_type = null;
-            m_Bg = null;
+            m_loaBg = null;
             m_comValueBar = null;
             m_comValueBar = null;
             m_btnBack = null;
             m_btnBack = null;
             m_btnChange = null;
             m_btnChange = null;
             m_btnChageLine = null;
             m_btnChageLine = null;
-            m_loaBg = null;
+            m_role = null;
             m_list = null;
             m_list = null;
             m_btnReward = null;
             m_btnReward = null;
             m_btnSuit = null;
             m_btnSuit = null;

+ 5 - 0
GameClient/Assets/Game/HotUpdate/HotUpdateDriver.cs

@@ -19,6 +19,11 @@ namespace GFGGame
             //Game
             //Game
             OperationSystem.Initialize();
             OperationSystem.Initialize();
             GameController.Start();
             GameController.Start();
+            Reporter reporter = GameObject.Find("Reporter").GetComponent<Reporter>();
+            if(LauncherConfig.ChannelId != (int)ChannelID.Test && reporter != null)
+            {
+                reporter.numOfCircleToShow = 50;
+            }
         }
         }
 
 
         private void Update()
         private void Update()

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/CommonGame/RewardView.cs

@@ -44,7 +44,7 @@ namespace GFGGame
             isfullScreen = true;
             isfullScreen = true;
 
 
             _ui.m_comList.m_listReward.itemRenderer = RenderListRewardItem;
             _ui.m_comList.m_listReward.itemRenderer = RenderListRewardItem;
-            _ui.m_bg.onClick.Add(this.Hide);
+            _ui.m_mask.onClick.Add(this.Hide);
         }
         }
         protected override void OnShown()
         protected override void OnShown()
         {
         {

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

@@ -187,7 +187,7 @@ namespace GFGGame
             dressUpObjUI.ResetSceneObj(100, false, true, null, false);
             dressUpObjUI.ResetSceneObj(100, false, true, null, false);
             dressUpObjUI.dressUpObj.PutOnItemList(roleData.itemList);
             dressUpObjUI.dressUpObj.PutOnItemList(roleData.itemList);
             dressUpObjUI.UpdateWrapper(_ui.m_holder);
             dressUpObjUI.UpdateWrapper(_ui.m_holder);
-            _ui.m_bg.url = ResPathUtil.GetBgImgPath("zd_g_bg");
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("zd_g_bg");
 
 
             if (!FightDataManager.Instance.autoPlay)
             if (!FightDataManager.Instance.autoPlay)
             {
             {

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

@@ -41,7 +41,7 @@ namespace GFGGame
             isReturnView = true;
             isReturnView = true;
             _valueBarController = new ValueBarController(_ui.m_comValueBar);
             _valueBarController = new ValueBarController(_ui.m_comValueBar);
 
 
-            _ui.m_Bg.url = ResPathUtil.GetBgImgPath("bg_fhl");
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("bg_fhl");
             _ui.m_btnChageLine.url = ResPathUtil.GetCommonGameResPath("zsx_fl");
             _ui.m_btnChageLine.url = ResPathUtil.GetCommonGameResPath("zsx_fl");
 
 
             _ui.m_list.itemRenderer = RenderListItem;
             _ui.m_list.itemRenderer = RenderListItem;
@@ -116,7 +116,7 @@ namespace GFGGame
             RoleLimitData limitData = RoleLimitDataManager.GetLimitData(this._studioCfg.limit);
             RoleLimitData limitData = RoleLimitDataManager.GetLimitData(this._studioCfg.limit);
             var limitCfg = LimitCfgArray.Instance.GetCfg(this._studioCfg.limit);
             var limitCfg = LimitCfgArray.Instance.GetCfg(this._studioCfg.limit);
             _ui.m_btnAdd.visible = limitCfg.itemID > 0;
             _ui.m_btnAdd.visible = limitCfg.itemID > 0;
-            _ui.m_loaBg.url = ResPathUtil.GetStudioFilingPicPath(_studioCfg.res); //ResPathUtil.GetBgImgPath(_studioCfg.res);
+            _ui.m_role.url = ResPathUtil.GetStudioFilingPicPath(_studioCfg.res); //ResPathUtil.GetBgImgPath(_studioCfg.res);
             _ui.m_btnChange.title = _studioCfg.name;
             _ui.m_btnChange.title = _studioCfg.name;
             _ui.m_txtNum.text = string.Format("剩余次数:{0}/{1}", limitData.TotalPlayMax - limitData.PlayTimes, limitData.MaxStorageCount);
             _ui.m_txtNum.text = string.Format("剩余次数:{0}/{1}", limitData.TotalPlayMax - limitData.PlayTimes, limitData.MaxStorageCount);
 
 

BIN
GameClient/Assets/ResIn/UI/ActivityAfternoonTea/ActivityAfternoonTea_fui.bytes


BIN
GameClient/Assets/ResIn/UI/Common/Common_fui.bytes


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_fui.bytes


BIN
GameClient/Assets/ResIn/UI/DressUp/DressUp_fui.bytes


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


BIN
GameClient/Assets/ResIn/UI/Studio/Studio_fui.bytes