UI_ArenaUI.cs 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.Arena
  4. {
  5. public partial class UI_ArenaUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public Controller m_c2;
  10. public GButton m_btnBack;
  11. public GComponent m_valueBar;
  12. public GComponent m_comTag;
  13. public GLoader m_loaScore0;
  14. public GLoader m_loaScore1;
  15. public GLoader m_loaScore2;
  16. public GGroup m_grpTheme;
  17. public GTextField m_txtTime;
  18. public GButton m_btnRule;
  19. public GGroup m_gtpTop;
  20. public GButton m_btnReSelect;
  21. public GButton m_btnFight;
  22. public GList m_listTarget;
  23. public GLoader m_loaDanIcon;
  24. public GTextField m_txtName;
  25. public GTextField m_txtRank;
  26. public GTextField m_txtDanTitle;
  27. public GTextField m_txtFightScore;
  28. public GButton m_btnFightScoreRule;
  29. public UI_ComFightScore m_comFightScore;
  30. public GTextField m_txtMoneyCount;
  31. public GButton m_btnAddFightCount;
  32. public GTextField m_txtFightCount;
  33. public GTextField m_txtRefreshCount;
  34. public GButton m_btnRefresh;
  35. public UI_ComCostCurrency m_comCostCurrent;
  36. public GButton m_btnQuickFight;
  37. public GButton m_btnShop;
  38. public GButton m_btnDress;
  39. public GButton m_btnReward;
  40. public GButton m_btnRank;
  41. public GButton m_btnRecord;
  42. public GGroup m_grpBottom;
  43. public const string URL = "ui://4lc5fhlbpsph0";
  44. public const string PACKAGE_NAME = "Arena";
  45. public const string RES_NAME = "ArenaUI";
  46. private static UI_ArenaUI _proxy;
  47. public static UI_ArenaUI Create(GObject gObject = null)
  48. {
  49. var ui = new UI_ArenaUI();
  50. if(gObject == null)
  51. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  52. else
  53. ui.target = (GComponent)gObject;
  54. ui.Init(ui.target);
  55. return ui;
  56. }
  57. public static UI_ArenaUI Proxy(GObject gObject = null)
  58. {
  59. if(_proxy == null)
  60. {
  61. _proxy = new UI_ArenaUI();
  62. }
  63. var ui = _proxy;
  64. if(gObject == null)
  65. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  66. else
  67. ui.target = (GComponent)gObject;
  68. ui.Init(ui.target);
  69. return ui;
  70. }
  71. public static void ProxyEnd()
  72. {
  73. if (_proxy != null)
  74. {
  75. _proxy.Dispose();
  76. }
  77. }
  78. public static void ClearProxy()
  79. {
  80. ProxyEnd();
  81. _proxy = null;
  82. }
  83. private void Init(GComponent comp)
  84. {
  85. m_c1 = comp.GetController("c1");
  86. m_c2 = comp.GetController("c2");
  87. m_btnBack = (GButton)comp.GetChild("btnBack");
  88. m_valueBar = (GComponent)comp.GetChild("valueBar");
  89. m_comTag = (GComponent)comp.GetChild("comTag");
  90. m_loaScore0 = (GLoader)comp.GetChild("loaScore0");
  91. m_loaScore1 = (GLoader)comp.GetChild("loaScore1");
  92. m_loaScore2 = (GLoader)comp.GetChild("loaScore2");
  93. m_grpTheme = (GGroup)comp.GetChild("grpTheme");
  94. m_txtTime = (GTextField)comp.GetChild("txtTime");
  95. m_btnRule = (GButton)comp.GetChild("btnRule");
  96. m_gtpTop = (GGroup)comp.GetChild("gtpTop");
  97. m_btnReSelect = (GButton)comp.GetChild("btnReSelect");
  98. m_btnFight = (GButton)comp.GetChild("btnFight");
  99. m_listTarget = (GList)comp.GetChild("listTarget");
  100. m_loaDanIcon = (GLoader)comp.GetChild("loaDanIcon");
  101. m_txtName = (GTextField)comp.GetChild("txtName");
  102. m_txtRank = (GTextField)comp.GetChild("txtRank");
  103. m_txtDanTitle = (GTextField)comp.GetChild("txtDanTitle");
  104. m_txtFightScore = (GTextField)comp.GetChild("txtFightScore");
  105. m_btnFightScoreRule = (GButton)comp.GetChild("btnFightScoreRule");
  106. m_comFightScore = (UI_ComFightScore)UI_ComFightScore.Create(comp.GetChild("comFightScore"));
  107. m_txtMoneyCount = (GTextField)comp.GetChild("txtMoneyCount");
  108. m_btnAddFightCount = (GButton)comp.GetChild("btnAddFightCount");
  109. m_txtFightCount = (GTextField)comp.GetChild("txtFightCount");
  110. m_txtRefreshCount = (GTextField)comp.GetChild("txtRefreshCount");
  111. m_btnRefresh = (GButton)comp.GetChild("btnRefresh");
  112. m_comCostCurrent = (UI_ComCostCurrency)UI_ComCostCurrency.Create(comp.GetChild("comCostCurrent"));
  113. m_btnQuickFight = (GButton)comp.GetChild("btnQuickFight");
  114. m_btnShop = (GButton)comp.GetChild("btnShop");
  115. m_btnDress = (GButton)comp.GetChild("btnDress");
  116. m_btnReward = (GButton)comp.GetChild("btnReward");
  117. m_btnRank = (GButton)comp.GetChild("btnRank");
  118. m_btnRecord = (GButton)comp.GetChild("btnRecord");
  119. m_grpBottom = (GGroup)comp.GetChild("grpBottom");
  120. }
  121. public void Dispose(bool disposeTarget = false)
  122. {
  123. m_c1 = null;
  124. m_c2 = null;
  125. m_btnBack = null;
  126. m_valueBar = null;
  127. m_comTag = null;
  128. m_loaScore0 = null;
  129. m_loaScore1 = null;
  130. m_loaScore2 = null;
  131. m_grpTheme = null;
  132. m_txtTime = null;
  133. m_btnRule = null;
  134. m_gtpTop = null;
  135. m_btnReSelect = null;
  136. m_btnFight = null;
  137. m_listTarget = null;
  138. m_loaDanIcon = null;
  139. m_txtName = null;
  140. m_txtRank = null;
  141. m_txtDanTitle = null;
  142. m_txtFightScore = null;
  143. m_btnFightScoreRule = null;
  144. m_comFightScore.Dispose();
  145. m_comFightScore = null;
  146. m_txtMoneyCount = null;
  147. m_btnAddFightCount = null;
  148. m_txtFightCount = null;
  149. m_txtRefreshCount = null;
  150. m_btnRefresh = null;
  151. m_comCostCurrent.Dispose();
  152. m_comCostCurrent = null;
  153. m_btnQuickFight = null;
  154. m_btnShop = null;
  155. m_btnDress = null;
  156. m_btnReward = null;
  157. m_btnRank = null;
  158. m_btnRecord = null;
  159. m_grpBottom = null;
  160. if(disposeTarget && target != null)
  161. {
  162. target.RemoveFromParent();
  163. target.Dispose();
  164. }
  165. target = null;
  166. }
  167. }
  168. }