瀏覽代碼

竞技场预览界面

zhaoyang 2 年之前
父節點
當前提交
87e59ddbb1
共有 26 個文件被更改,包括 226 次插入1 次删除
  1. 17 0
      FGUIProject/assets/Arena/ArenaLoadingUI.xml
  2. 13 0
      FGUIProject/assets/Arena/components/ProgressBar2.xml
  3. 二進制
      FGUIProject/assets/Arena/images/dljm_jdq_1.png
  4. 二進制
      FGUIProject/assets/Arena/images/dljm_jdq_2.png
  5. 二進制
      FGUIProject/assets/Arena/images/dljm_jdq_3.png
  6. 二進制
      FGUIProject/assets/Arena/images/dljm_jdq_4.png
  7. 二進制
      FGUIProject/assets/Arena/images/dljm_jdq_5.png
  8. 7 0
      FGUIProject/assets/Arena/package.xml
  9. 10 0
      FGUIProject/assets/Union/ComConstruct.xml
  10. 9 0
      FGUIProject/assets/Union/components/ListLogItem.xml
  11. 二進制
      FGUIProject/assets/Union/images/bpjly_jtjt_3.png
  12. 80 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Arena/UI_ArenaLoadingUI.cs
  13. 11 0
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Arena/UI_ArenaLoadingUI.cs.meta
  14. 63 0
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaLoadingView.cs
  15. 11 0
      GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaLoadingView.cs.meta
  16. 5 1
      GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs
  17. 二進制
      GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes
  18. 二進制
      GameClient/Assets/ResIn/UI/Arena/Arena_atlas0!a.png
  19. 二進制
      GameClient/Assets/ResIn/UI/Arena/Arena_atlas0.png
  20. 二進制
      GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_1!a.png
  21. 二進制
      GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_1.png
  22. 二進制
      GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_2!a.png
  23. 二進制
      GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_2.png
  24. 二進制
      GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_3!a.png
  25. 二進制
      GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_3.png
  26. 二進制
      GameClient/Assets/ResIn/UI/Arena/Arena_fui.bytes

+ 17 - 0
FGUIProject/assets/Arena/ArenaLoadingUI.xml

@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="1080,1920">
+  <displayList>
+    <loader id="n0_rv09" name="loaBg" xy="0,-240" size="1080,2400" fill="scale">
+      <relation target="" sidePair="width-width,height-height"/>
+    </loader>
+    <component id="n1_rv09" name="progressBar1" src="rv0955" fileName="components/ProgressBar2.xml" xy="95,1676" group="n4_rv09">
+      <relation target="" sidePair="center-center,bottom-bottom"/>
+      <ProgressBar max="100"/>
+    </component>
+    <graph id="n2_rv09" name="holder" xy="-94,1672" size="10,10" group="n4_rv09"/>
+    <image id="n3_rv09" name="imgAni" src="rv095a" fileName="images/dljm_jdq_3.png" xy="95,1688" pivot="0.55,0.549" anchor="true" group="n4_rv09">
+      <relation target="n1_rv09" sidePair="bottom-bottom"/>
+    </image>
+    <group id="n4_rv09" name="n4" xy="-148,1599" size="1162,161"/>
+  </displayList>
+</component>

+ 13 - 0
FGUIProject/assets/Arena/components/ProgressBar2.xml

@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="919,26" extention="ProgressBar">
+  <displayList>
+    <image id="n2_pac9" name="n2" src="rv0956" fileName="images/dljm_jdq_1.png" xy="0,1" group="n6_pac9"/>
+    <image id="n3_pac9" name="bar" src="rv0957" fileName="images/dljm_jdq_2.png" xy="4,4" group="n6_pac9" fillMethod="hz">
+      <relation target="" sidePair="width-width"/>
+    </image>
+    <image id="n4_pac9" name="n4" src="rv0958" fileName="images/dljm_jdq_5.png" xy="-15,0" group="n6_pac9"/>
+    <image id="n5_pac9" name="n5" src="rv0959" fileName="images/dljm_jdq_4.png" xy="-50,-80" group="n6_pac9"/>
+    <group id="n6_pac9" name="n6" xy="-50,-80" size="985,156"/>
+  </displayList>
+  <ProgressBar/>
+</component>

二進制
FGUIProject/assets/Arena/images/dljm_jdq_1.png


二進制
FGUIProject/assets/Arena/images/dljm_jdq_2.png


二進制
FGUIProject/assets/Arena/images/dljm_jdq_3.png


二進制
FGUIProject/assets/Arena/images/dljm_jdq_4.png


二進制
FGUIProject/assets/Arena/images/dljm_jdq_5.png


+ 7 - 0
FGUIProject/assets/Arena/package.xml

@@ -164,6 +164,13 @@
     <component id="u10a51" name="BtnTab11.xml" path="/components/"/>
     <component id="u10a52" name="BtnTab22.xml" path="/components/"/>
     <image id="u2u353" name="jjsy_jjjj.png" path="/images/"/>
+    <component id="rv0954" name="ArenaLoadingUI.xml" path="/" exported="true"/>
+    <component id="rv0955" name="ProgressBar2.xml" path="/components/"/>
+    <image id="rv0956" name="dljm_jdq_1.png" path="/images/"/>
+    <image id="rv0957" name="dljm_jdq_2.png" path="/images/"/>
+    <image id="rv0958" name="dljm_jdq_5.png" path="/images/"/>
+    <image id="rv0959" name="dljm_jdq_4.png" path="/images/"/>
+    <image id="rv095a" name="dljm_jdq_3.png" path="/images/"/>
   </resources>
   <publish name="" path="..\GameClient\Assets\ResIn\UI\Arena" packageCount="2" genCode="true" extractAlpha="true"/>
 </packageDescription>

+ 10 - 0
FGUIProject/assets/Union/ComConstruct.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="295,42">
+  <displayList>
+    <text id="n3_rv09" name="txtDesc" xy="0,0" size="150,41" fontSize="30" align="center" text="小酒馆等级"/>
+    <text id="n4_rv09" name="txtCurValue" xy="180,0" size="38,41" fontSize="30" align="center" text="70"/>
+    <image id="n5_rv09" name="n5" src="rv0924" fileName="images/bpjly_jtjt_3.png" xy="220,0"/>
+    <text id="n6_rv09" name="txtNeatAdd" xy="257,0" size="38,41" fontSize="30" align="center" text="70"/>
+  </displayList>
+  <customProperty target="txtDesc" propertyId="0"/>
+</component>

+ 9 - 0
FGUIProject/assets/Union/components/ListLogItem.xml

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component size="972,230">
+  <displayList>
+    <component id="n0_rv09" name="comHead" src="psph10" fileName="components/ComHeadWithLv.xml" pkg="eg2y0ldp" xy="0,0"/>
+    <text id="n1_rv09" name="txtName" xy="238,112" size="196,42" fontSize="30" autoClearText="true" text="玩家名字7个字"/>
+    <text id="n3_rv09" name="txtInfo" xy="527,110" pivot="0.5,0" size="120,42" fontSize="30" align="center" autoClearText="true" text="退出联盟"/>
+    <text id="n4_rv09" name="txtTime" xy="699,108" pivot="0.5,0" size="273,42" fontSize="30" align="center" autoClearText="true" text="2023.3.30 23:59:59"/>
+  </displayList>
+</component>

二進制
FGUIProject/assets/Union/images/bpjly_jtjt_3.png


+ 80 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Arena/UI_ArenaLoadingUI.cs

@@ -0,0 +1,80 @@
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
+
+using FairyGUI;
+
+namespace UI.Arena
+{
+    public partial class UI_ArenaLoadingUI
+    {
+        public GComponent target;
+        public GLoader m_loaBg;
+        public GProgressBar m_progressBar1;
+        public GGraph m_holder;
+        public GImage m_imgAni;
+        public const string URL = "ui://4lc5fhlbrv0954";
+        public const string PACKAGE_NAME = "Arena";
+        public const string RES_NAME = "ArenaLoadingUI";
+        private static UI_ArenaLoadingUI _proxy;
+
+        public static UI_ArenaLoadingUI Create(GObject gObject = null)
+        {
+            var ui = new UI_ArenaLoadingUI();
+            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_ArenaLoadingUI Proxy(GObject gObject = null)
+        {
+            if(_proxy == null)
+            {
+                _proxy = new UI_ArenaLoadingUI();
+            }
+            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_loaBg = (GLoader)comp.GetChild("loaBg");
+            m_progressBar1 = (GProgressBar)comp.GetChild("progressBar1");
+            m_holder = (GGraph)comp.GetChild("holder");
+            m_imgAni = (GImage)comp.GetChild("imgAni");
+        }
+        public void Dispose(bool disposeTarget = false)
+        {
+            m_loaBg = null;
+            m_progressBar1 = null;
+            m_holder = null;
+            m_imgAni = null;
+            if(disposeTarget && target != null)
+            {
+                target.RemoveFromParent();
+                target.Dispose();
+            }
+            target = null;
+        }
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/Arena/UI_ArenaLoadingUI.cs.meta

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

+ 63 - 0
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaLoadingView.cs

@@ -0,0 +1,63 @@
+using FairyGUI;
+using UI.Arena;
+using UnityEngine;
+
+namespace GFGGame
+{
+    public class ArenaLoadingView : BaseWindow
+    {
+        private UI_ArenaLoadingUI _ui;
+        private GameObject _effectObj;
+        private GoWrapper _wrapper;
+
+        public override void Dispose()
+        {
+
+            if (_ui != null)
+            {
+                _ui.Dispose();
+                _ui = null;
+            }
+            base.Dispose();
+        }
+
+        protected override void OnInit()
+        {
+            base.OnInit();
+            packageName = UI_ArenaLoadingUI.PACKAGE_NAME;
+            _ui = UI_ArenaLoadingUI.Create();
+            this.viewCom = _ui.target;
+            isfullScreen = true;
+
+            string resPath1 = ResPathUtil.GetViewEffectPath("ui_dljm", "ui_dljm_jdt_tw");
+            SceneController.AddObjectToView(null, null, _ui.m_holder, resPath1, out _effectObj, out _wrapper);
+        }
+
+        protected override void AddEventListener()
+        {
+            base.AddEventListener();
+
+        }
+        protected override void OnShown()
+        {
+            base.OnShown();
+            string res = ArenaOpenCfgArray.Instance.GetCfg(ArenaDataManager.Instance.SeasonId).res;
+            _ui.m_loaBg.url = ResPathUtil.GetBgImgPath(res);
+
+            _ui.m_progressBar1.TweenValue(100, 1).OnComplete(Hide);
+        }
+
+        protected override void OnHide()
+        {
+            base.OnHide();
+            _ui.m_progressBar1.value = 0;
+        }
+
+        protected override void RemoveEventListener()
+        {
+            base.RemoveEventListener();
+
+        }
+
+    }
+}

+ 11 - 0
GameClient/Assets/Game/HotUpdate/Views/Arena/ArenaLoadingView.cs.meta

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

+ 5 - 1
GameClient/Assets/Game/HotUpdate/Views/MainUI/MainUIView.cs

@@ -486,7 +486,11 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("赛季未开始");
                 return;
             }
-            ViewManager.Show<ArenaView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData }, true);
+            if (FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(ArenaView).Name))
+            {
+                ViewManager.Show<ArenaView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData }, true);
+                ViewManager.Show<ArenaLoadingView>();
+            }
         }
         private void OnClickBtnTravel()
         {

二進制
GameClient/Assets/ResIn/Config/excelConfig.sqlite.bytes


二進制
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0!a.png


二進制
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0.png


二進制
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_1!a.png


二進制
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_1.png


二進制
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_2!a.png


二進制
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_2.png


二進制
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_3!a.png


二進制
GameClient/Assets/ResIn/UI/Arena/Arena_atlas0_3.png


二進制
GameClient/Assets/ResIn/UI/Arena/Arena_fui.bytes