zhaoyang 3 anni fa
parent
commit
2400788d81
52 ha cambiato i file con 258 aggiunte e 230 eliminazioni
  1. 0 0
      FGUIProject/assets/ClothingFoster/ClothingFosterFinishUI.xml
  2. 0 0
      FGUIProject/assets/ClothingFoster/ClothingFosterUI.xml
  3. 0 0
      FGUIProject/assets/ClothingFoster/ClothingListUI.xml
  4. 0 0
      FGUIProject/assets/ClothingFoster/ClothingPropertyShowUI.xml
  5. 0 0
      FGUIProject/assets/ClothingFoster/ClothingRenewFinishUI.xml
  6. 0 0
      FGUIProject/assets/ClothingFoster/ClothingRewardUI.xml
  7. 0 0
      FGUIProject/assets/ClothingFoster/ClothingUI.xml
  8. 7 7
      FGUIProject/assets/ClothingFoster/package.xml
  9. 1 1
      GameClient/Assets/Game/HotUpdate/Controller/GuideController.cs
  10. 1 1
      GameClient/Assets/Game/HotUpdate/Data/FunctionOpenDataManager.cs
  11. 5 2
      GameClient/Assets/Game/HotUpdate/Data/ItemDataManager.cs
  12. 7 7
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingFosterFinishUI.cs
  13. 1 1
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingFosterFinishUI.cs.meta
  14. 7 7
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingFosterUI.cs
  15. 1 1
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingFosterUI.cs.meta
  16. 7 7
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingListUI.cs
  17. 1 1
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingListUI.cs.meta
  18. 7 7
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingPropertyShowUI.cs
  19. 1 1
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingPropertyShowUI.cs.meta
  20. 7 7
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingRenewFinishUI.cs
  21. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingRenewFinishUI.cs.meta
  22. 7 7
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingRewardUI.cs
  23. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingRewardUI.cs.meta
  24. 7 7
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingUI.cs
  25. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingUI.cs.meta
  26. 0 11
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitRenewFinishUI.cs.meta
  27. 0 11
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitRewardUI.cs.meta
  28. 0 11
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitUI.cs.meta
  29. 6 4
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterFinishView.cs
  30. 11 0
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterFinishView.cs.meta
  31. 5 4
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterRewardView.cs
  32. 11 0
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterRewardView.cs.meta
  33. 18 8
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterView.cs
  34. 11 0
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterView.cs.meta
  35. 14 8
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingListView.cs
  36. 11 0
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingListView.cs.meta
  37. 5 5
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingPropertyShowView.cs
  38. 11 0
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingPropertyShowView.cs.meta
  39. 4 4
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingRenewFinishView.cs
  40. 11 0
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingRenewFinishView.cs.meta
  41. 27 21
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingView.cs
  42. 11 0
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingView.cs.meta
  43. 0 11
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitFosterFinishView.cs.meta
  44. 0 11
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitFosterView.cs.meta
  45. 0 11
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitListView.cs.meta
  46. 0 11
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitPropertyShowView.cs.meta
  47. 0 11
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitRenewFinishView.cs.meta
  48. 0 11
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitRewardView.cs.meta
  49. 0 11
      GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitView.cs.meta
  50. 1 1
      GameClient/Assets/Game/HotUpdate/Views/CommonGame/ApproachOfItemView.cs
  51. 1 1
      GameClient/Assets/Game/HotUpdate/Views/XiuFang/XiuFangView.cs
  52. BIN
      GameClient/Assets/ResIn/UI/ClothingFoster/ClothingFoster_fui.bytes

+ 0 - 0
FGUIProject/assets/ClothingFoster/SuitFosterFinishUI.xml → FGUIProject/assets/ClothingFoster/ClothingFosterFinishUI.xml


+ 0 - 0
FGUIProject/assets/ClothingFoster/SuitFosterUI.xml → FGUIProject/assets/ClothingFoster/ClothingFosterUI.xml


+ 0 - 0
FGUIProject/assets/ClothingFoster/SuitListUI.xml → FGUIProject/assets/ClothingFoster/ClothingListUI.xml


+ 0 - 0
FGUIProject/assets/ClothingFoster/SuitPropertyShowUI.xml → FGUIProject/assets/ClothingFoster/ClothingPropertyShowUI.xml


+ 0 - 0
FGUIProject/assets/ClothingFoster/SuitRenewFinishUI.xml → FGUIProject/assets/ClothingFoster/ClothingRenewFinishUI.xml


+ 0 - 0
FGUIProject/assets/ClothingFoster/SuitRewardUI.xml → FGUIProject/assets/ClothingFoster/ClothingRewardUI.xml


+ 0 - 0
FGUIProject/assets/ClothingFoster/SuitUI.xml → FGUIProject/assets/ClothingFoster/ClothingUI.xml


+ 7 - 7
FGUIProject/assets/ClothingFoster/package.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packageDescription id="uicwtr5b">
   <resources>
-    <component id="py5g0" name="SuitListUI.xml" path="/" exported="true"/>
+    <component id="py5g0" name="ClothingListUI.xml" path="/" exported="true"/>
     <component id="py5g1" name="Button2.xml" path="/components/"/>
     <image id="py5g2" name="tujian_anniu_1.png" path="/images/" scale="9grid" scale9grid="53,15,106,30"/>
     <image id="py5g3" name="tujian_xzdg.png" path="/images/"/>
@@ -16,7 +16,7 @@
     <image id="py5gc" name="tujian_jdt_2.png" path="/images/" scale="tile"/>
     <image id="py5gd" name="tujian_suoan.png" path="/images/"/>
     <image id="py5ge" name="zhuxian_shuoto.png" path="/images/"/>
-    <component id="py5gf" name="SuitUI.xml" path="/" exported="true"/>
+    <component id="py5gf" name="ClothingUI.xml" path="/" exported="true"/>
     <image id="py5gg" name="sc_bjtu.png" path="/images/images/" atlas="alone_npot"/>
     <image id="py5gh" name="tujian_tzxian.png" path="/images/images/"/>
     <image id="py5gi" name="tujian_tzk_1.png" path="/images/images/"/>
@@ -26,10 +26,10 @@
     <component id="py5gm" name="Button5.xml" path="/components/"/>
     <component id="py5gn" name="Button6.xml" path="/components/"/>
     <component id="py5go" name="Button7.xml" path="/components/"/>
-    <component id="py5gp" name="SuitFosterUI.xml" path="/" exported="true"/>
-    <component id="py5gq" name="SuitPropertyShowUI.xml" path="/" exported="true"/>
-    <component id="py5gr" name="SuitRewardUI.xml" path="/" exported="true"/>
-    <component id="py5gs" name="SuitFosterFinishUI.xml" path="/" exported="true"/>
+    <component id="py5gp" name="ClothingFosterUI.xml" path="/" exported="true"/>
+    <component id="py5gq" name="ClothingPropertyShowUI.xml" path="/" exported="true"/>
+    <component id="py5gr" name="ClothingRewardUI.xml" path="/" exported="true"/>
+    <component id="py5gs" name="ClothingFosterFinishUI.xml" path="/" exported="true"/>
     <component id="py5gt" name="ListPropertyAddItem.xml" path="/components/"/>
     <component id="py5gu" name="ListMaterialsItem.xml" path="/components/"/>
     <component id="py5gv" name="ListPropertyShowItem.xml" path="/components/"/>
@@ -42,7 +42,7 @@
     <component id="nk8d13" name="ComFosterReward.xml" path="/components/"/>
     <component id="nk8d14" name="ComRenewReward.xml" path="/components/"/>
     <component id="nk8d15" name="ComRenewRewardGet.xml" path="/components/"/>
-    <component id="nk8d16" name="SuitRenewFinishUI.xml" path="/" exported="true"/>
+    <component id="nk8d16" name="ClothingRenewFinishUI.xml" path="/" exported="true"/>
     <component id="nk8d17" name="comFosterAni.xml" path="/components/"/>
     <image id="bd1c18" name="fzyc_yjanniu_4.png" path="/images/"/>
     <image id="bd1c19" name="fzyc_dgo.png" path="/images/"/>

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Controller/GuideController.cs

@@ -57,7 +57,7 @@ namespace GFGGame
             if (cfg.special <= 0) return false;
             if (cfg.key == ConstGuideId.SUIT_LIST_VIEW)
             {
-                return FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(SuitListView).Name, false);
+                return FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(ClothingListView).Name, false);
             }
             return false;
 

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

@@ -150,7 +150,7 @@ namespace GFGGame
         private bool CheckIsSpecialFunOpen(FunctionOpenCfg cfg, bool showTips = true)
         {
             if (cfg.special <= 0) return true;
-            if (cfg.id == typeof(SuitListView).Name)//服装升级获取第一套【天衣】套装后开启
+            if (cfg.id == typeof(ClothingListView).Name)//服装升级获取第一套【天衣】套装后开启
             {
 
                 if (StorageDataManager.Instance.GetStorageValue(ConstStorageId.FUNCTION_OPEN + cfg.index) == 1) return true;

+ 5 - 2
GameClient/Assets/Game/HotUpdate/Data/ItemDataManager.cs

@@ -41,8 +41,11 @@ namespace GFGGame
                 {
                     DecomposeDataManager.Instance.Add(itemID);
                 }
-
-                FunctionOpenCfg functionOpenCfg = FunctionOpenCfgArray.Instance.GetCfg(typeof(SuitListView).Name);
+                string name = typeof(ClothingListView).Name;
+                FunctionOpenCfg functionOpenCfg = FunctionOpenCfgArray.Instance.GetCfg(name);
+                ET.Log.Debug("GameGlobal.myUnit" + GameGlobal.myUnit);
+                ET.Log.Debug("rarity" + itemCfg.rarity);
+                ET.Log.Debug("index" + functionOpenCfg.index);
                 if (GameGlobal.myUnit != null//游戏角色初始数据不处理
                     && itemCfg.rarity == ConstDressRarity.Rarity_TIANYI
                     && StorageDataManager.Instance.GetStorageValue(ConstStorageId.FUNCTION_OPEN + functionOpenCfg.index) == 0)

+ 7 - 7
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitFosterFinishUI.cs → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingFosterFinishUI.cs

@@ -4,7 +4,7 @@ using FairyGUI;
 
 namespace UI.ClothingFoster
 {
-    public partial class UI_SuitFosterFinishUI
+    public partial class UI_ClothingFosterFinishUI
     {
         public GComponent target;
         public GLoader m_loaBg;
@@ -25,12 +25,12 @@ namespace UI.ClothingFoster
         public Transition m_t1;
         public const string URL = "ui://uicwtr5bpy5gs";
         public const string PACKAGE_NAME = "ClothingFoster";
-        public const string RES_NAME = "SuitFosterFinishUI";
-        private static UI_SuitFosterFinishUI _proxy;
+        public const string RES_NAME = "ClothingFosterFinishUI";
+        private static UI_ClothingFosterFinishUI _proxy;
 
-        public static UI_SuitFosterFinishUI Create(GObject gObject = null)
+        public static UI_ClothingFosterFinishUI Create(GObject gObject = null)
         {
-            var ui = new UI_SuitFosterFinishUI();
+            var ui = new UI_ClothingFosterFinishUI();
             if(gObject == null)
             	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
             else
@@ -39,11 +39,11 @@ namespace UI.ClothingFoster
             return ui;
         }
 
-        public static UI_SuitFosterFinishUI Proxy(GObject gObject = null)
+        public static UI_ClothingFosterFinishUI Proxy(GObject gObject = null)
         {
             if(_proxy == null)
             {
-                _proxy = new UI_SuitFosterFinishUI();
+                _proxy = new UI_ClothingFosterFinishUI();
             }
             var ui = _proxy;
             if(gObject == null)

+ 1 - 1
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitFosterFinishUI.cs.meta → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingFosterFinishUI.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 5076ce15ac300aa4ab5e729c851e87a1
+guid: 438072e3f6fecac46b7f30abf25c9498
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 7 - 7
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitFosterUI.cs → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingFosterUI.cs

@@ -4,7 +4,7 @@ using FairyGUI;
 
 namespace UI.ClothingFoster
 {
-    public partial class UI_SuitFosterUI
+    public partial class UI_ClothingFosterUI
     {
         public GComponent target;
         public GTextField m_txtDiscribe;
@@ -14,12 +14,12 @@ namespace UI.ClothingFoster
         public GComponent m_ComConsume;
         public const string URL = "ui://uicwtr5bpy5gp";
         public const string PACKAGE_NAME = "ClothingFoster";
-        public const string RES_NAME = "SuitFosterUI";
-        private static UI_SuitFosterUI _proxy;
+        public const string RES_NAME = "ClothingFosterUI";
+        private static UI_ClothingFosterUI _proxy;
 
-        public static UI_SuitFosterUI Create(GObject gObject = null)
+        public static UI_ClothingFosterUI Create(GObject gObject = null)
         {
-            var ui = new UI_SuitFosterUI();
+            var ui = new UI_ClothingFosterUI();
             if(gObject == null)
             	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
             else
@@ -28,11 +28,11 @@ namespace UI.ClothingFoster
             return ui;
         }
 
-        public static UI_SuitFosterUI Proxy(GObject gObject = null)
+        public static UI_ClothingFosterUI Proxy(GObject gObject = null)
         {
             if(_proxy == null)
             {
-                _proxy = new UI_SuitFosterUI();
+                _proxy = new UI_ClothingFosterUI();
             }
             var ui = _proxy;
             if(gObject == null)

+ 1 - 1
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitFosterUI.cs.meta → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingFosterUI.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 85c14adf80433f846abd217aa7060fe7
+guid: ea947379c137e2a43b80fa4b4c90a040
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 7 - 7
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitListUI.cs → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingListUI.cs

@@ -4,7 +4,7 @@ using FairyGUI;
 
 namespace UI.ClothingFoster
 {
-    public partial class UI_SuitListUI
+    public partial class UI_ClothingListUI
     {
         public GComponent target;
         public GLoader m_loaBg;
@@ -16,12 +16,12 @@ namespace UI.ClothingFoster
         public GList m_listSuit;
         public const string URL = "ui://uicwtr5bpy5g0";
         public const string PACKAGE_NAME = "ClothingFoster";
-        public const string RES_NAME = "SuitListUI";
-        private static UI_SuitListUI _proxy;
+        public const string RES_NAME = "ClothingListUI";
+        private static UI_ClothingListUI _proxy;
 
-        public static UI_SuitListUI Create(GObject gObject = null)
+        public static UI_ClothingListUI Create(GObject gObject = null)
         {
-            var ui = new UI_SuitListUI();
+            var ui = new UI_ClothingListUI();
             if(gObject == null)
             	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
             else
@@ -30,11 +30,11 @@ namespace UI.ClothingFoster
             return ui;
         }
 
-        public static UI_SuitListUI Proxy(GObject gObject = null)
+        public static UI_ClothingListUI Proxy(GObject gObject = null)
         {
             if(_proxy == null)
             {
-                _proxy = new UI_SuitListUI();
+                _proxy = new UI_ClothingListUI();
             }
             var ui = _proxy;
             if(gObject == null)

+ 1 - 1
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitListUI.cs.meta → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingListUI.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: 01f9bddd4e6b8b743873b12d58e3d128
+guid: 213c6e14accb3cd489246231398616fb
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 7 - 7
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitPropertyShowUI.cs → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingPropertyShowUI.cs

@@ -4,18 +4,18 @@ using FairyGUI;
 
 namespace UI.ClothingFoster
 {
-    public partial class UI_SuitPropertyShowUI
+    public partial class UI_ClothingPropertyShowUI
     {
         public GComponent target;
         public GList m_listPropertyShow;
         public const string URL = "ui://uicwtr5bpy5gq";
         public const string PACKAGE_NAME = "ClothingFoster";
-        public const string RES_NAME = "SuitPropertyShowUI";
-        private static UI_SuitPropertyShowUI _proxy;
+        public const string RES_NAME = "ClothingPropertyShowUI";
+        private static UI_ClothingPropertyShowUI _proxy;
 
-        public static UI_SuitPropertyShowUI Create(GObject gObject = null)
+        public static UI_ClothingPropertyShowUI Create(GObject gObject = null)
         {
-            var ui = new UI_SuitPropertyShowUI();
+            var ui = new UI_ClothingPropertyShowUI();
             if(gObject == null)
             	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
             else
@@ -24,11 +24,11 @@ namespace UI.ClothingFoster
             return ui;
         }
 
-        public static UI_SuitPropertyShowUI Proxy(GObject gObject = null)
+        public static UI_ClothingPropertyShowUI Proxy(GObject gObject = null)
         {
             if(_proxy == null)
             {
-                _proxy = new UI_SuitPropertyShowUI();
+                _proxy = new UI_ClothingPropertyShowUI();
             }
             var ui = _proxy;
             if(gObject == null)

+ 1 - 1
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitPropertyShowUI.cs.meta → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingPropertyShowUI.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: af2295ae47dccee4bab446c7f19dc857
+guid: 21ca91be6df68f146af9ed198052fae3
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 7 - 7
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitRenewFinishUI.cs → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingRenewFinishUI.cs

@@ -4,19 +4,19 @@ using FairyGUI;
 
 namespace UI.ClothingFoster
 {
-    public partial class UI_SuitRenewFinishUI
+    public partial class UI_ClothingRenewFinishUI
     {
         public GComponent target;
         public GLoader m_loaBg;
         public GTextField m_txtProperty;
         public const string URL = "ui://uicwtr5bnk8d16";
         public const string PACKAGE_NAME = "ClothingFoster";
-        public const string RES_NAME = "SuitRenewFinishUI";
-        private static UI_SuitRenewFinishUI _proxy;
+        public const string RES_NAME = "ClothingRenewFinishUI";
+        private static UI_ClothingRenewFinishUI _proxy;
 
-        public static UI_SuitRenewFinishUI Create(GObject gObject = null)
+        public static UI_ClothingRenewFinishUI Create(GObject gObject = null)
         {
-            var ui = new UI_SuitRenewFinishUI();
+            var ui = new UI_ClothingRenewFinishUI();
             if(gObject == null)
             	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
             else
@@ -25,11 +25,11 @@ namespace UI.ClothingFoster
             return ui;
         }
 
-        public static UI_SuitRenewFinishUI Proxy(GObject gObject = null)
+        public static UI_ClothingRenewFinishUI Proxy(GObject gObject = null)
         {
             if(_proxy == null)
             {
-                _proxy = new UI_SuitRenewFinishUI();
+                _proxy = new UI_ClothingRenewFinishUI();
             }
             var ui = _proxy;
             if(gObject == null)

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingRenewFinishUI.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fe6c43dc659484c43ac1b75794c0d414
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 7 - 7
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitRewardUI.cs → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingRewardUI.cs

@@ -4,18 +4,18 @@ using FairyGUI;
 
 namespace UI.ClothingFoster
 {
-    public partial class UI_SuitRewardUI
+    public partial class UI_ClothingRewardUI
     {
         public GComponent target;
         public GList m_listReward;
         public const string URL = "ui://uicwtr5bpy5gr";
         public const string PACKAGE_NAME = "ClothingFoster";
-        public const string RES_NAME = "SuitRewardUI";
-        private static UI_SuitRewardUI _proxy;
+        public const string RES_NAME = "ClothingRewardUI";
+        private static UI_ClothingRewardUI _proxy;
 
-        public static UI_SuitRewardUI Create(GObject gObject = null)
+        public static UI_ClothingRewardUI Create(GObject gObject = null)
         {
-            var ui = new UI_SuitRewardUI();
+            var ui = new UI_ClothingRewardUI();
             if(gObject == null)
             	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
             else
@@ -24,11 +24,11 @@ namespace UI.ClothingFoster
             return ui;
         }
 
-        public static UI_SuitRewardUI Proxy(GObject gObject = null)
+        public static UI_ClothingRewardUI Proxy(GObject gObject = null)
         {
             if(_proxy == null)
             {
-                _proxy = new UI_SuitRewardUI();
+                _proxy = new UI_ClothingRewardUI();
             }
             var ui = _proxy;
             if(gObject == null)

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingRewardUI.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 88e8420efe8f17c4c98b429ec2b6df80
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 7 - 7
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitUI.cs → GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingUI.cs

@@ -4,7 +4,7 @@ using FairyGUI;
 
 namespace UI.ClothingFoster
 {
-    public partial class UI_SuitUI
+    public partial class UI_ClothingUI
     {
         public GComponent target;
         public Controller m_c1;
@@ -36,12 +36,12 @@ namespace UI.ClothingFoster
         public UI_comFosterAni m_comFosterAni;
         public const string URL = "ui://uicwtr5bpy5gf";
         public const string PACKAGE_NAME = "ClothingFoster";
-        public const string RES_NAME = "SuitUI";
-        private static UI_SuitUI _proxy;
+        public const string RES_NAME = "ClothingUI";
+        private static UI_ClothingUI _proxy;
 
-        public static UI_SuitUI Create(GObject gObject = null)
+        public static UI_ClothingUI Create(GObject gObject = null)
         {
-            var ui = new UI_SuitUI();
+            var ui = new UI_ClothingUI();
             if(gObject == null)
             	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
             else
@@ -50,11 +50,11 @@ namespace UI.ClothingFoster
             return ui;
         }
 
-        public static UI_SuitUI Proxy(GObject gObject = null)
+        public static UI_ClothingUI Proxy(GObject gObject = null)
         {
             if(_proxy == null)
             {
-                _proxy = new UI_SuitUI();
+                _proxy = new UI_ClothingUI();
             }
             var ui = _proxy;
             if(gObject == null)

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_ClothingUI.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 7122b929f46446045a89fdc5477b98d0
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 0 - 11
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitRenewFinishUI.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ceaae0af2c7bb6c4eac7c0a96795556b
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 11
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitRewardUI.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ac353540935e13f438ded004b6e60de4
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 11
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/ClothingFoster/UI_SuitUI.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3b450343ec642d54b84ef7386b603f2d
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 6 - 4
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitFosterFinishView.cs → GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterFinishView.cs

@@ -6,9 +6,9 @@ using UI.CommonGame;
 
 namespace GFGGame
 {
-    public class SuitFosterFinishView : BaseWindow
+    public class ClothingFosterFinishView : BaseWindow
     {
-        private UI_SuitFosterFinishUI _ui;
+        private UI_ClothingFosterFinishUI _ui;
         private int _suitId;
         private int _index;
         private SortedList _lastPropertyList;
@@ -23,8 +23,8 @@ namespace GFGGame
         protected override void OnInit()
         {
             base.OnInit();
-            packageName = UI_SuitFosterFinishUI.PACKAGE_NAME;
-            _ui = UI_SuitFosterFinishUI.Create();
+            packageName = UI_ClothingFosterFinishUI.PACKAGE_NAME;
+            _ui = UI_ClothingFosterFinishUI.Create();
             this.viewCom = _ui.target;
             this.viewCom.Center();
             this.modal = true;
@@ -58,11 +58,13 @@ namespace GFGGame
                 int property = (int)_lastPropertyList[score];
                 comPrpperty.m_txtProperty.text = StringUtil.GetColorText(property.ToString(), "#5B4A3B");
                 comPrpperty.m_loaIcon.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + (score));
+                UI_ListPropertyItem.ProxyEnd();
 
                 UI_ListPropertyItem comAddPrpperty = UI_ListPropertyItem.Proxy(_ui.target.GetChild("comAddProperty" + i));
                 int addProperty = (int)_curPropertyList[score];
                 comAddPrpperty.m_txtProperty.text = StringUtil.GetColorText(addProperty.ToString(), addProperty == property ? "#5B4A3B" : "#FFDE9E");
                 comAddPrpperty.m_loaIcon.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + (score));
+                UI_ListPropertyItem.ProxyEnd();
             }
             _ui.m_grpProperty.visible = true;
             _ui.m_t0.Play(() =>

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterFinishView.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 9cf5db50bae4d884eb229c0815a9d535
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 5 - 4
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitRewardView.cs → GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterRewardView.cs

@@ -5,9 +5,9 @@ using FairyGUI;
 using UI.ClothingFoster;
 namespace GFGGame
 {
-    public class SuitRewardView : BaseWindow
+    public class ClothingFosterRewardView : BaseWindow
     {
-        private UI_SuitRewardUI _ui;
+        private UI_ClothingRewardUI _ui;
         private int _suitId;
         private List<SuitFosterCfg> _rewardsList;
 
@@ -21,8 +21,8 @@ namespace GFGGame
         protected override void OnInit()
         {
             base.OnInit();
-            packageName = UI_SuitRewardUI.PACKAGE_NAME;
-            _ui = UI_SuitRewardUI.Create();
+            packageName = UI_ClothingRewardUI.PACKAGE_NAME;
+            _ui = UI_ClothingRewardUI.Create();
             this.viewCom = _ui.target;
             this.viewCom.Center();
             this.modal = true;
@@ -58,6 +58,7 @@ namespace GFGGame
             {
                 item.m_ComReward.target.onClick.Add(() => { GoodsItemTipsController.ShowItemTips(cfg.rewardsArr[0][0]); });
             }
+            UI_ListRewardItem.ProxyEnd();
         }
     }
 }

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterRewardView.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 4223d8c2684a6ea45b5cc0693e5d8350
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 18 - 8
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitFosterView.cs → GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterView.cs

@@ -5,9 +5,9 @@ using UI.ClothingFoster;
 using UI.CommonGame;
 namespace GFGGame
 {
-    public class SuitFosterView : BaseWindow
+    public class ClothingFosterView : BaseWindow
     {
-        private UI_SuitFosterUI _ui;
+        private UI_ClothingFosterUI _ui;
 
         private int _suitId;
         private int _index;
@@ -24,8 +24,8 @@ namespace GFGGame
         protected override void OnInit()
         {
             base.OnInit();
-            packageName = UI_SuitFosterUI.PACKAGE_NAME;
-            _ui = UI_SuitFosterUI.Create();
+            packageName = UI_ClothingFosterUI.PACKAGE_NAME;
+            _ui = UI_ClothingFosterUI.Create();
             this.viewCom = _ui.target;
             this.viewCom.Center();
             this.modal = true;
@@ -35,10 +35,13 @@ namespace GFGGame
             _ui.m_listMaterials.onClickItem.Add(OnListMaterialsItem);
             _ui.m_listPropertyAdd.itemRenderer = ListPropertyItemRender;
             _ui.m_btnFoster.onClick.Add(OnClickBtnFoster);
-            EventAgent.AddEventListener(ConstMessage.JUMP_TO_SOURCE, this.Hide);
 
         }
+        protected override void AddEventListener()
+        {
+            EventAgent.AddEventListener(ConstMessage.JUMP_TO_SOURCE, this.Hide);
 
+        }
         protected override void OnShown()
         {
             base.OnShown();
@@ -54,6 +57,7 @@ namespace GFGGame
             int need = cfg.costNum;
             UI_ComCostCurrency comConsume = UI_ComCostCurrency.Proxy(_ui.m_ComConsume);
             comConsume.m_txtNeed.text = StringUtil.GetColorText(need.ToString(), has >= need ? "#FFF8EA" : "#C9F1A5");
+            UI_ComCostCurrency.ProxyEnd();
             if (_canFoster && has < need) _canFoster = false;
 
             _ui.m_listPropertyAdd.numItems = _propertyList.Count;
@@ -62,9 +66,12 @@ namespace GFGGame
         protected override void OnHide()
         {
             base.OnHide();
-            UI_ComCostCurrency.ProxyEnd();
+            // UI_ComCostCurrency.ProxyEnd();
+        }
+        protected override void RemoveEventListener()
+        {
+            EventAgent.RemoveEventListener(ConstMessage.JUMP_TO_SOURCE, this.Hide);
         }
-
         private void ListMaterialItemRender(int index, GObject obj)
         {
             UI_ListMaterialsItem item = UI_ListMaterialsItem.Proxy(obj);
@@ -78,11 +85,12 @@ namespace GFGGame
             item.m_txtHas.text = StringUtil.GetColorText(has.ToString(), has >= need ? "#F2DB96" : "#C9F1A5");
             if (_canFoster && has < need) _canFoster = false;
             item.target.data = materialsArr[index][0];
+            UI_ListMaterialsItem.ProxyEnd();
         }
         private void OnListMaterialsItem(EventContext context)
         {
             int itemId = (int)(context.data as GComponent).data;
-            ViewManager.Show(ViewName.APPROACH_OF_ITEM_VIEW, new object[] { itemId, new object[] { typeof(SuitView).Name, ( this.viewData as object[])[4]  }
+            ViewManager.Show(ViewName.APPROACH_OF_ITEM_VIEW, new object[] { itemId, new object[] { typeof(ClothingView).Name, ( this.viewData as object[])[4]  }
     });
         }
 
@@ -96,6 +104,8 @@ namespace GFGGame
             comProperty.m_loaIcon.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + (score));
 
             item.m_txtAdd.text = "+" + _addPropertyList.GetByIndex(index);
+            UI_ListPropertyAddItem.ProxyEnd();
+            UI_ListPropertyItem.ProxyEnd();
         }
         private async void OnClickBtnFoster()
         {

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingFosterView.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: d0c0163edf3261142b264ea7a8a1cc59
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 14 - 8
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitListView.cs → GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingListView.cs

@@ -4,9 +4,9 @@ using FairyGUI;
 using UI.ClothingFoster;
 namespace GFGGame
 {
-    public class SuitListView : BaseWindow
+    public class ClothingListView : BaseWindow
     {
-        private UI_SuitListUI _ui;
+        private UI_ClothingListUI _ui;
         private ValueBarController _valueBarController;
         private int _menuType = ConstSuitGuideTypeId.TYPE_1;
         private int[] _menuTypeDataArray;
@@ -22,8 +22,8 @@ namespace GFGGame
         protected override void OnInit()
         {
             base.OnInit();
-            packageName = UI_SuitListUI.PACKAGE_NAME;
-            _ui = UI_SuitListUI.Create();
+            packageName = UI_ClothingListUI.PACKAGE_NAME;
+            _ui = UI_ClothingListUI.Create();
             this.viewCom = _ui.target;
             // this.viewCom.Center();
             isfullScreen = true;
@@ -54,20 +54,24 @@ namespace GFGGame
 
             SuitFosterProxy.SendGetSuitInfos().Coroutine();
             UpdateListSuit();
+        }
+        protected override void AddEventListener()
+        {
             EventAgent.AddEventListener(ConstMessage.ITEM_CHANGED, UpdateSuitStatus);
         }
-
         protected override void OnHide()
         {
             base.OnHide();
             _valueBarController.OnHide();
+        }
+        protected override void RemoveEventListener()
+        {
             EventAgent.RemoveEventListener(ConstMessage.ITEM_CHANGED, UpdateSuitStatus);
         }
-
         private void OnClickBtnBack()
         {
             // this.Hide();
-            ViewManager.GoBackFrom(typeof(SuitListView).FullName);
+            ViewManager.GoBackFrom(typeof(ClothingListView).FullName);
         }
         private void OnClickListTypeItem()
         {
@@ -120,6 +124,7 @@ namespace GFGGame
 
             listItem.target.data = suitId;
             UpdateSuitStatusView(listItem);
+            UI_ListSuitItem.ProxyEnd();
 
         }
 
@@ -130,6 +135,7 @@ namespace GFGGame
             {
                 UI_ListSuitItem listItem = UI_ListSuitItem.Proxy(_ui.m_listSuit.GetChildAt(i));
                 UpdateSuitStatusView(listItem);
+                UI_ListSuitItem.ProxyEnd();
             }
         }
 
@@ -149,7 +155,7 @@ namespace GFGGame
             {
                 if (haveSuit)
                 {
-                    ViewManager.Show<SuitView>(new object[] { suitId, _suitIds }, new object[] { typeof(SuitListView).Name, this.viewData });
+                    ViewManager.Show<ClothingView>(new object[] { suitId, _suitIds }, new object[] { typeof(ClothingListView).Name, this.viewData });
                 }
                 else
                 {

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingListView.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 02bbed6fcf56e0843a6acf620c385c88
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 5 - 5
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitPropertyShowView.cs → GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingPropertyShowView.cs

@@ -8,9 +8,9 @@ using UnityEngine;
 
 namespace GFGGame
 {
-    public class SuitPropertyShowView : BaseWindow
+    public class ClothingPropertyShowView : BaseWindow
     {
-        private UI_SuitPropertyShowUI _ui;
+        private UI_ClothingPropertyShowUI _ui;
         // private Dictionary<string, int> _data = new Dictionary<string, int>();
         // List<int> _dataList = new List<int>(); StudentDictionary.Values.ToList();
         List<KeyValuePair<int, string>> _dataList;// = new List<KeyValuePair<string, int>>();
@@ -24,8 +24,8 @@ namespace GFGGame
         protected override void OnInit()
         {
             base.OnInit();
-            packageName = UI_SuitPropertyShowUI.PACKAGE_NAME;
-            _ui = UI_SuitPropertyShowUI.Create();
+            packageName = UI_ClothingPropertyShowUI.PACKAGE_NAME;
+            _ui = UI_ClothingPropertyShowUI.Create();
             this.viewCom = _ui.target;
             this.viewCom.Center();
             this.modal = true;
@@ -51,7 +51,7 @@ namespace GFGGame
             ItemCfg itemCfg = ItemCfgArray.Instance.GetCfg(_dataList[index].Key);
             string type = ItemTypeCfgArray.Instance.GetCfg(itemCfg.subType).name;
             item.m_txtShow.text = string.Format("{0} {1}%", type, StringUtil.GetColorText(_dataList[index].Value.ToString(), "#B66352"));
-
+            UI_ListPropertyShowItem.ProxyEnd();
         }
         protected override void OnHide()
         {

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingPropertyShowView.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 32f4c7a814f0aaa4cb333a11a08a1069
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 4 - 4
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitRenewFinishView.cs → GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingRenewFinishView.cs

@@ -2,9 +2,9 @@ using FairyGUI;
 using UI.ClothingFoster;
 namespace GFGGame
 {
-    public class SuitRenewFinishView : BaseWindow
+    public class ClothingRenewFinishView : BaseWindow
     {
-        private UI_SuitRenewFinishUI _ui;
+        private UI_ClothingRenewFinishUI _ui;
         private int _suitId;
         public override void Dispose()
         {
@@ -16,8 +16,8 @@ namespace GFGGame
         protected override void OnInit()
         {
             base.OnInit();
-            packageName = UI_SuitRenewFinishUI.PACKAGE_NAME;
-            _ui = UI_SuitRenewFinishUI.Create();
+            packageName = UI_ClothingRenewFinishUI.PACKAGE_NAME;
+            _ui = UI_ClothingRenewFinishUI.Create();
             this.viewCom = _ui.target;
             this.viewCom.Center();
             this.modal = true;

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingRenewFinishView.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: bbb89b48158cad641b8fde12f0f64b6b
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 27 - 21
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitView.cs → GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingView.cs

@@ -8,9 +8,9 @@ using ET;
 
 namespace GFGGame
 {
-    public class SuitView : BaseWindow
+    public class ClothingView : BaseWindow
     {
-        private UI_SuitUI _ui;
+        private UI_ClothingUI _ui;
 
         private GameObject _scenePrefab;
         private GameObject _sceneObject;
@@ -38,8 +38,8 @@ namespace GFGGame
         protected override void OnInit()
         {
             base.OnInit();
-            packageName = UI_SuitUI.PACKAGE_NAME;
-            _ui = UI_SuitUI.Create();
+            packageName = UI_ClothingUI.PACKAGE_NAME;
+            _ui = UI_ClothingUI.Create();
             this.viewCom = _ui.target;
             // this.viewCom.Center();
             isfullScreen = true;
@@ -66,11 +66,14 @@ namespace GFGGame
             _ui.m_c1.onChanged.Add(OnTabChange);
 
             // EventAgent.AddEventListener(ConstMessage.GET_SUIT_INFOS)
+
+        }
+        protected override void AddEventListener()
+        {
             EventAgent.AddEventListener(ConstMessage.MAINTAIN_SUIT, OnListenerFoster);
             EventAgent.AddEventListener(ConstMessage.GET_MAINTAIN_SUIT_BONUS, OnListenerGetFosterReward);
             EventAgent.AddEventListener(ConstMessage.MAKE_NEW_SUIT, OnListenerRenew);
         }
-
         protected override void OnShown()
         {
             base.OnShown();
@@ -99,13 +102,18 @@ namespace GFGGame
         protected override void OnHide()
         {
             base.OnHide();
-            UI_ComCostCurrency.ProxyEnd();
+            // UI_ComCostCurrency.ProxyEnd();
 
         }
-
+        protected override void RemoveEventListener()
+        {
+            EventAgent.RemoveEventListener(ConstMessage.MAINTAIN_SUIT, OnListenerFoster);
+            EventAgent.RemoveEventListener(ConstMessage.GET_MAINTAIN_SUIT_BONUS, OnListenerGetFosterReward);
+            EventAgent.RemoveEventListener(ConstMessage.MAKE_NEW_SUIT, OnListenerRenew);
+        }
         private void OnClickBtnBack()
         {
-            ViewManager.GoBackFrom(typeof(SuitView).FullName);
+            ViewManager.GoBackFrom(typeof(ClothingView).FullName);
         }
         private void OnTabChange()
         {
@@ -203,6 +211,7 @@ namespace GFGGame
             item.target.data = index;
             item.m_finish.selectedIndex = SuitFosterDataManager.Instance.GetFosterState(_suitId, index);
             item.m_txtName.text = SuitFosterDataManager.Instance.stepNames[index];
+            UI_ListFosterItem.ProxyEnd();
         }
 
         private void ListPropertyItemRender(int index, GObject obj)
@@ -211,6 +220,7 @@ namespace GFGGame
             int score = (int)_propertyList.GetKey(index);
             item.m_txtProperty.text = _propertyList[score].ToString();
             item.m_loaIcon.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + (score));
+            UI_ListPropertyItem.ProxyEnd();
         }
 
         private void OnClickListFosterItem(EventContext context)
@@ -223,7 +233,7 @@ namespace GFGGame
             }
             else if (state == 1)
             {
-                ViewManager.Show<SuitFosterView>(new object[] { _suitId, index, _propertyList, _addPropertyList, this.viewData });
+                ViewManager.Show<ClothingFosterView>(new object[] { _suitId, index, _propertyList, _addPropertyList, this.viewData });
             }
             else
             {
@@ -235,7 +245,7 @@ namespace GFGGame
             SuitFosterDataManager.Instance.GetFosterRewardState(_suitId, out int state, out int index);
             if (state == 1 || state == 2)
             {
-                ViewManager.Show<SuitRewardView>(_suitId);
+                ViewManager.Show<ClothingFosterRewardView>(_suitId);
             }
             else
             {
@@ -244,26 +254,20 @@ namespace GFGGame
         }
         private void OnClickBtnPropertyShow()
         {
-            ViewManager.Show<SuitPropertyShowView>(new object[] { _suitId, _index });
+            ViewManager.Show<ClothingPropertyShowView>(new object[] { _suitId, _index });
         }
 
         private void OnListenerFoster()
         {
             _ui.m_comFosterAni.target.visible = true;
             _ui.m_comFosterAni.m_txtContent.text = string.Format("服装{0}中......", SuitFosterDataManager.Instance.stepNames[_index]);
-            // _ui.m_comFosterAni.m_proFoster.value = 0;
+
             string resPath = ResPathUtil.GetViewEffectPath("ui_gcdh", "ui_gcdh_" + (_index + 1));
             SceneController.AddObjectToView(_gameobject1, _wrapper1, _ui.m_comFosterAni.m_holder, resPath, out _gameobject1, out _wrapper1);
-            // _ui.m_comFosterAni.m_proFoster.TweenValue(100, 4f).OnComplete(() =>
-            // {
-            //     ViewManager.Show<SuitFosterFinishView>(new object[] { _suitId, _index, _propertyList });
-            //     UpdateFoster();
-            //     _ui.m_comFosterAni.target.visible = false;
-            // });
 
             _ui.m_comFosterAni.m_t0.Play(() =>
             {
-                ViewManager.Show<SuitFosterFinishView>(new object[] { _suitId, _index, _propertyList });
+                ViewManager.Show<ClothingFosterFinishView>(new object[] { _suitId, _index, _propertyList });
                 UpdateFoster();
                 _ui.m_comFosterAni.target.visible = false;
             });
@@ -314,6 +318,7 @@ namespace GFGGame
             int need = renewCfg.costNum;
             comConsumeCurrency.m_txtNeed.text = StringUtil.GetColorText(need.ToString(), has >= need ? "#FFF8EA" : "#C9F1A5");
             if (_canRenew && has < need) _canRenew = false;
+            UI_ComCostCurrency.ProxyEnd();
         }
         private void UpdateRenewFinish()
         {
@@ -345,12 +350,13 @@ namespace GFGGame
             item.m_txtNeed.text = need.ToString();
             if (_canRenew && has < need) _canRenew = false;
             item.target.data = materialsArr[index][0];
+            UI_ListMaterialsItem.ProxyEnd();
         }
         private void OnListRenewMaterialsItem(EventContext context)
         {
             int itemId = (int)(context.data as GComponent).data;
             // GoodsItemTipsController.ShowItemTips(itemId);
-            ViewManager.Show(ViewName.APPROACH_OF_ITEM_VIEW, new object[] { itemId, new object[] { typeof(SuitView).FullName, this.viewData } });
+            ViewManager.Show(ViewName.APPROACH_OF_ITEM_VIEW, new object[] { itemId, new object[] { typeof(ClothingView).FullName, this.viewData } });
         }
 
         private async void OnClickBtnRenew()
@@ -376,7 +382,7 @@ namespace GFGGame
         }
         private void OnListenerRenew()
         {
-            ViewManager.Show<SuitRenewFinishView>(_suitId);
+            ViewManager.Show<ClothingRenewFinishView>(_suitId);
             UpdateRenew();
             Debug.Log("换新奖励:" + ItemDataManager.GetItemNum(10370));
 

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/ClothingView.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 3a69c3c0154451843adbb1382f7fd36d
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 0 - 11
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitFosterFinishView.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 2b478b2fb6a53a44793d3b4a1cf0ffaf
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 11
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitFosterView.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: cd385065d3592984db033a9a36a49d49
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 11
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitListView.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 92bd63fad90eae24287c6621facc55ee
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 11
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitPropertyShowView.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 5bb6374978f00d14e93384877b0779fc
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 11
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitRenewFinishView.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1fed0fac5105a6c40abe9ef251096979
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 11
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitRewardView.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 07d93a2352a478348af89caf40d0ea65
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 11
GameClient/Assets/Game/HotUpdate/Views/ClothingFoster/SuitView.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1f6b9b9941e918d4a93df3b1bf620c0b
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

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

@@ -266,7 +266,7 @@ namespace GFGGame
                     break;
                 case ConstFunctionId.SUIT_FOSTER:
                     this.Hide();
-                    isJump = ViewManager.Show<SuitListView>(null, _fromeViewDatas);
+                    isJump = ViewManager.Show<ClothingListView>(null, _fromeViewDatas);
                     break;
             }
             if (isJump)

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/XiuFang/XiuFangView.cs

@@ -75,7 +75,7 @@ namespace GFGGame
         {
             LogServerHelper.SendNodeLog((int)PlayParticipationEnum.FU_ZHUANG_YANG_CHENG, 1);
 
-            ViewManager.Show<SuitListView>(null, new object[] { ViewName.XIU_FANG_VIEW, this.viewData }, false, true);
+            ViewManager.Show<ClothingListView>(null, new object[] { ViewName.XIU_FANG_VIEW, this.viewData }, false, true);
 
             // PromptController.Instance.ShowFloatTextPrompt("暂未开放", MessageType.WARNING);
         }

BIN
GameClient/Assets/ResIn/UI/ClothingFoster/ClothingFoster_fui.bytes