|
@@ -0,0 +1,128 @@
|
|
|
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
|
|
+
|
|
|
+using FairyGUI;
|
|
|
+
|
|
|
+namespace UI.League
|
|
|
+{
|
|
|
+ public partial class UI_LeagueConstructUI
|
|
|
+ {
|
|
|
+ public GComponent target;
|
|
|
+ public GLoader m_loaIcon;
|
|
|
+ public GComponent m_comLv;
|
|
|
+ public GTextField m_txtName;
|
|
|
+ public UI_ComConstruct m_comHall0;
|
|
|
+ public UI_ComConstruct m_comHall1;
|
|
|
+ public GLoader m_loaIcon1;
|
|
|
+ public GComponent m_comLv1;
|
|
|
+ public GTextField m_txtName1;
|
|
|
+ public UI_ComConstruct m_comHotel0;
|
|
|
+ public UI_ComConstruct m_comHotel1;
|
|
|
+ public UI_ComConstruct m_comHotel2;
|
|
|
+ public UI_ComConstruct m_comHotel3;
|
|
|
+ public GLoader m_loaIcon2;
|
|
|
+ public GComponent m_comLv2;
|
|
|
+ public GTextField m_txtName2;
|
|
|
+ public GTextField m_txtDesc;
|
|
|
+ public GTextField m_txtCurValue;
|
|
|
+ public GTextField m_txtNeatAdd;
|
|
|
+ public const string URL = "ui://tw70qm9du2u39";
|
|
|
+ public const string PACKAGE_NAME = "League";
|
|
|
+ public const string RES_NAME = "LeagueConstructUI";
|
|
|
+ private static UI_LeagueConstructUI _proxy;
|
|
|
+
|
|
|
+ public static UI_LeagueConstructUI Create(GObject gObject = null)
|
|
|
+ {
|
|
|
+ var ui = new UI_LeagueConstructUI();
|
|
|
+ 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_LeagueConstructUI Proxy(GObject gObject = null)
|
|
|
+ {
|
|
|
+ if(_proxy == null)
|
|
|
+ {
|
|
|
+ _proxy = new UI_LeagueConstructUI();
|
|
|
+ }
|
|
|
+ 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_loaIcon = (GLoader)comp.GetChild("loaIcon");
|
|
|
+ m_comLv = (GComponent)comp.GetChild("comLv");
|
|
|
+ m_txtName = (GTextField)comp.GetChild("txtName");
|
|
|
+ m_comHall0 = (UI_ComConstruct)UI_ComConstruct.Create(comp.GetChild("comHall0"));
|
|
|
+ m_comHall1 = (UI_ComConstruct)UI_ComConstruct.Create(comp.GetChild("comHall1"));
|
|
|
+ m_loaIcon1 = (GLoader)comp.GetChild("loaIcon1");
|
|
|
+ m_comLv1 = (GComponent)comp.GetChild("comLv1");
|
|
|
+ m_txtName1 = (GTextField)comp.GetChild("txtName1");
|
|
|
+ m_comHotel0 = (UI_ComConstruct)UI_ComConstruct.Create(comp.GetChild("comHotel0"));
|
|
|
+ m_comHotel1 = (UI_ComConstruct)UI_ComConstruct.Create(comp.GetChild("comHotel1"));
|
|
|
+ m_comHotel2 = (UI_ComConstruct)UI_ComConstruct.Create(comp.GetChild("comHotel2"));
|
|
|
+ m_comHotel3 = (UI_ComConstruct)UI_ComConstruct.Create(comp.GetChild("comHotel3"));
|
|
|
+ m_loaIcon2 = (GLoader)comp.GetChild("loaIcon2");
|
|
|
+ m_comLv2 = (GComponent)comp.GetChild("comLv2");
|
|
|
+ m_txtName2 = (GTextField)comp.GetChild("txtName2");
|
|
|
+ m_txtDesc = (GTextField)comp.GetChild("txtDesc");
|
|
|
+ m_txtCurValue = (GTextField)comp.GetChild("txtCurValue");
|
|
|
+ m_txtNeatAdd = (GTextField)comp.GetChild("txtNeatAdd");
|
|
|
+ }
|
|
|
+ public void Dispose(bool disposeTarget = false)
|
|
|
+ {
|
|
|
+ m_loaIcon = null;
|
|
|
+ m_comLv = null;
|
|
|
+ m_txtName = null;
|
|
|
+ m_comHall0.Dispose();
|
|
|
+ m_comHall0 = null;
|
|
|
+ m_comHall1.Dispose();
|
|
|
+ m_comHall1 = null;
|
|
|
+ m_loaIcon1 = null;
|
|
|
+ m_comLv1 = null;
|
|
|
+ m_txtName1 = null;
|
|
|
+ m_comHotel0.Dispose();
|
|
|
+ m_comHotel0 = null;
|
|
|
+ m_comHotel1.Dispose();
|
|
|
+ m_comHotel1 = null;
|
|
|
+ m_comHotel2.Dispose();
|
|
|
+ m_comHotel2 = null;
|
|
|
+ m_comHotel3.Dispose();
|
|
|
+ m_comHotel3 = null;
|
|
|
+ m_loaIcon2 = null;
|
|
|
+ m_comLv2 = null;
|
|
|
+ m_txtName2 = null;
|
|
|
+ m_txtDesc = null;
|
|
|
+ m_txtCurValue = null;
|
|
|
+ m_txtNeatAdd = null;
|
|
|
+ if(disposeTarget && target != null)
|
|
|
+ {
|
|
|
+ target.RemoveFromParent();
|
|
|
+ target.Dispose();
|
|
|
+ }
|
|
|
+ target = null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|