Browse Source

替换月卡文字

zhaoyang 2 năm trước cách đây
mục cha
commit
a2c5ec75b9

+ 1 - 1
FGUIProject/assets/Store/StoreMonthUI.xml

@@ -24,7 +24,7 @@
     <text id="n18_qik1" name="txtPrivilegeCount" xy="736,1025" size="47,41" group="n19_qik1" fontSize="30" color="#8c8580" vars="true" text="300"/>
     <group id="n19_qik1" name="n19" xy="654,1025" size="129,43" group="n10_qik1" advanced="true"/>
     <group id="n10_qik1" name="n10" xy="296,1025" size="487,43" advanced="true" layout="hz" colGap="35" excludeInvisibles="true"/>
-    <text id="n21_qik1" name="n21" xy="349,1080" size="241,41" group="n30_qik1" fontSize="30" color="#8c8580" vars="true" text="金卡期间每天获得"/>
+    <text id="n21_qik1" name="txtDesc" xy="349,1080" size="241,42" group="n30_qik1" fontSize="30" color="#8c8580" vars="true" text="{value=金卡}期间每天获得"/>
     <loader id="n22_qik1" name="loaDailyMoney" xy="625,1081" size="40,40" group="n25_qik1" aspect="true" url="ui://eg2y0ldpkztethq" fill="scale"/>
     <text id="n23_qik1" name="n23" xy="666,1081" size="19,41" group="n25_qik1" fontSize="30" color="#8c8580" vars="true" text="*"/>
     <text id="n24_qik1" name="txtDailyMoneyCount" xy="684,1080" size="47,41" group="n25_qik1" fontSize="30" color="#8c8580" vars="true" text="300"/>

+ 1 - 1
GameClient/Assets/Editor/Excel/Scanner/ItemApproachScanner.cs

@@ -411,7 +411,7 @@ namespace GFGEditor
             return false;
         }
         /// <summary>
-        /// 检测商城-卡是否产出该物品
+        /// 检测商城-灵犀卡是否产出该物品
         /// </summary>
         /// <param name="itemId"></param>
         /// <returns></returns>

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Constant/ConstStoreSubId.cs

@@ -4,8 +4,8 @@ namespace GFGGame
     {
         public const int STORE_CHARGE = 0;//充值
         public const int STORE_CHARGE_ADDUP = 1;//累计充值
-        public const int STORE_MONTH_GOLD_CARD = 0;//
-        public const int STORE_MONTH_BLACK_CARD = 1;//黑金
+        public const int STORE_MONTH_GOLD_CARD = 0;//灵犀
+        public const int STORE_MONTH_BLACK_CARD = 1;//璇玑
         public const int STORE_GIFT_BAG_ACTIVITY = 0;//活动
         public const int STORE_GIFT_BAG_TIME_LIMIT = 1;//珍珠商城
         public const int STORE_GIFT_BAG_GREATEST = 2;//材料商城

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

@@ -251,6 +251,7 @@ namespace GFGGame
         private static async void AfterEnterGame(object param)
         {
             Timers.inst.StartCoroutine(LongRunningTask());
+
             ItemHelper.GetItemAttributeInfos().Coroutine();
             MainStorySProxy.GetStoryInfos().Coroutine();
             CardSProxy.GetCardInfos().Coroutine();

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

@@ -98,7 +98,7 @@ namespace GFGGame
                     }
                     else
                     {
-                        posItems[i] = "卡开启";
+                        posItems[i] = "灵犀卡开启";
                     }
                 }
                 else if (GetPosType(i) == MonthCardType.BlackGold)
@@ -109,7 +109,7 @@ namespace GFGGame
                     }
                     else
                     {
-                        posItems[i] = "黑金卡开启";
+                        posItems[i] = "璇玑卡开启";
                     }
                 }
             }

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Data/RedDotDataManager.cs

@@ -548,7 +548,7 @@ namespace GFGGame
             return false;
         }
         /// <summary>
-        /// 商城-月卡-
+        /// 商城-月卡-灵犀
         /// </summary>
         /// <returns></returns>
         public bool GetGoldCardRewardRed()
@@ -556,7 +556,7 @@ namespace GFGGame
             return RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.Gold) && GameGlobal.myNumericComponent.GetAsInt(NumericType.MonthCardGoldReward) <= 0;
         }
         /// <summary>
-        /// 商城-月卡-黑金
+        /// 商城-月卡-璇玑
         /// </summary>
         /// <returns></returns>
         public bool GetBlackCardRewardRed()
@@ -564,7 +564,7 @@ namespace GFGGame
             return RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.BlackGold) && GameGlobal.myNumericComponent.GetAsInt(NumericType.MonthCardBlackGoldReward) <= 0;
         }
         /// <summary>
-        /// 商城-月卡-黑金卡-单品奖励
+        /// 商城-月卡-璇玑卡-单品奖励
         /// </summary>
         /// <returns></returns>
         public bool GetBlackCardClothingRed()

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

@@ -246,11 +246,11 @@ namespace GFGGame
                 }
                 else if (GetPosType(i) == MonthCardType.Gold && !RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.Gold))
                 {
-                    posItems[i] = "卡开启";
+                    posItems[i] = "灵犀卡开启";
                 }
                 else if (GetPosType(i) == MonthCardType.BlackGold && !RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.BlackGold))
                 {
-                    posItems[i] = "黑金卡开启";
+                    posItems[i] = "璇玑卡开启";
                 }
             }
             return posItems;

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Data/ShopDataManager.cs

@@ -203,7 +203,7 @@ namespace GFGGame
             }
             else if (shopCfg.lockType == LockType.MONTH_CARD_TYPE)
             {
-                return string.Format("开通{0}解锁", shopCfg.lockValue == MonthCardType.Gold ? "金卡" : "黑金卡");
+                return string.Format("开通{0}解锁", shopCfg.lockValue == MonthCardType.Gold ? "灵犀卡" : "璇玑卡");
             }
             else if (shopCfg.lockType == LockType.AREND_GRADE)
             {

+ 3 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Store/UI_StoreMonthUI.cs

@@ -16,6 +16,7 @@ namespace UI.Store
         public GLoader m_loaMoney;
         public GTextField m_txtMoneyCount;
         public GTextField m_txtPrivilegeCount;
+        public GTextField m_txtDesc;
         public GLoader m_loaDailyMoney;
         public GTextField m_txtDailyMoneyCount;
         public GTextField m_txtTime;
@@ -79,6 +80,7 @@ namespace UI.Store
             m_loaMoney = (GLoader)comp.GetChild("loaMoney");
             m_txtMoneyCount = (GTextField)comp.GetChild("txtMoneyCount");
             m_txtPrivilegeCount = (GTextField)comp.GetChild("txtPrivilegeCount");
+            m_txtDesc = (GTextField)comp.GetChild("txtDesc");
             m_loaDailyMoney = (GLoader)comp.GetChild("loaDailyMoney");
             m_txtDailyMoneyCount = (GTextField)comp.GetChild("txtDailyMoneyCount");
             m_txtTime = (GTextField)comp.GetChild("txtTime");
@@ -99,6 +101,7 @@ namespace UI.Store
             m_loaMoney = null;
             m_txtMoneyCount = null;
             m_txtPrivilegeCount = null;
+            m_txtDesc = null;
             m_loaDailyMoney = null;
             m_txtDailyMoneyCount = null;
             m_txtTime = null;

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

@@ -135,13 +135,13 @@ namespace GFGGame
             int index = (int)obj.data;
             if (RoleInfoManager.GetPosType(index) == MonthCardType.Gold && !RoleDataManager.CheckIsMonthCardOpenByType(MonthCardType.Gold))
             {
-                // PromptController.Instance.ShowFloatTextPrompt("卡开启");
+                // PromptController.Instance.ShowFloatTextPrompt("灵犀卡开启");
                 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("黑金卡开启");
+                // PromptController.Instance.ShowFloatTextPrompt("璇玑卡开启");
                 ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_MONTH_CARD, ConstStoreSubId.STORE_MONTH_BLACK_CARD });
                 return;
             }

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

@@ -106,6 +106,7 @@ namespace GFGGame
                             privilegeCount++;
                         }
                     }
+                    _ui.m_txtDesc.SetVar("value", "灵犀卡").FlushVars();
                     _ui.m_txtMoneyCount.text = privilegeCfg.value1Arr[0].ToString();
                     _ui.m_txtDailyMoneyCount.text = privilegeCfg.value1Arr[1].ToString();
                     _ui.m_btnBlackReward.visible = false;
@@ -123,7 +124,7 @@ namespace GFGGame
                             privilegeCount++;
                         }
                     }
-
+                    _ui.m_txtDesc.SetVar("value", "璇玑卡").FlushVars();
                     _ui.m_txtMoneyCount.text = privilegeCfg.value2Arr[0].ToString();
                     _ui.m_txtDailyMoneyCount.text = privilegeCfg.value2Arr[1].ToString();
                     _ui.m_btnBlackReward.visible = true;
@@ -152,6 +153,7 @@ namespace GFGGame
             _ui.m_txtTips.SetVar("value", (price * 10).ToString()).FlushVars();
             _ui.m_txtTips.SetVar("day", monthCfg.limitDays.ToString()).FlushVars();
 
+
             _ui.m_loaMoney.url = ResPathUtil.GetCommonGameResPath(ItemCfgArray.Instance.GetCfg(privilegeCfg.paramsArr[0]).res);
             _ui.m_loaDailyMoney.url = ResPathUtil.GetCommonGameResPath(ItemCfgArray.Instance.GetCfg(privilegeCfg.paramsArr[0]).res);
             _ui.m_txtPrivilegeCount.text = privilegeCount.ToString();

BIN
GameClient/Assets/ResIn/UI/Store/Store_fui.bytes