| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/using FairyGUI;namespace UI.Arena{    public partial class UI_ArenaUI    {        public GComponent target;        public Controller m_c1;        public Controller m_c2;        public GButton m_btnBack;        public GComponent m_valueBar;        public UI_ComTheme m_comTheme;        public GTextField m_txtTime;        public GButton m_btnRule;        public GGroup m_gtpTop;        public GButton m_btnReSelect;        public GButton m_btnFight;        public GList m_listTarget;        public GGraph m_grhCloseComFightScore;        public GLoader m_loaDanIcon;        public GTextField m_txtName;        public GTextField m_txtDanTitle;        public GTextField m_txtRank;        public GTextField m_txtFightScore;        public GButton m_btnFightScoreRule;        public UI_ComFightScore m_comFightScore;        public GTextField m_txtMoneyCount;        public GButton m_btnAddFightCount;        public GTextField m_txtFightCount;        public GTextField m_txtRefreshCount;        public GButton m_btnRefresh;        public UI_ComCostCurrency m_comCostCurrent;        public GButton m_btnQuickFight;        public GButton m_btnShop;        public GButton m_btnDress;        public GButton m_btnReward;        public GButton m_btnRank;        public GButton m_btnRecord;        public GGroup m_grpBottom;        public const string URL = "ui://4lc5fhlbpsph0";        public const string PACKAGE_NAME = "Arena";        public const string RES_NAME = "ArenaUI";        private static UI_ArenaUI _proxy;        public static UI_ArenaUI Create(GObject gObject = null)        {            var ui = new UI_ArenaUI();            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_ArenaUI Proxy(GObject gObject = null)        {            if(_proxy == null)            {                _proxy = new UI_ArenaUI();            }            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_c1 = comp.GetController("c1");            m_c2 = comp.GetController("c2");            m_btnBack = (GButton)comp.GetChild("btnBack");            m_valueBar = (GComponent)comp.GetChild("valueBar");            m_comTheme = (UI_ComTheme)UI_ComTheme.Create(comp.GetChild("comTheme"));            m_txtTime = (GTextField)comp.GetChild("txtTime");            m_btnRule = (GButton)comp.GetChild("btnRule");            m_gtpTop = (GGroup)comp.GetChild("gtpTop");            m_btnReSelect = (GButton)comp.GetChild("btnReSelect");            m_btnFight = (GButton)comp.GetChild("btnFight");            m_listTarget = (GList)comp.GetChild("listTarget");            m_grhCloseComFightScore = (GGraph)comp.GetChild("grhCloseComFightScore");            m_loaDanIcon = (GLoader)comp.GetChild("loaDanIcon");            m_txtName = (GTextField)comp.GetChild("txtName");            m_txtDanTitle = (GTextField)comp.GetChild("txtDanTitle");            m_txtRank = (GTextField)comp.GetChild("txtRank");            m_txtFightScore = (GTextField)comp.GetChild("txtFightScore");            m_btnFightScoreRule = (GButton)comp.GetChild("btnFightScoreRule");            m_comFightScore = (UI_ComFightScore)UI_ComFightScore.Create(comp.GetChild("comFightScore"));            m_txtMoneyCount = (GTextField)comp.GetChild("txtMoneyCount");            m_btnAddFightCount = (GButton)comp.GetChild("btnAddFightCount");            m_txtFightCount = (GTextField)comp.GetChild("txtFightCount");            m_txtRefreshCount = (GTextField)comp.GetChild("txtRefreshCount");            m_btnRefresh = (GButton)comp.GetChild("btnRefresh");            m_comCostCurrent = (UI_ComCostCurrency)UI_ComCostCurrency.Create(comp.GetChild("comCostCurrent"));            m_btnQuickFight = (GButton)comp.GetChild("btnQuickFight");            m_btnShop = (GButton)comp.GetChild("btnShop");            m_btnDress = (GButton)comp.GetChild("btnDress");            m_btnReward = (GButton)comp.GetChild("btnReward");            m_btnRank = (GButton)comp.GetChild("btnRank");            m_btnRecord = (GButton)comp.GetChild("btnRecord");            m_grpBottom = (GGroup)comp.GetChild("grpBottom");        }        public void Dispose(bool disposeTarget = false)        {            m_c1 = null;            m_c2 = null;            m_btnBack = null;            m_valueBar = null;            m_comTheme.Dispose();            m_comTheme = null;            m_txtTime = null;            m_btnRule = null;            m_gtpTop = null;            m_btnReSelect = null;            m_btnFight = null;            m_listTarget = null;            m_grhCloseComFightScore = null;            m_loaDanIcon = null;            m_txtName = null;            m_txtDanTitle = null;            m_txtRank = null;            m_txtFightScore = null;            m_btnFightScoreRule = null;            m_comFightScore.Dispose();            m_comFightScore = null;            m_txtMoneyCount = null;            m_btnAddFightCount = null;            m_txtFightCount = null;            m_txtRefreshCount = null;            m_btnRefresh = null;            m_comCostCurrent.Dispose();            m_comCostCurrent = null;            m_btnQuickFight = null;            m_btnShop = null;            m_btnDress = null;            m_btnReward = null;            m_btnRank = null;            m_btnRecord = null;            m_grpBottom = null;            if(disposeTarget && target != null)            {                target.RemoveFromParent();                target.Dispose();            }            target = null;        }    }}
 |