Browse Source

商城标题栏被隐藏修改

huangxiaoyue 1 year ago
parent
commit
26a2a78a83

+ 1 - 1
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Store/UI_ListVipItem.cs

@@ -18,7 +18,7 @@ namespace UI.Store
         public GButton m_btnGetGiftBag;
         public GTextField m_txtGiftBag;
         public GButton m_btnWeek;
-        public const string URL = "ui://p9mtgheoqik1tby";
+        public const string URL = "ui://p9mtgheosn9hte1";
         public const string PACKAGE_NAME = "Store";
         public const string RES_NAME = "ListVipItem";
         private static UI_ListVipItem _proxy;

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Store/UI_StoreExchangeList.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.Store
+{
+    public partial class UI_StoreExchangeList
+    {
+        public GComponent target;
+        public GList m_list;
+        public const string URL = "ui://p9mtgheosn9hte0";
+        public const string PACKAGE_NAME = "Store";
+        public const string RES_NAME = "StoreExchangeList";
+        private static UI_StoreExchangeList _proxy;
+
+        public static UI_StoreExchangeList Create(GObject gObject = null)
+        {
+            var ui = new UI_StoreExchangeList();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_StoreExchangeList Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_StoreExchangeList();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_list = (GList)comp.GetChild("list");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_list = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Store/UI_StoreExchangeList.cs.meta

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

+ 4 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Store/UI_StoreExchangeUI.cs

@@ -7,7 +7,7 @@ namespace UI.Store
     public partial class UI_StoreExchangeUI
     {
         public GComponent target;
-        public GList m_list;
+        public UI_StoreExchangeList m_storeExchangeList;
         public GComponent m_valueBar;
         public const string URL = "ui://p9mtgheol500tbh";
         public const string PACKAGE_NAME = "Store";
@@ -56,12 +56,13 @@ namespace UI.Store
 
         private void Init(GComponent comp)
         {
-            m_list = (GList)comp.GetChild("list");
+            m_storeExchangeList = (UI_StoreExchangeList)UI_StoreExchangeList.Create(comp.GetChild("storeExchangeList"));
             m_valueBar = (GComponent)comp.GetChild("valueBar");
         }
         public void Dispose(bool disposeTarget = false)
         {
-            m_list = null;
+            m_storeExchangeList.Dispose();
+            m_storeExchangeList = null;
             m_valueBar = null;
             if(disposeTarget && target != null)
             {

+ 71 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Store/UI_StoreGiftBagList.cs

@@ -0,0 +1,71 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.Store
+{
+    public partial class UI_StoreGiftBagList
+    {
+        public GComponent target;
+        public GList m_list;
+        public const string URL = "ui://p9mtgheosn9htdz";
+        public const string PACKAGE_NAME = "Store";
+        public const string RES_NAME = "StoreGiftBagList";
+        private static UI_StoreGiftBagList _proxy;
+
+        public static UI_StoreGiftBagList Create(GObject gObject = null)
+        {
+            var ui = new UI_StoreGiftBagList();
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static UI_StoreGiftBagList Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_StoreGiftBagList();
+            }
+            var ui = _proxy;
+            if(gObject == null)
+            	ui.target =  (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
+            else
+            	ui.target =  (GComponent)gObject;
+            ui.Init(ui.target);
+            return ui;
+        }
+
+        public static void ProxyEnd()
+        {
+            if (_proxy != null)
+            {
+                _proxy.Dispose();
+            }
+        }
+
+        public static void ClearProxy()
+        {
+            ProxyEnd();
+            _proxy = null;
+        }
+
+        private void Init(GComponent comp)
+        {
+            m_list = (GList)comp.GetChild("list");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_list = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Store/UI_StoreGiftBagList.cs.meta

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

+ 4 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Store/UI_StoreGiftBagUI.cs

@@ -7,7 +7,7 @@ namespace UI.Store
     public partial class UI_StoreGiftBagUI
     {
         public GComponent target;
-        public GList m_list;
+        public UI_StoreGiftBagList m_storeGiftBagList;
         public GComponent m_valueBar;
         public const string URL = "ui://p9mtgheol500tbc";
         public const string PACKAGE_NAME = "Store";
@@ -56,12 +56,13 @@ namespace UI.Store
 
         private void Init(GComponent comp)
         {
-            m_list = (GList)comp.GetChild("list");
+            m_storeGiftBagList = (UI_StoreGiftBagList)UI_StoreGiftBagList.Create(comp.GetChild("storeGiftBagList"));
             m_valueBar = (GComponent)comp.GetChild("valueBar");
         }
         public void Dispose(bool disposeTarget = false)
         {
-            m_list = null;
+            m_storeGiftBagList.Dispose();
+            m_storeGiftBagList = null;
             m_valueBar = null;
             if(disposeTarget && target != null)
             {

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/Store/StoreArenaView.cs

@@ -37,7 +37,7 @@ namespace GFGGame
             this.clickBlankToClose = false;
             this.bringToFontOnClick = false;
 
-            _ui.m_list.itemRenderer = ListItemRenderer;
+            _ui.m_storeExchangeList.m_list.itemRenderer = ListItemRenderer;
             _valueBarController = new ValueBarController(_ui.m_valueBar);
         }
         protected override void AddEventListener()
@@ -71,7 +71,7 @@ namespace GFGGame
         private void UpdateView()
         {
             _shopCfgs = ShopDataManager.Instance.SortShopGoodsCfgs(_shopCfgs);
-            _ui.m_list.numItems = _shopCfgs.Count;
+            _ui.m_storeExchangeList.m_list.numItems = _shopCfgs.Count;
         }
         private void ListItemRenderer(int index, GObject obj)
         {

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/Store/StoreExchangeView.cs

@@ -37,7 +37,7 @@ namespace GFGGame
             this.clickBlankToClose = false;
             this.bringToFontOnClick = false;
 
-            _ui.m_list.itemRenderer = ListItemRenderer;
+            _ui.m_storeExchangeList.m_list.itemRenderer = ListItemRenderer;
             _valueBarController = new ValueBarController(_ui.m_valueBar);
         }
         protected override void AddEventListener()
@@ -71,7 +71,7 @@ namespace GFGGame
         private void UpdateView()
         {
             _shopCfgs = ShopDataManager.Instance.SortShopGoodsCfgs(_shopCfgs);
-            _ui.m_list.numItems = _shopCfgs.Count;
+            _ui.m_storeExchangeList.m_list.numItems = _shopCfgs.Count;
         }
         private void ListItemRenderer(int index, GObject obj)
         {

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

@@ -38,7 +38,7 @@ namespace GFGGame
             this.clickBlankToClose = false;
             this.bringToFontOnClick = false;
 
-            _ui.m_list.itemRenderer = ListItemRenderer;
+            _ui.m_storeGiftBagList.m_list.itemRenderer = ListItemRenderer;
             _valueBarController = new ValueBarController(_ui.m_valueBar);
         }
         protected override void AddEventListener()
@@ -54,7 +54,7 @@ namespace GFGGame
             _shopCfgs = ShopDataManager.Instance.RemoveNotOpenCfg(_shopCfgs);
             _valueBarController.OnShown();
             _valueBarController.UpdateList(ShopDataManager.Instance.GetShopCostIds(_shopCfgs));
-            _ui.m_list.scrollPane.ScrollTop();
+            _ui.m_storeGiftBagList.m_list.scrollPane.ScrollTop();
             UpdateView();
         }
 
@@ -73,7 +73,7 @@ namespace GFGGame
         private void UpdateView()
         {
             _shopCfgs = ShopDataManager.Instance.SortShopGoodsCfgs(_shopCfgs);
-            _ui.m_list.numItems = _shopCfgs.Count;
+            _ui.m_storeGiftBagList.m_list.numItems = _shopCfgs.Count;
         }
         private void ListItemRenderer(int index, GObject obj)
         {

BIN
GameClient/Assets/ResIn/UI/Store/Store_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/Store/Store_atlas0.png


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