瀏覽代碼

寻奇访胜红点

zhaoyang 2 年之前
父節點
當前提交
75901fe69e

+ 1 - 1
FGUIProject/assets/Main/componentsDialog/CompDialogHead.xml

@@ -5,7 +5,7 @@
     <image id="n18_f4xv" name="n18" src="nmnb2q" fileName="imagesDialog/dhjm_jqdh_1.png" xy="-12,-32" group="n20_rkrw"/>
     <text id="n15_nmnb" name="txtName" xy="82,-28" pivot="0.5,0" size="244,64" group="n20_rkrw" font="ui://eg2y0ldprkrwti1" fontSize="48" color="#fef5e3" autoClearText="true" text="名字五个字"/>
     <group id="n20_rkrw" name="n20" xy="-12,-32" size="431,74"/>
-    <text id="n16_nmnb" name="txtContent" xy="267,75" size="688,56" font="ui://eg2y0ldpk1kha2" fontSize="42" color="#806744" leading="6" ubb="true" autoSize="height" autoClearText="true" text="hi"/>
+    <text id="n16_nmnb" name="txtContent" xy="260,75" size="706,320" fontSize="42" color="#806744" leading="12" letterSpacing="3" ubb="true" autoSize="none" autoClearText="true" text="孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊"/>
     <component id="n17_nmnb" name="iconNext" src="nmnb33" fileName="componentsDialog/CompArrow.xml" xy="912,348"/>
     <component id="n19_f4xv" name="comphead" src="ndrd7j" fileName="componentsDialog/Component1.xml" xy="-41,47"/>
   </displayList>

+ 1 - 1
FGUIProject/assets/Main/componentsDialog/CompDialogName.xml

@@ -2,7 +2,7 @@
 <component size="1008,458">
   <displayList>
     <image id="n9_nmnb" name="bg" src="nmnb2r" fileName="imagesDialog/dhjm_jqdh_2.png" xy="0,0"/>
-    <text id="n11_nmnb" name="txtContent" xy="49,75" size="915,56" font="ui://eg2y0ldpk1kha2" fontSize="42" color="#806744" leading="6" ubb="true" autoSize="height" autoClearText="true" text="hi"/>
+    <text id="n11_nmnb" name="txtContent" xy="49,75" size="915,188" fontSize="42" color="#806744" leading="15" letterSpacing="3" ubb="true" autoSize="height" autoClearText="true" text="孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊"/>
     <component id="n12_nmnb" name="iconNext" src="nmnb33" fileName="componentsDialog/CompArrow.xml" xy="912,348"/>
     <image id="n13_f4xv" name="n13" src="nmnb2q" fileName="imagesDialog/dhjm_jqdh_1.png" xy="-12,-31" group="n14_rkrw"/>
     <text id="n10_nmnb" name="txtName" xy="75,-28" pivot="0.5,0" size="252,66" group="n14_rkrw" font="ui://eg2y0ldprkrwti1" fontSize="50" color="#fef5e3" autoClearText="true" text="名字五个字"/>

+ 1 - 1
FGUIProject/assets/Main/componentsDialog/CompDialogText.xml

@@ -2,7 +2,7 @@
 <component size="1004,424">
   <displayList>
     <image id="n9_f4xv" name="n9" src="nmnb2s" fileName="imagesDialog/dhjm_jqdh_3.png" xy="0,0"/>
-    <text id="n7_nmnb" name="txtContent" xy="41,75" size="925,56" font="ui://eg2y0ldpk1kha2" fontSize="42" color="#d8ceae" leading="6" ubb="true" autoSize="height" autoClearText="true" text="你好"/>
+    <text id="n7_nmnb" name="txtContent" xy="41,75" size="925,188" fontSize="42" color="#d8ceae" leading="15" letterSpacing="3" ubb="true" autoSize="height" autoClearText="true" text="孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊孔雀东南飞,五里一徘徊"/>
     <component id="n8_nmnb" name="iconNext" src="nmnb33" fileName="componentsDialog/CompArrow.xml" xy="893,340"/>
   </displayList>
 </component>

二進制
FGUIProject/assets/Main/imagesDialog/dhjm_jqdh_2.png


+ 20 - 0
GameClient/Assets/Game/HotUpdate/Data/RedDotDataManager.cs

@@ -176,6 +176,15 @@ namespace GFGGame
         }
 
         /// <summary>
+        /// 寻奇访胜
+        /// </summary>
+        /// <returns></returns>
+        public bool GetTravelRed()
+        {
+            return TravelDataManager.Instance.TravelData.Status == (int)TravelGuideType.TravelComplete;
+        }
+
+        /// <summary>
         /// 千山万水-图鉴红点
         /// </summary>
         /// <returns></returns>
@@ -220,6 +229,11 @@ namespace GFGGame
             return RoleInfoManager.Instance.newHeadBorderDatas.Count > 0;
         }
 
+        /// <summary>
+        /// 卡牌-卡牌技能升级
+        /// </summary>
+        /// <param name="cardId"></param>
+        /// <returns></returns>
         public bool GetCardSkillsRed(int cardId)
         {
             List<PassivitySkillCfg> skillCfgs = PassivitySkillCfgArray.Instance.GetCfgsBycardId(cardId);
@@ -229,6 +243,12 @@ namespace GFGGame
             }
             return false;
         }
+
+        /// <summary>
+        /// 卡牌-卡牌技能升级
+        /// </summary>
+        /// <param name="cardId"></param>
+        /// <returns></returns>
         public bool GetCardSkillRed(int skillId)
         {
 

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -600,6 +600,8 @@ namespace GFGGame
             RedDotController.Instance.SetComRedDot(_ui.m_btnField.target, RedDotDataManager.Instance.GetFieldRed());
             RedDotController.Instance.SetComRedDot(_ui.m_btnStudio.target, RedDotDataManager.Instance.GetStudioFilingRed());
             RedDotController.Instance.SetComRedDot(_ui.m_headBar.target, RedDotDataManager.Instance.GetHeadRed() || RedDotDataManager.Instance.GetHeadBorderRed(), "", 5, 7);
+            RedDotController.Instance.SetComRedDot(_ui.m_btnTravel.target, RedDotDataManager.Instance.GetTravelRed());
+
         }
 
         private void CheckGuide(object param)

二進制
GameClient/Assets/ResIn/UI/Main/Main_atlas0_4!a.png


二進制
GameClient/Assets/ResIn/UI/Main/Main_atlas0_4.png


二進制
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes