UI_ArenaUI.cs 6.7 KB

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