소스 검색

其他玩家信息

zhaoyang 2 년 전
부모
커밋
27e145305c

+ 4 - 6
FGUIProject/assets/RoleInfo/OtherRoleInfoUI.xml

@@ -5,14 +5,12 @@
       <relation target="" sidePair="width-width,height-height,center-center,middle-middle"/>
     </loader>
     <component id="n52_r9ri" name="btnBack" src="9xlo8" fileName="components/ButtonBack1.xml" pkg="eg2y0ldp" xy="35,90"/>
-    <component id="n33_r9ri" name="comHead" src="r9ri1h" fileName="components/ComHead.xml" xy="96,147" group="n53_oqa1" scale="1.3,1.3" pkg="eg2y0ldp"/>
-    <image id="n29_r9ri" name="n29" src="r9ri24" fileName="images/zjm_dj_1.png" xy="295,317" group="n53_oqa1"/>
-    <text id="n30_r9ri" name="txtLvl" xy="304,324" size="34,34" group="n53_oqa1" fontSize="24" color="#ffffff" align="center" text="99">
+    <component id="n33_r9ri" name="comHead" src="r9ri1h" fileName="components/ComHead.xml" pkg="eg2y0ldp" xy="96,147" group="n53_oqa1" scale="1.3,1.3"/>
+    <image id="n29_r9ri" name="n29" src="r9ri24" fileName="images/zjm_dj_1.png" xy="286,339" group="n53_oqa1"/>
+    <text id="n30_r9ri" name="txtLvl" xy="295,346" size="34,34" group="n53_oqa1" fontSize="24" color="#ffffff" align="center" text="99">
       <relation target="n29_r9ri" sidePair="center-center,middle-middle"/>
     </text>
-    <image id="n32_r9ri" name="n32" src="r9ri16" fileName="images/grxx_zyshul.png" xy="158,375" group="n53_oqa1"/>
-    <text id="n36_r9ri" name="txtExp" xy="215,373" pivot="0.5,0" size="44,34" group="n53_oqa1" fontSize="24" color="#fbedda" letterSpacing="-2" text="0/1"/>
-    <group id="n53_oqa1" name="n53" xy="96,147" size="249,260" group="n37_r9ri"/>
+    <group id="n53_oqa1" name="n53" xy="96,147" size="240,245" group="n37_r9ri"/>
     <image id="n50_r9ri" name="n50" src="r9rim" fileName="images/grxx_xtxtx.png" xy="417,297" size="576,6" group="n54_oqa1"/>
     <text id="n5_d4iw" name="txtRoleName" xy="428,214" size="328,64" group="n54_oqa1" font="ui://eg2y0ldpwonotja" fontSize="48" color="#927346" align="center" letterSpacing="-2" text="玩家名称七个字"/>
     <text id="n55_v95q" name="txtSlogan" xy="431,318" size="549,89" group="n54_oqa1" fontSize="30" color="#a6967c" autoSize="none" text=""/>

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Data/VO/RoleInfoData.cs

@@ -19,7 +19,7 @@ namespace GFGGame
         public string slogan;//个性签名
         public CustomSuitData customSuitData; //当前搭配套装
         public int RoleLvl = 1; //玩家等级
-        public long RoleExp = 1; //玩家经验
+        // public long RoleExp = 1; //玩家经验
         public string SuitCollectPer = "0%"; //套装收集度
         public List<PoemPhotoData> showPhotoList = new List<PoemPhotoData>();//会返回固定四个图片信息,未展示则为null
     }

+ 0 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/RoleInfo/UI_OtherRoleInfoUI.cs

@@ -11,7 +11,6 @@ namespace UI.RoleInfo
         public GButton m_btnBack;
         public GComponent m_comHead;
         public GTextField m_txtLvl;
-        public GTextField m_txtExp;
         public GTextField m_txtRoleName;
         public GTextField m_txtSlogan;
         public GGroup m_grpHead;
@@ -68,7 +67,6 @@ namespace UI.RoleInfo
             m_btnBack = (GButton)comp.GetChild("btnBack");
             m_comHead = (GComponent)comp.GetChild("comHead");
             m_txtLvl = (GTextField)comp.GetChild("txtLvl");
-            m_txtExp = (GTextField)comp.GetChild("txtExp");
             m_txtRoleName = (GTextField)comp.GetChild("txtRoleName");
             m_txtSlogan = (GTextField)comp.GetChild("txtSlogan");
             m_grpHead = (GGroup)comp.GetChild("grpHead");
@@ -81,7 +79,6 @@ namespace UI.RoleInfo
             m_btnBack = null;
             m_comHead = null;
             m_txtLvl = null;
-            m_txtExp = null;
             m_txtRoleName = null;
             m_txtSlogan = null;
             m_grpHead = null;

+ 1 - 1
GameClient/Assets/Game/HotUpdate/ServerProxy/RoleInfoSProxy.cs

@@ -39,7 +39,7 @@ namespace GFGGame
                     OtherRoleInfoDetailData roleInfoDetail = new OtherRoleInfoDetailData();
                     roleInfoDetail.slogan = response.Signature;
                     roleInfoDetail.RoleLvl = response.RoleLvl;
-                    roleInfoDetail.RoleExp = response.Exp;
+                    // roleInfoDetail.RoleExp = response.Exp;
                     roleInfoDetail.SuitCollectPer = response.SuitCollectPer;
                     for (int i = 0; i < response.PictureInfoList.Count; i++)
                     {

+ 9 - 9
GameClient/Assets/Game/HotUpdate/Views/RoleInfo/OtherRoleInfoView.cs

@@ -75,15 +75,15 @@ namespace GFGGame
 
         private void UpdateView()
         {
-            RoleLevelCfg roleLevelCfg = RoleLevelCfgArray.Instance.GetCfg(_roleInfo.roleLv);
-            if (roleLevelCfg.exp > 0)
-            {
-                _ui.m_txtExp.text = string.Format("{0}/{1}", _roleDetailInfo.RoleExp, roleLevelCfg.exp);
-            }
-            else
-            {
-                _ui.m_txtExp.text = "已满级";
-            }
+            // RoleLevelCfg roleLevelCfg = RoleLevelCfgArray.Instance.GetCfg(_roleInfo.roleLv);
+            // if (roleLevelCfg.exp > 0)
+            // {
+            //     _ui.m_txtExp.text = string.Format("{0}/{1}", _roleDetailInfo.RoleExp, roleLevelCfg.exp);
+            // }
+            // else
+            // {
+            //     _ui.m_txtExp.text = "已满级";
+            // }
 
             _ui.m_txtSlogan.text = _roleDetailInfo.slogan;
             _ui.m_btnFieldGuide.title = string.Format("套装收集度:{0}", _roleDetailInfo.SuitCollectPer);

BIN
GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes


BIN
GameClient/Assets/ResIn/UI/RoleInfo/RoleInfo_atlas0.png


BIN
GameClient/Assets/ResIn/UI/RoleInfo/RoleInfo_fui.bytes